Home
last modified time | relevance | path

Searched refs:nlh (Results 1 – 10 of 10) sorted by relevance

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_oemdata.c190 struct nlmsghdr *nlh; in send_oem_reg_rsp_nlink_msg() local
210 nlh = (struct nlmsghdr *)skb->data; in send_oem_reg_rsp_nlink_msg()
211 nlh->nlmsg_pid = 0; /* from kernel */ in send_oem_reg_rsp_nlink_msg()
212 nlh->nlmsg_flags = 0; in send_oem_reg_rsp_nlink_msg()
213 nlh->nlmsg_seq = 0; in send_oem_reg_rsp_nlink_msg()
214 nlh->nlmsg_type = WLAN_NL_MSG_OEM; in send_oem_reg_rsp_nlink_msg()
215 ani_hdr = NLMSG_DATA(nlh); in send_oem_reg_rsp_nlink_msg()
245 nlh->nlmsg_len = NLMSG_LENGTH((sizeof(tAniMsgHdr) + ani_hdr->length)); in send_oem_reg_rsp_nlink_msg()
267 struct nlmsghdr *nlh; in send_oem_err_rsp_nlink_msg() local
275 nlh = (struct nlmsghdr *)skb->data; in send_oem_err_rsp_nlink_msg()
[all …]
Dwlan_hdd_spectralscan.c497 struct nlmsghdr *nlh; in send_spectral_scan_reg_rsp_msg() local
508 nlh = (struct nlmsghdr *)skb->data; in send_spectral_scan_reg_rsp_msg()
509 nlh->nlmsg_pid = 0; in send_spectral_scan_reg_rsp_msg()
510 nlh->nlmsg_flags = 0; in send_spectral_scan_reg_rsp_msg()
511 nlh->nlmsg_seq = 0; in send_spectral_scan_reg_rsp_msg()
512 nlh->nlmsg_type = WLAN_NL_MSG_SPECTRAL_SCAN; in send_spectral_scan_reg_rsp_msg()
514 rsp_msg = NLMSG_DATA(nlh); in send_spectral_scan_reg_rsp_msg()
520 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct spectral_scan_msg_v)); in send_spectral_scan_reg_rsp_msg()
Dwlan_hdd_main.c18160 struct nlmsghdr *nlh; in wlan_hdd_send_svc_nlink_msg() local
18175 nlh = (struct nlmsghdr *)skb->data; in wlan_hdd_send_svc_nlink_msg()
18176 nlh->nlmsg_pid = 0; /* from kernel */ in wlan_hdd_send_svc_nlink_msg()
18177 nlh->nlmsg_flags = 0; in wlan_hdd_send_svc_nlink_msg()
18178 nlh->nlmsg_seq = 0; in wlan_hdd_send_svc_nlink_msg()
18179 nlh->nlmsg_type = WLAN_NL_MSG_SVC; in wlan_hdd_send_svc_nlink_msg()
18181 ani_hdr = NLMSG_DATA(nlh); in wlan_hdd_send_svc_nlink_msg()
18191 nlh->nlmsg_len = NLMSG_LENGTH((sizeof(tAniMsgHdr))); in wlan_hdd_send_svc_nlink_msg()
18204 nlh->nlmsg_len = NLMSG_LENGTH((sizeof(tAniMsgHdr) + len)); in wlan_hdd_send_svc_nlink_msg()
18236 nlh->nlmsg_len += tlv_len; in wlan_hdd_send_svc_nlink_msg()
Dwlan_hdd_stats.c11720 struct nlmsghdr *nlh; in hdd_cstats_send_data_to_userspace() local
11742 nlh = nlmsg_put(skb, 0, nlmsg_seq++, in hdd_cstats_send_data_to_userspace()
11745 if (!nlh) { in hdd_cstats_send_data_to_userspace()
11751 wnl = (tAniNlHdr *)nlh; in hdd_cstats_send_data_to_userspace()
11754 memcpy(nlmsg_data(nlh) + sizeof(wnl->radio), buff, len); in hdd_cstats_send_data_to_userspace()
/wlan-driver/qca-wifi-host-cmn/utils/nlink/src/
Dwlan_nlink_srv.c471 struct nlmsghdr *nlh = (struct nlmsghdr *)skb->data; in nl_srv_bcast() local
472 void *msg = NLMSG_DATA(nlh); in nl_srv_bcast()
473 uint32_t msg_len = nlmsg_len(nlh); in nl_srv_bcast()
507 struct nlmsghdr *nlh = (struct nlmsghdr *)skb->data; in nl_srv_ucast() local
508 void *msg = NLMSG_DATA(nlh); in nl_srv_ucast()
509 uint32_t msg_len = nlmsg_len(nlh); in nl_srv_ucast()
535 static void nl_srv_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh);
691 struct nlmsghdr *nlh; in nl_srv_rcv_skb() local
696 nlh = (struct nlmsghdr *)skb->data; in nl_srv_rcv_skb()
698 if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len) { in nl_srv_rcv_skb()
[all …]
/wlan-driver/qca-wifi-host-cmn/os_if/linux/wifi_pos/src/
Dos_if_wifi_pos.c592 struct nlmsghdr *nlh; in os_if_wifi_pos_send_rsp() local
610 nlh = (struct nlmsghdr *)skb->data; in os_if_wifi_pos_send_rsp()
611 nlh->nlmsg_pid = 0; /* from kernel */ in os_if_wifi_pos_send_rsp()
612 nlh->nlmsg_flags = 0; in os_if_wifi_pos_send_rsp()
613 nlh->nlmsg_seq = 0; in os_if_wifi_pos_send_rsp()
614 nlh->nlmsg_type = WLAN_NL_MSG_OEM; in os_if_wifi_pos_send_rsp()
615 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(tAniMsgHdr) + buf_len); in os_if_wifi_pos_send_rsp()
617 aniHdr = NLMSG_DATA(nlh); in os_if_wifi_pos_send_rsp()
792 struct nlmsghdr *nlh; in wifi_pos_parse_req() local
803 nlh = (struct nlmsghdr *)skb->data; in wifi_pos_parse_req()
[all …]
/wlan-driver/qca-wifi-host-cmn/utils/ptt/src/
Dwlan_ptt_sock_svc.c126 struct nlmsghdr *nlh; in ptt_sock_send_msg_to_app() local
144 nlh = in ptt_sock_send_msg_to_app()
147 if (!nlh) { in ptt_sock_send_msg_to_app()
154 wnl = (tAniNlHdr *) nlh; in ptt_sock_send_msg_to_app()
158 memcpy(nlmsg_data(nlh) + sizeof(wnl->radio), wmsg, wmsg_length); in ptt_sock_send_msg_to_app()
/wlan-driver/qca-wifi-host-cmn/utils/fwlog/
Ddbglog_host.c1641 struct nlmsghdr *nlh; in send_fw_diag_nl_data() local
1665 nlh = nlmsg_put(skb_out, 0, 0, WLAN_NL_MSG_CNSS_DIAG, msg_len, in send_fw_diag_nl_data()
1667 if (!nlh) { in send_fw_diag_nl_data()
1671 wnl = (tAniNlHdr *)nlh; in send_fw_diag_nl_data()
1675 memcpy(nlmsg_data(nlh) + sizeof(radio), buffer, len); in send_fw_diag_nl_data()
1737 struct nlmsghdr *nlh; in send_diag_netlink_data() local
1764 nlh = nlmsg_put(skb_out, 0, 0, WLAN_NL_MSG_CNSS_DIAG, in send_diag_netlink_data()
1766 if (!nlh) { in send_diag_netlink_data()
1770 wnl = (tAniNlHdr *)nlh; in send_diag_netlink_data()
1773 slot = (struct dbglog_slot *) (nlmsg_data(nlh) + sizeof(radio)); in send_diag_netlink_data()
[all …]
/wlan-driver/qca-wifi-host-cmn/utils/logging/src/
Dwlan_logging_sock_svc.c563 msg_header.nlh.nlmsg_type = ANI_NL_MSG_PUMAC; in pkt_stats_fill_headers()
564 msg_header.nlh.nlmsg_len = nl_payload_len; in pkt_stats_fill_headers()
565 msg_header.nlh.nlmsg_flags = NLM_F_REQUEST; in pkt_stats_fill_headers()
566 msg_header.nlh.nlmsg_pid = 0; in pkt_stats_fill_headers()
567 msg_header.nlh.nlmsg_seq = nlmsg_seq++; in pkt_stats_fill_headers()
689 struct nlmsghdr *nlh; in send_filled_buffers_to_user() local
721 nlh = nlmsg_put(skb, 0, nlmsg_seq++, in send_filled_buffers_to_user()
723 if (!nlh) { in send_filled_buffers_to_user()
737 wnl = (tAniNlHdr *) nlh; in send_filled_buffers_to_user()
741 memcpy(nlmsg_data(nlh) + sizeof(wnl->radio), plog_msg->logbuf, in send_filled_buffers_to_user()
/wlan-driver/qca-wifi-host-cmn/utils/nlink/inc/
Dwlan_nlink_common.h115 struct nlmsghdr nlh; /* Netlink Header */ member