/wlan-driver/qcacld-3.0/os_if/twt/src/ |
H A D | osif_twt_ext_rsp.c | 324 osif_twt_setup_pack_resp_nlmsg(struct sk_buff *reply_skb, in osif_twt_setup_pack_resp_nlmsg() argument 334 if (nla_put_u8(reply_skb, QCA_WLAN_VENDOR_ATTR_CONFIG_TWT_OPERATION, in osif_twt_setup_pack_resp_nlmsg() 340 config_attr = nla_nest_start(reply_skb, in osif_twt_setup_pack_resp_nlmsg() 352 if (nla_put_u8(reply_skb, attr, event->params.dialog_id)) { in osif_twt_setup_pack_resp_nlmsg() 360 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_setup_pack_resp_nlmsg() 366 nla_nest_end(reply_skb, config_attr); in osif_twt_setup_pack_resp_nlmsg() 378 if (nla_put_u8(reply_skb, attr, response_type)) { in osif_twt_setup_pack_resp_nlmsg() 384 if (nla_put_u8(reply_skb, attr, event->additional_params.announce)) { in osif_twt_setup_pack_resp_nlmsg() 394 if (nla_put_u32(reply_skb, attr, wake_duration)) { in osif_twt_setup_pack_resp_nlmsg() 400 if (nla_put_u32(reply_skb, in osif_twt_setup_pack_resp_nlmsg() [all …]
|
H A D | osif_twt_ext_req.c | 1739 struct sk_buff *reply_skb, in osif_twt_pack_get_params_resp_nlmsg() argument 1751 config_attr = nla_nest_start(reply_skb, in osif_twt_pack_get_params_resp_nlmsg() 1763 nla_params = nla_nest_start(reply_skb, i); in osif_twt_pack_get_params_resp_nlmsg() 1770 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_pack_get_params_resp_nlmsg() 1779 if (nla_put_u8(reply_skb, attr, params[i].dialog_id)) { in osif_twt_pack_get_params_resp_nlmsg() 1786 if (nla_put_flag(reply_skb, attr)) { in osif_twt_pack_get_params_resp_nlmsg() 1794 if (nla_put_flag(reply_skb, attr)) { in osif_twt_pack_get_params_resp_nlmsg() 1802 if (nla_put_flag(reply_skb, attr)) { in osif_twt_pack_get_params_resp_nlmsg() 1810 if (nla_put_flag(reply_skb, attr)) { in osif_twt_pack_get_params_resp_nlmsg() 1818 if (nla_put_u8(reply_skb, attr, in osif_twt_pack_get_params_resp_nlmsg() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_tx_power.c | 258 struct sk_buff *reply_skb = NULL; in __wlan_hdd_cfg80211_get_reg_tpc_info() local 329 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb( in __wlan_hdd_cfg80211_get_reg_tpc_info() 332 if (!reply_skb) { in __wlan_hdd_cfg80211_get_reg_tpc_info() 338 tpc_links_attr = nla_nest_start(reply_skb, in __wlan_hdd_cfg80211_get_reg_tpc_info() 347 tpc_attr = nla_nest_start(reply_skb, i); in __wlan_hdd_cfg80211_get_reg_tpc_info() 352 if (nla_put(reply_skb, QCA_WLAN_VENDOR_ATTR_TPC_BSSID, in __wlan_hdd_cfg80211_get_reg_tpc_info() 360 nla_put_flag(reply_skb, in __wlan_hdd_cfg80211_get_reg_tpc_info() 366 if (nla_put_s8(reply_skb, in __wlan_hdd_cfg80211_get_reg_tpc_info() 376 nla_put_u8(reply_skb, in __wlan_hdd_cfg80211_get_reg_tpc_info() 384 if (nla_put_u8(reply_skb, in __wlan_hdd_cfg80211_get_reg_tpc_info() [all …]
|
H A D | wlan_hdd_twt.c | 810 struct sk_buff *reply_skb, in hdd_twt_pack_get_params_resp_nlmsg() argument 822 config_attr = nla_nest_start(reply_skb, in hdd_twt_pack_get_params_resp_nlmsg() 834 nla_params = nla_nest_start(reply_skb, i); in hdd_twt_pack_get_params_resp_nlmsg() 841 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in hdd_twt_pack_get_params_resp_nlmsg() 850 if (nla_put_u8(reply_skb, attr, params[i].dialog_id)) { in hdd_twt_pack_get_params_resp_nlmsg() 857 if (nla_put_flag(reply_skb, attr)) { in hdd_twt_pack_get_params_resp_nlmsg() 865 if (nla_put_flag(reply_skb, attr)) { in hdd_twt_pack_get_params_resp_nlmsg() 873 if (nla_put_flag(reply_skb, attr)) { in hdd_twt_pack_get_params_resp_nlmsg() 881 if (nla_put_flag(reply_skb, attr)) { in hdd_twt_pack_get_params_resp_nlmsg() 889 if (nla_put_u8(reply_skb, attr, in hdd_twt_pack_get_params_resp_nlmsg() [all …]
|
H A D | wlan_hdd_concurrency_matrix.c | 66 struct sk_buff *reply_skb; in __wlan_hdd_cfg80211_get_concurrency_matrix() local 111 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, skb_len); in __wlan_hdd_cfg80211_get_concurrency_matrix() 112 if (!reply_skb) { in __wlan_hdd_cfg80211_get_concurrency_matrix() 117 if (nla_put_u32(reply_skb, in __wlan_hdd_cfg80211_get_concurrency_matrix() 120 nla_put(reply_skb, in __wlan_hdd_cfg80211_get_concurrency_matrix() 125 wlan_cfg80211_vendor_free_skb(reply_skb); in __wlan_hdd_cfg80211_get_concurrency_matrix() 128 return wlan_cfg80211_vendor_cmd_reply(reply_skb); in __wlan_hdd_cfg80211_get_concurrency_matrix()
|
H A D | wlan_hdd_bss_transition.c | 57 static int wlan_hdd_fill_btm_resp(struct sk_buff *reply_skb, in wlan_hdd_fill_btm_resp() argument 63 attr = nla_nest_start(reply_skb, index); in wlan_hdd_fill_btm_resp() 66 wlan_cfg80211_vendor_free_skb(reply_skb); in wlan_hdd_fill_btm_resp() 70 if (nla_put(reply_skb, in wlan_hdd_fill_btm_resp() 73 nla_put_u32(reply_skb, in wlan_hdd_fill_btm_resp() 77 wlan_cfg80211_vendor_free_skb(reply_skb); in wlan_hdd_fill_btm_resp() 81 nla_nest_end(reply_skb, attr); in wlan_hdd_fill_btm_resp()
|
H A D | wlan_hdd_thermal.c | 190 struct sk_buff *reply_skb; in hdd_get_curr_thermal_throttle_level_val() local 203 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(hdd_ctx->wiphy, in hdd_get_curr_thermal_throttle_level_val() 205 if (!reply_skb) { in hdd_get_curr_thermal_throttle_level_val() 209 if (nla_put_u32(reply_skb, QCA_WLAN_VENDOR_ATTR_THERMAL_LEVEL, in hdd_get_curr_thermal_throttle_level_val() 212 wlan_cfg80211_vendor_free_skb(reply_skb); in hdd_get_curr_thermal_throttle_level_val() 218 return wlan_cfg80211_vendor_cmd_reply(reply_skb); in hdd_get_curr_thermal_throttle_level_val() 234 struct sk_buff *reply_skb; in hdd_get_curr_thermal_temperature_val() local 243 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(hdd_ctx->wiphy, in hdd_get_curr_thermal_temperature_val() 245 if (!reply_skb) { in hdd_get_curr_thermal_temperature_val() 249 if (nla_put_u32(reply_skb, in hdd_get_curr_thermal_temperature_val() [all …]
|
H A D | wlan_hdd_he.c | 150 struct sk_buff *reply_skb; in __wlan_hdd_cfg80211_get_he_cap() local 191 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, nl_buf_len); in __wlan_hdd_cfg80211_get_he_cap() 192 if (!reply_skb) { in __wlan_hdd_cfg80211_get_he_cap() 197 if (nla_put_u8(reply_skb, in __wlan_hdd_cfg80211_get_he_cap() 205 if (nla_put_u32(reply_skb, in __wlan_hdd_cfg80211_get_he_cap() 207 nla_put_u32(reply_skb, in __wlan_hdd_cfg80211_get_he_cap() 209 nla_put_u32(reply_skb, in __wlan_hdd_cfg80211_get_he_cap() 211 nla_put_u32(reply_skb, in __wlan_hdd_cfg80211_get_he_cap() 214 nla_put(reply_skb, in __wlan_hdd_cfg80211_get_he_cap() 217 nla_put(reply_skb, QCA_WLAN_VENDOR_ATTR_PPE_THRESHOLD, in __wlan_hdd_cfg80211_get_he_cap() [all …]
|
H A D | wlan_hdd_mlo.c | 840 struct sk_buff *reply_skb = NULL; in wlan_hdd_cached_link_state_request() local 903 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, skb_len); in wlan_hdd_cached_link_state_request() 904 if (!reply_skb) { in wlan_hdd_cached_link_state_request() 911 reply_skb, psoc, &link_state_event, in wlan_hdd_cached_link_state_request() 918 errno = wlan_cfg80211_vendor_cmd_reply(reply_skb); in wlan_hdd_cached_link_state_request() 923 wlan_cfg80211_vendor_free_skb(reply_skb); in wlan_hdd_cached_link_state_request() 934 struct sk_buff *reply_skb = NULL; in wlan_hdd_link_state_request() local 1014 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb( in wlan_hdd_link_state_request() 1017 if (!reply_skb) { in wlan_hdd_link_state_request() 1024 reply_skb, psoc, link_state_event, in wlan_hdd_link_state_request() [all …]
|
H A D | wlan_hdd_cfg80211.c | 8067 struct sk_buff *reply_skb; in __wlan_hdd_cfg80211_get_wifi_info() local 8130 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, skb_len); in __wlan_hdd_cfg80211_get_wifi_info() 8131 if (!reply_skb) { in __wlan_hdd_cfg80211_get_wifi_info() 8138 if (nla_put_string(reply_skb, in __wlan_hdd_cfg80211_get_wifi_info() 8145 if (nla_put_string(reply_skb, in __wlan_hdd_cfg80211_get_wifi_info() 8152 if (nla_put_u32(reply_skb, in __wlan_hdd_cfg80211_get_wifi_info() 8159 return wlan_cfg80211_vendor_cmd_reply(reply_skb); in __wlan_hdd_cfg80211_get_wifi_info() 8164 wlan_cfg80211_vendor_free_skb(reply_skb); in __wlan_hdd_cfg80211_get_wifi_info() 8223 struct sk_buff *reply_skb = NULL; in __wlan_hdd_cfg80211_get_logger_supp_feature() local 8250 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, in __wlan_hdd_cfg80211_get_logger_supp_feature() [all …]
|
H A D | wlan_hdd_tsf.c | 3296 struct sk_buff *reply_skb; in __wlan_hdd_cfg80211_handle_tsf_cmd() local 3391 reply_skb = in __wlan_hdd_cfg80211_handle_tsf_cmd() 3396 if (!reply_skb) { in __wlan_hdd_cfg80211_handle_tsf_cmd() 3401 if (hdd_wlan_nla_put_u64(reply_skb, in __wlan_hdd_cfg80211_handle_tsf_cmd() 3404 hdd_wlan_nla_put_u64(reply_skb, in __wlan_hdd_cfg80211_handle_tsf_cmd() 3408 wlan_cfg80211_vendor_free_skb(reply_skb); in __wlan_hdd_cfg80211_handle_tsf_cmd() 3412 status = wlan_cfg80211_vendor_cmd_reply(reply_skb); in __wlan_hdd_cfg80211_handle_tsf_cmd()
|
H A D | wlan_hdd_stats.c | 11363 struct sk_buff *reply_skb = NULL; in hdd_tx_latency_get() local 11383 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wiphy, skb_len); in hdd_tx_latency_get() 11384 if (!reply_skb) { in hdd_tx_latency_get() 11389 ret = hdd_tx_latency_populate_links(soc, reply_skb, &links_list); in hdd_tx_latency_get() 11393 ret = wlan_cfg80211_vendor_cmd_reply(reply_skb); in hdd_tx_latency_get() 11398 wlan_cfg80211_vendor_free_skb(reply_skb); in hdd_tx_latency_get()
|
/wlan-driver/qcacld-3.0/os_if/dp/src/ |
H A D | os_if_dp_local_pkt_capture.c | 344 struct sk_buff *reply_skb; in os_if_dp_get_lpc_state() local 374 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(wdev->wiphy, in os_if_dp_get_lpc_state() 376 if (!reply_skb) { in os_if_dp_get_lpc_state() 385 if (nla_put_u32(reply_skb, GET_MONITOR_MODE_STATUS, val)) { in os_if_dp_get_lpc_state() 391 if (wlan_cfg80211_vendor_cmd_reply(reply_skb)) in os_if_dp_get_lpc_state() 396 wlan_cfg80211_vendor_free_skb(reply_skb); in os_if_dp_get_lpc_state()
|
/wlan-driver/qcacld-3.0/os_if/coap/src/ |
H A D | wlan_cfg80211_coap.c | 405 wlan_cfg80211_coap_fill_buf_info(struct sk_buff *reply_skb, in wlan_cfg80211_coap_fill_buf_info() argument 410 attr = nla_nest_start(reply_skb, index); in wlan_cfg80211_coap_fill_buf_info() 416 if (hdd_wlan_nla_put_u64(reply_skb, COAP_ATTR(CACHE_INFO_TS), in wlan_cfg80211_coap_fill_buf_info() 418 nla_put_u32(reply_skb, COAP_ATTR(CACHE_INFO_SRC_IPV4), in wlan_cfg80211_coap_fill_buf_info() 420 nla_put(reply_skb, COAP_ATTR(CACHE_INFO_MSG), in wlan_cfg80211_coap_fill_buf_info() 426 nla_nest_end(reply_skb, attr); in wlan_cfg80211_coap_fill_buf_info()
|