/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | i_qdf_nbuf_m.h | 370 #define QDF_NBUF_CB_PADDR(skb) \ argument 371 (((struct qdf_nbuf_cb *)((skb)->cb))->paddr.dma_addr) 373 #define QDF_NBUF_CB_RX_LRO_ELIGIBLE(skb) \ argument 374 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.lro_eligible) 375 #define QDF_NBUF_CB_RX_TCP_PROTO(skb) \ argument 376 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.tcp_proto) 377 #define QDF_NBUF_CB_RX_TCP_PURE_ACK(skb) \ argument 378 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.tcp_pure_ack) 379 #define QDF_NBUF_CB_RX_IPV6_PROTO(skb) \ argument 380 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.ipv6_proto) [all …]
|
D | i_qdf_nbuf.h | 53 #define netif_rx_ni(skb) netif_rx(skb) argument 127 #define __qdf_nbuf_mapped_paddr_get(skb) QDF_NBUF_CB_PADDR(skb) argument 129 #define __qdf_nbuf_mapped_paddr_set(skb, paddr) \ argument 130 (QDF_NBUF_CB_PADDR(skb) = paddr) 133 skb, frag_len, frag_vaddr, frag_paddr) \ argument 135 QDF_NBUF_CB_TX_NUM_EXTRA_FRAGS(skb) = 1; \ 136 QDF_NBUF_CB_TX_EXTRA_FRAG_VADDR(skb) = frag_vaddr; \ 137 QDF_NBUF_CB_TX_EXTRA_FRAG_PADDR(skb) = frag_paddr; \ 138 QDF_NBUF_CB_TX_EXTRA_FRAG_LEN(skb) = frag_len; \ 141 #define __qdf_nbuf_get_frag_vaddr(skb, frag_num) \ argument [all …]
|
D | i_qdf_nbuf_w.h | 347 #define QDF_NBUF_CB_PADDR(skb) \ argument 348 (((struct qdf_nbuf_cb *)((skb)->cb))->paddr.dma_addr) 350 #define QDF_NBUF_CB_RX_CTX_ID(skb) \ argument 351 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.rx_ctx_id) 352 #define QDF_NBUF_CB_RX_NUM_ELEMENTS_IN_LIST(skb) \ argument 353 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.num_elements_in_list) 355 #define QDF_NBUF_CB_RX_PACKET_STATE(skb)\ argument 356 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.trace.packet_state) 357 #define QDF_NBUF_CB_RX_DP_TRACE(skb) \ argument 358 (((struct qdf_nbuf_cb *)((skb)->cb))->u.rx.trace.dp_trace) [all …]
|
D | qdf_tracepoint_defs.h | 55 TP_PROTO(struct sk_buff *skb, uint32_t tcp_seq_num, 58 TP_ARGS(skb, tcp_seq_num, tcp_ack_num, srcport, 61 __field(void *, skb) 69 __entry->skb = skb; 77 __entry->skb, __entry->tcp_seq_num, 83 TP_PROTO(struct sk_buff *skb, uint32_t tcp_seq_num, 86 TP_ARGS(skb, tcp_seq_num, tcp_ack_num, srcport, dstport, tdelta) 90 TP_PROTO(struct sk_buff *skb, uint32_t tcp_seq_num, 93 TP_ARGS(skb, tcp_seq_num, tcp_ack_num, srcport, dstport, tdelta) 97 TP_PROTO(struct sk_buff *skb, uint16_t ip_id, [all …]
|
D | i_qdf_tracepoint.h | 52 void __qdf_trace_dp_rx_tcp_pkt(struct sk_buff *skb, uint32_t tcp_seq_num, in __qdf_trace_dp_rx_tcp_pkt() argument 56 trace_dp_rx_tcp_pkt(skb, tcp_seq_num, tcp_ack_num, srcport, dstport, in __qdf_trace_dp_rx_tcp_pkt() 84 void __qdf_trace_dp_tx_comp_tcp_pkt(struct sk_buff *skb, uint32_t tcp_seq_num, in __qdf_trace_dp_tx_comp_tcp_pkt() argument 88 trace_dp_tx_comp_tcp_pkt(skb, tcp_seq_num, tcp_ack_num, srcport, in __qdf_trace_dp_tx_comp_tcp_pkt() 115 void __qdf_trace_dp_rx_udp_pkt(struct sk_buff *skb, uint16_t ip_id, in __qdf_trace_dp_rx_udp_pkt() argument 119 trace_dp_rx_udp_pkt(skb, ip_id, srcport, dstport, latency); in __qdf_trace_dp_rx_udp_pkt() 145 void __qdf_trace_dp_tx_comp_udp_pkt(struct sk_buff *skb, uint16_t ip_id, in __qdf_trace_dp_tx_comp_udp_pkt() argument 149 trace_dp_tx_comp_udp_pkt(skb, ip_id, srcport, dstport, latency); in __qdf_trace_dp_tx_comp_udp_pkt() 175 void __qdf_trace_dp_rx_generic_ip_pkt(struct sk_buff *skb, uint8_t ip_proto, in __qdf_trace_dp_rx_generic_ip_pkt() argument 179 trace_dp_rx_generic_ip_pkt(skb, ip_proto, ip_id, in __qdf_trace_dp_rx_generic_ip_pkt() [all …]
|
D | qdf_nbuf.c | 484 qdf_nbuf_set_defaults(struct sk_buff *skb, int align, int reserve) in qdf_nbuf_set_defaults() argument 488 memset(skb->cb, 0x0, sizeof(skb->cb)); in qdf_nbuf_set_defaults() 489 skb->dev = NULL; in qdf_nbuf_set_defaults() 495 QDF_NBUF_CB_TX_EXTRA_FRAG_WORDSTR_EFRAG(skb) = 1; in qdf_nbuf_set_defaults() 496 QDF_NBUF_CB_TX_EXTRA_FRAG_WORDSTR_NBUF(skb) = 1; in qdf_nbuf_set_defaults() 504 offset = ((unsigned long)skb->data) % align; in qdf_nbuf_set_defaults() 506 skb_reserve(skb, align - offset); in qdf_nbuf_set_defaults() 513 skb_reserve(skb, reserve); in qdf_nbuf_set_defaults() 514 qdf_nbuf_count_inc(skb); in qdf_nbuf_set_defaults() 523 struct sk_buff *skb; in __qdf_nbuf_alloc() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/ |
D | wlan_cfg80211.h | 341 struct sk_buff *skb; in backported_cfg80211_vendor_event_alloc() local 343 skb = cfg80211_vendor_event_alloc(wiphy, approxlen, event_idx, gfp); in backported_cfg80211_vendor_event_alloc() 345 if (skb && wdev) { in backported_cfg80211_vendor_event_alloc() 349 nla_nest_cancel(skb, ((void **)skb->cb)[2]); in backported_cfg80211_vendor_event_alloc() 350 if (nla_put_u32(skb, NL80211_ATTR_IFINDEX, ifindex)) in backported_cfg80211_vendor_event_alloc() 353 attr = nla_nest_start(skb, NL80211_ATTR_VENDOR_DATA); in backported_cfg80211_vendor_event_alloc() 354 ((void **)skb->cb)[2] = attr; in backported_cfg80211_vendor_event_alloc() 357 return skb; in backported_cfg80211_vendor_event_alloc() 360 kfree_skb(skb); in backported_cfg80211_vendor_event_alloc() 400 #define wlan_cfg80211_vendor_free_skb(skb) \ argument [all …]
|
/wlan-driver/qcacld-3.0/os_if/dp/src/ |
D | os_if_dp_txrx.c | 50 void osif_dp_classify_pkt(struct sk_buff *skb) in osif_dp_classify_pkt() argument 52 struct ethhdr *eh = (struct ethhdr *)skb->data; in osif_dp_classify_pkt() 54 qdf_mem_zero(skb->cb, sizeof(skb->cb)); in osif_dp_classify_pkt() 58 QDF_NBUF_CB_GET_IS_BCAST(skb) = true; in osif_dp_classify_pkt() 60 QDF_NBUF_CB_GET_IS_MCAST(skb) = true; in osif_dp_classify_pkt() 62 if (qdf_nbuf_is_ipv4_arp_pkt(skb)) in osif_dp_classify_pkt() 63 QDF_NBUF_CB_GET_PACKET_TYPE(skb) = in osif_dp_classify_pkt() 65 else if (qdf_nbuf_is_ipv4_dhcp_pkt(skb)) in osif_dp_classify_pkt() 66 QDF_NBUF_CB_GET_PACKET_TYPE(skb) = in osif_dp_classify_pkt() 68 else if (qdf_nbuf_is_ipv4_eapol_pkt(skb)) in osif_dp_classify_pkt() [all …]
|
D | os_if_dp.c | 741 struct sk_buff *skb) in osif_dp_populate_dns_stats_info() argument 759 if (nla_put_u16(skb, CHECK_STATS_PKT_TYPE, in osif_dp_populate_dns_stats_info() 761 nla_put(skb, CHECK_STATS_PKT_DNS_DOMAIN_NAME, in osif_dp_populate_dns_stats_info() 764 nla_put_u16(skb, CHECK_STATS_PKT_REQ_COUNT_FROM_NETDEV, in osif_dp_populate_dns_stats_info() 766 nla_put_u16(skb, CHECK_STATS_PKT_REQ_COUNT_TO_LOWER_MAC, in osif_dp_populate_dns_stats_info() 768 nla_put_u16(skb, CHECK_STATS_PKT_REQ_RX_COUNT_BY_LOWER_MAC, in osif_dp_populate_dns_stats_info() 770 nla_put_u16(skb, CHECK_STATS_PKT_REQ_COUNT_TX_SUCCESS, in osif_dp_populate_dns_stats_info() 772 nla_put_u16(skb, CHECK_STATS_PKT_RSP_RX_COUNT_BY_UPPER_MAC, in osif_dp_populate_dns_stats_info() 774 nla_put_u16(skb, CHECK_STATS_PKT_RSP_COUNT_TO_NETDEV, in osif_dp_populate_dns_stats_info() 776 nla_put_u16(skb, CHECK_STATS_PKT_RSP_COUNT_OUT_OF_ORDER_DROP, in osif_dp_populate_dns_stats_info() [all …]
|
D | os_if_dp_lro.c | 36 static qdf_lro_ctx_t osif_dp_get_lro_ctx(struct sk_buff *skb) in osif_dp_get_lro_ctx() argument 38 return (qdf_lro_ctx_t)QDF_NBUF_CB_RX_LRO_CTX(skb); in osif_dp_get_lro_ctx() 41 static qdf_lro_ctx_t osif_dp_get_lro_ctx(struct sk_buff *skb) in osif_dp_get_lro_ctx() argument 48 return hif_get_lro_info(QDF_NBUF_CB_RX_CTX_ID(skb), hif_hdl); in osif_dp_get_lro_ctx() 68 struct sk_buff * skb = (struct sk_buff *)nbuf; in osif_dp_lro_rx() local 73 ctx = osif_dp_get_lro_ctx(skb); in osif_dp_lro_rx() 79 info.iph = skb->data; in osif_dp_lro_rx() 80 info.tcph = skb->data + QDF_NBUF_CB_RX_TCP_OFFSET(skb); in osif_dp_lro_rx() 82 if (qdf_lro_get_info(ctx, skb, &info, (void **)&lro_desc)) { in osif_dp_lro_rx() 89 dp_lro_info.tcp_ack_num = QDF_NBUF_CB_RX_TCP_ACK_NUM(skb); in osif_dp_lro_rx() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_station_info.c | 205 struct sk_buff *skb = NULL; in hdd_get_station_assoc_fail() local 213 skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(hdd_ctx->wiphy, in hdd_get_station_assoc_fail() 215 if (!skb) { in hdd_get_station_assoc_fail() 221 if (nla_put_u32(skb, INFO_ASSOC_FAIL_REASON, in hdd_get_station_assoc_fail() 231 if (nla_put_u32(skb, NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY, in hdd_get_station_assoc_fail() 237 return wlan_cfg80211_vendor_cmd_reply(skb); in hdd_get_station_assoc_fail() 239 wlan_cfg80211_vendor_free_skb(skb); in hdd_get_station_assoc_fail() 414 static int32_t hdd_add_tx_bitrate(struct sk_buff *skb, in hdd_add_tx_bitrate() argument 421 nla_attr = nla_nest_start(skb, idx); in hdd_add_tx_bitrate() 440 if (nla_put_u32(skb, NL80211_RATE_INFO_BITRATE32, bitrate)) { in hdd_add_tx_bitrate() [all …]
|
D | wlan_hdd_he.c | 296 struct sk_buff *skb, in hdd_sr_pack_suspend_resume_event() argument 315 if (nla_put_u8(skb, QCA_WLAN_VENDOR_ATTR_SR_OPERATION, sr_nl_oper)) { in hdd_sr_pack_suspend_resume_event() 320 attr = nla_nest_start(skb, QCA_WLAN_VENDOR_ATTR_SR_PARAMS); in hdd_sr_pack_suspend_resume_event() 326 if (nla_put_u32(skb, QCA_WLAN_VENDOR_ATTR_SR_PARAMS_REASON_CODE, in hdd_sr_pack_suspend_resume_event() 334 skb, in hdd_sr_pack_suspend_resume_event() 341 skb, in hdd_sr_pack_suspend_resume_event() 348 skb, in hdd_sr_pack_suspend_resume_event() 356 nla_nest_end(skb, attr); in hdd_sr_pack_suspend_resume_event() 369 struct sk_buff *skb; in hdd_sr_osif_events() local 434 skb = wlan_cfg80211_vendor_event_alloc(wiphy, wdev, in hdd_sr_osif_events() [all …]
|
D | wlan_hdd_ext_scan.c | 256 static int hdd_extscan_nl_fill_bss(struct sk_buff *skb, tSirWifiScanResult *ap, in hdd_extscan_nl_fill_bss() argument 261 nla_ap = nla_nest_start(skb, idx); in hdd_extscan_nl_fill_bss() 265 if (hdd_wlan_nla_put_u64(skb, PARAM_TIME_STAMP, ap->ts) || in hdd_extscan_nl_fill_bss() 266 nla_put(skb, PARAM_SSID, sizeof(ap->ssid), ap->ssid) || in hdd_extscan_nl_fill_bss() 267 nla_put(skb, PARAM_BSSID, sizeof(ap->bssid), ap->bssid.bytes) || in hdd_extscan_nl_fill_bss() 268 nla_put_u32(skb, PARAM_CHANNEL, ap->channel) || in hdd_extscan_nl_fill_bss() 269 nla_put_s32(skb, PARAM_RSSI, ap->rssi) || in hdd_extscan_nl_fill_bss() 270 nla_put_u32(skb, PARAM_RTT, ap->rtt) || in hdd_extscan_nl_fill_bss() 271 nla_put_u32(skb, PARAM_RTT_SD, ap->rtt_sd) || in hdd_extscan_nl_fill_bss() 272 nla_put_u16(skb, PARAM_BEACON_PERIOD, ap->beaconPeriod) || in hdd_extscan_nl_fill_bss() [all …]
|
D | wlan_hdd_oemdata.c | 189 struct sk_buff *skb; in send_oem_reg_rsp_nlink_msg() local 206 skb = alloc_skb(NLMSG_SPACE(WLAN_NL_MAX_PAYLOAD), GFP_KERNEL); in send_oem_reg_rsp_nlink_msg() 207 if (!skb) in send_oem_reg_rsp_nlink_msg() 210 nlh = (struct nlmsghdr *)skb->data; in send_oem_reg_rsp_nlink_msg() 247 skb_put(skb, NLMSG_SPACE((sizeof(tAniMsgHdr) + ani_hdr->length))); in send_oem_reg_rsp_nlink_msg() 252 (void)nl_srv_ucast_oem(skb, p_hdd_ctx->oem_pid, MSG_DONTWAIT); in send_oem_reg_rsp_nlink_msg() 266 struct sk_buff *skb; in send_oem_err_rsp_nlink_msg() local 271 skb = alloc_skb(NLMSG_SPACE(WLAN_NL_MAX_PAYLOAD), GFP_KERNEL); in send_oem_err_rsp_nlink_msg() 272 if (!skb) in send_oem_err_rsp_nlink_msg() 275 nlh = (struct nlmsghdr *)skb->data; in send_oem_err_rsp_nlink_msg() [all …]
|
D | wlan_hdd_green_ap.c | 224 struct sk_buff *skb; in __wlan_hdd_enter_sap_low_pwr_mode() local 266 skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, len); in __wlan_hdd_enter_sap_low_pwr_mode() 267 if (!skb) { in __wlan_hdd_enter_sap_low_pwr_mode() 272 if (wlan_cfg80211_nla_put_u64(skb, QCA_WLAN_VENDOR_ATTR_DOZED_AP_COOKIE, in __wlan_hdd_enter_sap_low_pwr_mode() 278 cfg80211_vendor_cmd_reply(skb); in __wlan_hdd_enter_sap_low_pwr_mode() 284 wlan_cfg80211_vendor_free_skb(skb); in __wlan_hdd_enter_sap_low_pwr_mode() 317 struct sk_buff *skb; in wlan_hdd_send_green_ap_ll_ps_event() local 335 skb = wlan_cfg80211_vendor_event_alloc(osif_priv->wdev->wiphy, in wlan_hdd_send_green_ap_ll_ps_event() 338 if (!skb) { in wlan_hdd_send_green_ap_ll_ps_event() 343 if (wlan_cfg80211_nla_put_u64(skb, QCA_WLAN_VENDOR_ATTR_DOZED_AP_COOKIE, in wlan_hdd_send_green_ap_ll_ps_event() [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/nlink/src/ |
D | wlan_nlink_srv.c | 116 int nl_srv_ucast(struct sk_buff *skb, int dst_pid, int flag) in nl_srv_ucast() argument 122 NETLINK_CB(skb).pid = 0; in nl_srv_ucast() 124 NETLINK_CB(skb).portid = 0; in nl_srv_ucast() 127 NETLINK_CB(skb).dst_group = 0; in nl_srv_ucast() 130 err = cnss_logger_nl_ucast(skb, dst_pid, flag); in nl_srv_ucast() 136 dev_kfree_skb(skb); in nl_srv_ucast() 150 int nl_srv_bcast(struct sk_buff *skb) in nl_srv_bcast() argument 160 NETLINK_CB(skb).pid = 0; in nl_srv_bcast() 162 NETLINK_CB(skb).portid = 0; in nl_srv_bcast() 165 NETLINK_CB(skb).dst_group = WLAN_NLINK_MCAST_GRP_ID; in nl_srv_bcast() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/spectral/src/ |
D | wlan_cfg80211_spectral.c | 378 struct sk_buff *skb; in wlan_cfg80211_spectral_scan_config_and_start() local 529 skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, skb_len); in wlan_cfg80211_spectral_scan_config_and_start() 531 if (!skb) { in wlan_cfg80211_spectral_scan_config_and_start() 573 (skb, in wlan_cfg80211_spectral_scan_config_and_start() 604 (skb, in wlan_cfg80211_spectral_scan_config_and_start() 614 if (wlan_cfg80211_nla_put_u64(skb, in wlan_cfg80211_spectral_scan_config_and_start() 621 wlan_cfg80211_qal_devcfg_send_response((qdf_nbuf_t)skb); in wlan_cfg80211_spectral_scan_config_and_start() 624 wlan_cfg80211_vendor_free_skb(skb); in wlan_cfg80211_spectral_scan_config_and_start() 638 struct sk_buff *skb; in wlan_cfg80211_spectral_scan_stop() local 676 skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, in wlan_cfg80211_spectral_scan_stop() [all …]
|
D | os_if_spectral_netlink.c | 65 os_if_spectral_nl_data_ready(struct sk_buff *skb) in os_if_spectral_nl_data_ready() argument 281 QDF_ASSERT(!ps->skb[smsg_type]); in os_if_spectral_prep_skb() 282 ps->skb[smsg_type] = in os_if_spectral_prep_skb() 286 if (!ps->skb[smsg_type]) { in os_if_spectral_prep_skb() 292 qdf_nbuf_put_tail(ps->skb[smsg_type], MAX_SPECTRAL_PAYLOAD); in os_if_spectral_prep_skb() 293 spectral_nlh = (struct nlmsghdr *)ps->skb[smsg_type]->data; in os_if_spectral_prep_skb() 312 QDF_ASSERT(ps->skb[smsg_type]); in os_if_spectral_prep_skb() 313 spectral_nlh = (struct nlmsghdr *)ps->skb[smsg_type]->data; in os_if_spectral_prep_skb() 326 struct sk_buff *skb, in os_if_init_spectral_skb_dst_pid() argument 329 NETLINK_CB(skb).dst_pid = in os_if_init_spectral_skb_dst_pid() [all …]
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_tx.c | 54 qdf_nbuf_t skb) in ol_tx_data() argument 65 return skb; in ol_tx_data() 73 return skb; in ol_tx_data() 77 && (qdf_nbuf_get_protocol(skb) == htons(ETH_P_IP)) in ol_tx_data() 78 && (qdf_nbuf_get_ip_summed(skb) == CHECKSUM_PARTIAL)) in ol_tx_data() 79 qdf_nbuf_set_ip_summed(skb, CHECKSUM_COMPLETE); in ol_tx_data() 82 qdf_nbuf_set_next(skb, NULL); in ol_tx_data() 83 ret = OL_TX_SEND(vdev, skb); in ol_tx_data() 94 qdf_nbuf_t skb) in ol_tx_send_ipa_data_frame() argument 105 return skb; in ol_tx_send_ipa_data_frame() [all …]
|
/wlan-driver/platform/icnss2/ |
D | genl.c | 55 static int icnss_genl_process_msg(struct sk_buff *skb, struct genl_info *info) in icnss_genl_process_msg() argument 90 struct sk_buff *skb = NULL; in icnss_genl_send_data() local 103 skb = genlmsg_new(NLMSG_HDRLEN + in icnss_genl_send_data() 111 if (!skb) in icnss_genl_send_data() 114 msg_header = genlmsg_put(skb, 0, 0, in icnss_genl_send_data() 122 ret = nla_put_u8(skb, ICNSS_GENL_ATTR_MSG_TYPE, type); in icnss_genl_send_data() 125 ret = nla_put_string(skb, ICNSS_GENL_ATTR_MSG_FILE_NAME, filename); in icnss_genl_send_data() 128 ret = nla_put_u32(skb, ICNSS_GENL_ATTR_MSG_TOTAL_SIZE, total_size); in icnss_genl_send_data() 131 ret = nla_put_u32(skb, ICNSS_GENL_ATTR_MSG_SEG_ID, seg_id); in icnss_genl_send_data() 134 ret = nla_put_u8(skb, ICNSS_GENL_ATTR_MSG_END, end); in icnss_genl_send_data() [all …]
|
/wlan-driver/platform/cnss2/ |
D | genl.c | 58 static int cnss_genl_process_msg(struct sk_buff *skb, struct genl_info *info) in cnss_genl_process_msg() argument 93 struct sk_buff *skb = NULL; in cnss_genl_send_data() local 106 skb = genlmsg_new(NLMSG_HDRLEN + in cnss_genl_send_data() 114 if (!skb) in cnss_genl_send_data() 117 msg_header = genlmsg_put(skb, 0, 0, in cnss_genl_send_data() 125 ret = nla_put_u8(skb, CNSS_GENL_ATTR_MSG_TYPE, type); in cnss_genl_send_data() 128 ret = nla_put_string(skb, CNSS_GENL_ATTR_MSG_FILE_NAME, filename); in cnss_genl_send_data() 131 ret = nla_put_u32(skb, CNSS_GENL_ATTR_MSG_TOTAL_SIZE, total_size); in cnss_genl_send_data() 134 ret = nla_put_u32(skb, CNSS_GENL_ATTR_MSG_SEG_ID, seg_id); in cnss_genl_send_data() 137 ret = nla_put_u8(skb, CNSS_GENL_ATTR_MSG_END, end); in cnss_genl_send_data() [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/ptt/src/ |
D | wlan_ptt_sock_svc.c | 79 static int nl_srv_ucast_ptt(struct sk_buff *skb, int dst_pid, int flag) in nl_srv_ucast_ptt() argument 82 return nl_srv_ucast(skb, dst_pid, flag, ANI_NL_MSG_PUMAC, in nl_srv_ucast_ptt() 85 return nl_srv_ucast(skb, dst_pid, flag); in nl_srv_ucast_ptt() 98 static int nl_srv_bcast_ptt(struct sk_buff *skb) in nl_srv_bcast_ptt() argument 101 return nl_srv_bcast(skb, CLD80211_MCGRP_DIAG_EVENTS, ANI_NL_MSG_PUMAC); in nl_srv_bcast_ptt() 103 return nl_srv_bcast(skb); in nl_srv_bcast_ptt() 125 struct sk_buff *skb; in ptt_sock_send_msg_to_app() local 137 skb = dev_alloc_skb(tot_msg_len); in ptt_sock_send_msg_to_app() 138 if (!skb) { in ptt_sock_send_msg_to_app() 145 nlmsg_put(skb, pid, nlmsg_seq++, src_mod, payload_len, in ptt_sock_send_msg_to_app() [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/epping/src/ |
D | epping_tx.c | 51 HTC_ENDPOINT_ID eid, qdf_nbuf_t skb) in epping_tx_dup_pkt() argument 64 new_skb = qdf_nbuf_copy(skb); in epping_tx_dup_pkt() 72 cookie, qdf_nbuf_data(skb), in epping_tx_dup_pkt() 94 static int epping_tx_send_int(qdf_nbuf_t skb, epping_adapter_t *adapter) in epping_tx_send_int() argument 96 EPPING_HEADER *eppingHdr = (EPPING_HEADER *) qdf_nbuf_data(skb); in epping_tx_send_int() 115 epping_hex_dump((void *)eppingHdr, skb->len, __func__); in epping_tx_send_int() 122 A_NETBUF_PUSH(skb, EPPING_ALIGNMENT_PAD); in epping_tx_send_int() 138 cookie, qdf_nbuf_data(skb), qdf_nbuf_len(skb), in epping_tx_send_int() 140 SET_HTC_PACKET_NET_BUF_CONTEXT(&cookie->HtcPkt, skb); in epping_tx_send_int() 141 skb_len = skb->len; in epping_tx_send_int() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/src/ |
D | osif_cm_roam_rsp.c | 253 osif_add_fils_params_roam_auth_event(struct sk_buff *skb, in osif_add_fils_params_roam_auth_event() argument 257 nla_put(skb, QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PMK, in osif_add_fils_params_roam_auth_event() 263 if (nla_put(skb, QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PMKID, in osif_add_fils_params_roam_auth_event() 273 nla_put_u16(skb, in osif_add_fils_params_roam_auth_event() 284 osif_add_fils_params_roam_auth_event(struct sk_buff *skb, in osif_add_fils_params_roam_auth_event() argument 356 osif_send_roam_auth_mlo_links_event(struct sk_buff *skb, in osif_send_roam_auth_mlo_links_event() argument 379 mlo_links = nla_nest_start(skb, QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MLO_LINKS); in osif_send_roam_auth_mlo_links_event() 386 mlo_links_info = nla_nest_start(skb, i); in osif_send_roam_auth_mlo_links_event() 394 if (nla_put_u8(skb, in osif_send_roam_auth_mlo_links_event() 401 if (nla_put(skb, QCA_WLAN_VENDOR_ATTR_MLO_LINK_BSSID, in osif_send_roam_auth_mlo_links_event() [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/nlink/inc/ |
D | wlan_nlink_srv.h | 42 typedef int (*nl_srv_msg_callback)(struct sk_buff *skb); 80 int nl_srv_ucast(struct sk_buff *skb, int dst_pid, int flag, 82 int nl_srv_bcast(struct sk_buff *skb, int mcgroup_id, int app_id); 96 void *nl80211hdr_put(struct sk_buff *skb, uint32_t portid, 99 int nl_srv_ucast(struct sk_buff *skb, int dst_pid, int flag); 100 int nl_srv_bcast(struct sk_buff *skb); 104 void nl_srv_ucast_oem(struct sk_buff *skb, int dst_pid, int flag);
|