/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_cfr.c | 113 struct nlattr *tb[]) in wlan_cfg80211_cfr_set_group_config() argument 117 if (tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_NUMBER]) { in wlan_cfg80211_cfr_set_group_config() 118 params.grp_id = nla_get_u32(tb[ in wlan_cfg80211_cfr_set_group_config() 128 if (tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_TA]) { in wlan_cfg80211_cfr_set_group_config() 130 tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_TA], in wlan_cfg80211_cfr_set_group_config() 136 if (tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_TA_MASK]) { in wlan_cfg80211_cfr_set_group_config() 138 tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_TA_MASK], in wlan_cfg80211_cfr_set_group_config() 144 if (tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_RA]) { in wlan_cfg80211_cfr_set_group_config() 146 tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_RA], in wlan_cfg80211_cfr_set_group_config() 152 if (tb[QCA_WLAN_VENDOR_ATTR_PEER_CFR_GROUP_RA_MASK]) { in wlan_cfg80211_cfr_set_group_config() [all …]
|
D | wlan_hdd_mpta_helper.c | 65 struct nlattr *tb[QCA_MPTA_HELPER_VENDOR_ATTR_MAX + 1]; in __wlan_hdd_cfg80211_mpta_helper_config() local 81 if (wlan_cfg80211_nla_parse(tb, QCA_MPTA_HELPER_VENDOR_ATTR_MAX, data, in __wlan_hdd_cfg80211_mpta_helper_config() 91 if (tb[QCA_MPTA_HELPER_VENDOR_ATTR_ZIGBEE_STATE]) { in __wlan_hdd_cfg80211_mpta_helper_config() 95 (tb[QCA_MPTA_HELPER_VENDOR_ATTR_ZIGBEE_STATE]); in __wlan_hdd_cfg80211_mpta_helper_config() 107 if ((tb[QCA_MPTA_HELPER_VENDOR_ATTR_INT_WLAN_DURATION]) && in __wlan_hdd_cfg80211_mpta_helper_config() 108 (tb[QCA_MPTA_HELPER_VENDOR_ATTR_INT_NON_WLAN_DURATION])) { in __wlan_hdd_cfg80211_mpta_helper_config() 112 (tb[QCA_MPTA_HELPER_VENDOR_ATTR_INT_WLAN_DURATION]); in __wlan_hdd_cfg80211_mpta_helper_config() 114 (tb[QCA_MPTA_HELPER_VENDOR_ATTR_INT_NON_WLAN_DURATION]); in __wlan_hdd_cfg80211_mpta_helper_config() 126 if ((tb[QCA_MPTA_HELPER_VENDOR_ATTR_MON_WLAN_DURATION]) && in __wlan_hdd_cfg80211_mpta_helper_config() 127 (tb[QCA_MPTA_HELPER_VENDOR_ATTR_MON_NON_WLAN_DURATION])) { in __wlan_hdd_cfg80211_mpta_helper_config() [all …]
|
D | wlan_hdd_peer_txq_flush.c | 72 struct nlattr *tb[]) in hdd_peer_txq_flush_config() argument 80 if (!tb || !dp_soc) { in hdd_peer_txq_flush_config() 85 nla_memcpy(addr, tb[QCA_WLAN_VENDOR_ATTR_PEER_ADDR], QDF_MAC_ADDR_SIZE); in hdd_peer_txq_flush_config() 87 if (tb[QCA_WLAN_VENDOR_ATTR_TID_MASK]) { in hdd_peer_txq_flush_config() 88 tid = nla_get_u32(tb[QCA_WLAN_VENDOR_ATTR_TID_MASK]); in hdd_peer_txq_flush_config() 91 if (!tb[cmd_id]) { in hdd_peer_txq_flush_config() 95 txq_policy = nla_get_u32(tb[cmd_id]); in hdd_peer_txq_flush_config() 102 } else if (tb[QCA_WLAN_VENDOR_ATTR_AC]) { in hdd_peer_txq_flush_config() 103 ac = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_AC]); in hdd_peer_txq_flush_config() 134 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_FLUSH_PENDING_MAX + 1]; in __wlan_hdd_cfg80211_peer_txq_flush_config() local [all …]
|
D | wlan_hdd_mdns_offload.c | 55 static int hdd_extract_mdns_attr(struct nlattr *tb[], in hdd_extract_mdns_attr() argument 62 if (!tb[MDNS_FQDN]) { in hdd_extract_mdns_attr() 67 len = nla_len(tb[MDNS_FQDN]); in hdd_extract_mdns_attr() 70 wlan_cfg80211_nla_strscpy(mdns_info->fqdn_data, tb[MDNS_FQDN], in hdd_extract_mdns_attr() 75 if (!tb[MDNS_RESOURCE_RECORDS_COUNT]) { in hdd_extract_mdns_attr() 80 count = nla_get_u16(tb[MDNS_RESOURCE_RECORDS_COUNT]); in hdd_extract_mdns_attr() 83 if (!tb[MDNS_ANSWER_PAYLOAD]) { in hdd_extract_mdns_attr() 88 len = nla_len(tb[MDNS_ANSWER_PAYLOAD]); in hdd_extract_mdns_attr() 91 nla_data(tb[MDNS_ANSWER_PAYLOAD]), in hdd_extract_mdns_attr() 118 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_MDNS_OFFLOAD_MAX + 1]; in __wlan_hdd_cfg80211_set_mdns_offload() local [all …]
|
D | wlan_hdd_wifi_pos_pasn.c | 80 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_MAX + 1]; in wlan_hdd_cfg80211_send_pasn_auth_status() local 99 if (wlan_cfg80211_nla_parse(tb, QCA_WLAN_VENDOR_ATTR_MAX, in wlan_hdd_cfg80211_send_pasn_auth_status() 106 if (!tb[QCA_WLAN_VENDOR_ATTR_PASN_PEERS]) { in wlan_hdd_cfg80211_send_pasn_auth_status() 116 nla_for_each_nested(curr_attr, tb[QCA_WLAN_VENDOR_ATTR_PASN_PEERS], in wlan_hdd_cfg80211_send_pasn_auth_status() 195 struct nlattr **tb) in wlan_cfg80211_set_pasn_key() argument 223 if (!tb[QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_CIPHER]) { in wlan_cfg80211_set_pasn_key() 230 tb[QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_CIPHER]); in wlan_cfg80211_set_pasn_key() 235 nla_len(tb[QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_TK]); in wlan_cfg80211_set_pasn_key() 247 nla_data(tb[QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_TK]), in wlan_cfg80211_set_pasn_key() 250 if (!tb[QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_PEER_MAC_ADDR]) { in wlan_cfg80211_set_pasn_key() [all …]
|
D | wlan_hdd_apf.c | 222 struct nlattr **tb, in hdd_set_reset_apf_offload() argument 236 if (!tb[APF_PACKET_SIZE]) { in hdd_set_reset_apf_offload() 243 apf_set_offload.total_length = nla_get_u32(tb[APF_PACKET_SIZE]); in hdd_set_reset_apf_offload() 251 if (!tb[APF_PROGRAM]) { in hdd_set_reset_apf_offload() 257 prog_len = nla_len(tb[APF_PROGRAM]); in hdd_set_reset_apf_offload() 266 nla_memcpy(apf_set_offload.program, tb[APF_PROGRAM], prog_len); in hdd_set_reset_apf_offload() 269 if (!tb[APF_FILTER_ID]) { in hdd_set_reset_apf_offload() 274 apf_set_offload.filter_id = nla_get_u32(tb[APF_FILTER_ID]); in hdd_set_reset_apf_offload() 277 if (!tb[APF_CURRENT_OFFSET]) { in hdd_set_reset_apf_offload() 282 apf_set_offload.current_offset = nla_get_u32(tb[APF_CURRENT_OFFSET]); in hdd_set_reset_apf_offload() [all …]
|
D | wlan_hdd_p2p_listen_offload.c | 132 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_MAX + 1]; in __wlan_hdd_cfg80211_p2p_lo_start() local 154 if (wlan_cfg80211_nla_parse(tb, in __wlan_hdd_cfg80211_p2p_lo_start() 164 if (!tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_CTRL_FLAG]) in __wlan_hdd_cfg80211_p2p_lo_start() 167 params.ctl_flags = nla_get_u32(tb in __wlan_hdd_cfg80211_p2p_lo_start() 170 if (!tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_CHANNEL] || in __wlan_hdd_cfg80211_p2p_lo_start() 171 !tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_PERIOD] || in __wlan_hdd_cfg80211_p2p_lo_start() 172 !tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_INTERVAL] || in __wlan_hdd_cfg80211_p2p_lo_start() 173 !tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_COUNT] || in __wlan_hdd_cfg80211_p2p_lo_start() 174 !tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_DEVICE_TYPES] || in __wlan_hdd_cfg80211_p2p_lo_start() 175 !tb[QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_VENDOR_IE]) { in __wlan_hdd_cfg80211_p2p_lo_start() [all …]
|
D | wlan_hdd_coex_config.c | 69 struct nlattr *tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_MAX + 1]; in __wlan_hdd_cfg80211_set_coex_config() local 97 if (wlan_cfg80211_nla_parse(tb, in __wlan_hdd_cfg80211_set_coex_config() 105 if (!tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_CONFIG_TYPE]) { in __wlan_hdd_cfg80211_set_coex_config() 111 tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_CONFIG_TYPE]); in __wlan_hdd_cfg80211_set_coex_config() 131 if (!tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_PRIORITY_1]) { in __wlan_hdd_cfg80211_set_coex_config() 136 tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_PRIORITY_1]); in __wlan_hdd_cfg80211_set_coex_config() 140 if (!tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_PRIORITY_2]) { in __wlan_hdd_cfg80211_set_coex_config() 145 tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_PRIORITY_2]); in __wlan_hdd_cfg80211_set_coex_config() 149 if (!tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_PRIORITY_3]) { in __wlan_hdd_cfg80211_set_coex_config() 154 tb[QCA_VENDOR_ATTR_COEX_CONFIG_THREE_WAY_PRIORITY_3]); in __wlan_hdd_cfg80211_set_coex_config() [all …]
|
D | wlan_hdd_ext_scan.c | 1546 struct nlattr *tb[EXTSCAN_PARAM_MAX + 1]; in __wlan_hdd_cfg80211_extscan_get_capabilities() local 1569 if (wlan_cfg80211_nla_parse(tb, EXTSCAN_PARAM_MAX, data, data_len, in __wlan_hdd_cfg80211_extscan_get_capabilities() 1577 if (!tb[id]) { in __wlan_hdd_cfg80211_extscan_get_capabilities() 1582 params.request_id = nla_get_u32(tb[id]); in __wlan_hdd_cfg80211_extscan_get_capabilities() 1670 struct nlattr *tb[EXTSCAN_PARAM_MAX + 1]; in __wlan_hdd_cfg80211_extscan_get_cached_results() local 1691 if (wlan_cfg80211_nla_parse(tb, EXTSCAN_PARAM_MAX, data, data_len, in __wlan_hdd_cfg80211_extscan_get_cached_results() 1699 if (!tb[id]) { in __wlan_hdd_cfg80211_extscan_get_cached_results() 1704 params.request_id = nla_get_u32(tb[id]); in __wlan_hdd_cfg80211_extscan_get_cached_results() 1709 if (!tb[id]) { in __wlan_hdd_cfg80211_extscan_get_cached_results() 1713 params.flush = nla_get_u8(tb[id]); in __wlan_hdd_cfg80211_extscan_get_cached_results() [all …]
|
D | wlan_hdd_disa.c | 177 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_MAX + 1]; in hdd_fill_encrypt_decrypt_params() local 182 if (wlan_cfg80211_nla_parse(tb, in hdd_fill_encrypt_decrypt_params() 192 if (!tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_NEEDS_DECRYPTION]) { in hdd_fill_encrypt_decrypt_params() 201 if (!tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_KEYID]) { in hdd_fill_encrypt_decrypt_params() 205 encrypt_decrypt_params->key_idx = nla_get_u8(tb in hdd_fill_encrypt_decrypt_params() 209 if (!tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_CIPHER]) { in hdd_fill_encrypt_decrypt_params() 213 encrypt_decrypt_params->key_cipher = nla_get_u32(tb in hdd_fill_encrypt_decrypt_params() 217 if (!tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_TK]) { in hdd_fill_encrypt_decrypt_params() 222 nla_len(tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_TK]); in hdd_fill_encrypt_decrypt_params() 232 tmp = nla_data(tb[QCA_WLAN_VENDOR_ATTR_ENCRYPTION_TEST_TK]); in hdd_fill_encrypt_decrypt_params() [all …]
|
D | wlan_hdd_rssi_monitor.c | 72 struct nlattr *tb[PARAM_MAX + 1]; in __wlan_hdd_cfg80211_monitor_rssi() local 98 if (wlan_cfg80211_nla_parse(tb, PARAM_MAX, data, data_len, in __wlan_hdd_cfg80211_monitor_rssi() 104 if (!tb[PARAM_REQUEST_ID]) { in __wlan_hdd_cfg80211_monitor_rssi() 109 if (!tb[PARAM_CONTROL]) { in __wlan_hdd_cfg80211_monitor_rssi() 114 req.request_id = nla_get_u32(tb[PARAM_REQUEST_ID]); in __wlan_hdd_cfg80211_monitor_rssi() 116 control = nla_get_u32(tb[PARAM_CONTROL]); in __wlan_hdd_cfg80211_monitor_rssi() 120 if (!tb[PARAM_MIN_RSSI]) { in __wlan_hdd_cfg80211_monitor_rssi() 125 if (!tb[PARAM_MAX_RSSI]) { in __wlan_hdd_cfg80211_monitor_rssi() 130 req.min_rssi = nla_get_s8(tb[PARAM_MIN_RSSI]); in __wlan_hdd_cfg80211_monitor_rssi() 131 req.max_rssi = nla_get_s8(tb[PARAM_MAX_RSSI]); in __wlan_hdd_cfg80211_monitor_rssi()
|
D | wlan_hdd_twt.c | 131 struct nlattr **tb) in hdd_test_config_twt_setup_session() argument 148 struct nlattr **tb) in hdd_test_config_twt_terminate_session() argument 200 struct nlattr **tb) in hdd_twt_configure() argument 210 twt_oper_attr = tb[id]; in hdd_twt_configure() 220 twt_param_attr = tb[id]; in hdd_twt_configure() 385 int hdd_twt_get_add_dialog_values(struct nlattr **tb, in hdd_twt_get_add_dialog_values() argument 393 if (tb[cmd_id]) { in hdd_twt_get_add_dialog_values() 394 params->dialog_id = nla_get_u8(tb[cmd_id]); in hdd_twt_get_add_dialog_values() 405 if (!tb[cmd_id]) { in hdd_twt_get_add_dialog_values() 409 wake_intvl_exp = nla_get_u8(tb[cmd_id]); in hdd_twt_get_add_dialog_values() [all …]
|
D | wlan_hdd_subnet_detect.c | 74 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_GW_PARAM_CONFIG_MAX + 1]; in __wlan_hdd_cfg80211_set_gateway_params() local 118 if (wlan_cfg80211_nla_parse(tb, in __wlan_hdd_cfg80211_set_gateway_params() 125 if (!tb[PARAM_MAC_ADDR]) { in __wlan_hdd_cfg80211_set_gateway_params() 129 nla_memcpy(req.gw_mac_addr.bytes, tb[PARAM_MAC_ADDR], in __wlan_hdd_cfg80211_set_gateway_params() 135 if (tb[PARAM_IPV4_ADDR]) { in __wlan_hdd_cfg80211_set_gateway_params() 136 nla_memcpy(req.ipv4_addr, tb[PARAM_IPV4_ADDR], in __wlan_hdd_cfg80211_set_gateway_params() 141 if (tb[PARAM_IPV6_ADDR]) { in __wlan_hdd_cfg80211_set_gateway_params() 142 nla_memcpy(&req.ipv6_addr, tb[PARAM_IPV6_ADDR], in __wlan_hdd_cfg80211_set_gateway_params()
|
D | wlan_hdd_ocb.c | 773 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_MAX + 1]; in __wlan_hdd_cfg80211_ocb_set_config() local 803 if (wlan_cfg80211_nla_parse(tb, QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_MAX, in __wlan_hdd_cfg80211_ocb_set_config() 811 if (!tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_CHANNEL_COUNT]) { in __wlan_hdd_cfg80211_ocb_set_config() 816 tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_CHANNEL_COUNT]); in __wlan_hdd_cfg80211_ocb_set_config() 819 if (!tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_SCHEDULE_SIZE]) { in __wlan_hdd_cfg80211_ocb_set_config() 824 tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_SCHEDULE_SIZE]); in __wlan_hdd_cfg80211_ocb_set_config() 828 tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_NDL_CHANNEL_ARRAY]; in __wlan_hdd_cfg80211_ocb_set_config() 832 tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_NDL_ACTIVE_STATE_ARRAY]; in __wlan_hdd_cfg80211_ocb_set_config() 837 if (tb[QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_FLAGS]) in __wlan_hdd_cfg80211_ocb_set_config() 838 flags = nla_get_u32(tb[ in __wlan_hdd_cfg80211_ocb_set_config() [all …]
|
D | wlan_hdd_scan.c | 859 struct nlattr **tb) in wlan_hdd_vendor_scan_random_attr() argument 873 if (!tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC] && in wlan_hdd_vendor_scan_random_attr() 874 !tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK]) { in wlan_hdd_vendor_scan_random_attr() 883 if (!tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC] || in wlan_hdd_vendor_scan_random_attr() 884 !tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK]) in wlan_hdd_vendor_scan_random_attr() 887 if ((nla_len(tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC]) != len) || in wlan_hdd_vendor_scan_random_attr() 888 (nla_len(tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK]) != len)) in wlan_hdd_vendor_scan_random_attr() 892 nla_data(tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC]), len); in wlan_hdd_vendor_scan_random_attr() 895 nla_data(tb[QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK]), len); in wlan_hdd_vendor_scan_random_attr() 911 struct nlattr **tb) in wlan_hdd_vendor_scan_random_attr() argument [all …]
|
D | wlan_hdd_mcc_quota.c | 99 struct nlattr *tb[]) in wlan_hdd_set_mcc_fixed_quota() argument 135 if (!tb[cmd_id]) { in wlan_hdd_set_mcc_fixed_quota() 141 nla_for_each_nested(curr_attr, tb[cmd_id], rem_bytes) { in wlan_hdd_set_mcc_fixed_quota() 233 struct nlattr *tb[]) in wlan_hdd_set_mcc_low_latency_quota() argument 251 if (!tb[cmd_id]) { in wlan_hdd_set_mcc_low_latency_quota() 255 ll_enable = nla_get_u8(tb[cmd_id]); in wlan_hdd_set_mcc_low_latency_quota() 274 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_MCC_QUOTA_MAX + 1]; in wlan_hdd_cfg80211_set_mcc_quota() local 288 if (wlan_cfg80211_nla_parse(tb, QCA_WLAN_VENDOR_ATTR_MCC_QUOTA_MAX, in wlan_hdd_cfg80211_set_mcc_quota() 295 if (!tb[cmd_id]) { in wlan_hdd_cfg80211_set_mcc_quota() 299 quota_type = nla_get_u32(tb[cmd_id]); in wlan_hdd_cfg80211_set_mcc_quota() [all …]
|
D | wlan_hdd_ll_lt_sap.c | 58 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_AUDIO_TRANSPORT_SWITCH_MAX + 1]; in __wlan_hdd_cfg80211_ll_lt_sap_transport_switch() local 87 tb, QCA_WLAN_VENDOR_ATTR_AUDIO_TRANSPORT_SWITCH_MAX, in __wlan_hdd_cfg80211_ll_lt_sap_transport_switch() 94 if (!tb[QCA_WLAN_VENDOR_ATTR_AUDIO_TRANSPORT_SWITCH_TYPE]) { in __wlan_hdd_cfg80211_ll_lt_sap_transport_switch() 109 tb[QCA_WLAN_VENDOR_ATTR_AUDIO_TRANSPORT_SWITCH_TYPE]); in __wlan_hdd_cfg80211_ll_lt_sap_transport_switch() 111 if (!tb[QCA_WLAN_VENDOR_ATTR_AUDIO_TRANSPORT_SWITCH_STATUS]) { in __wlan_hdd_cfg80211_ll_lt_sap_transport_switch() 123 tb[QCA_WLAN_VENDOR_ATTR_AUDIO_TRANSPORT_SWITCH_STATUS]); in __wlan_hdd_cfg80211_ll_lt_sap_transport_switch()
|
D | wlan_hdd_cfg80211.c | 3801 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_ACS_MAX + 1]; in wlan_hdd_check_is_acs_request_same() local 3810 ret = wlan_cfg80211_nla_parse(tb, QCA_WLAN_VENDOR_ATTR_ACS_MAX, data, in wlan_hdd_check_is_acs_request_same() 3818 if (!tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]) in wlan_hdd_check_is_acs_request_same() 3823 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in wlan_hdd_check_is_acs_request_same() 3827 ht_enabled = nla_get_flag(tb[QCA_WLAN_VENDOR_ATTR_ACS_HT_ENABLED]); in wlan_hdd_check_is_acs_request_same() 3831 ht40_enabled = nla_get_flag(tb[QCA_WLAN_VENDOR_ATTR_ACS_HT40_ENABLED]); in wlan_hdd_check_is_acs_request_same() 3835 vht_enabled = nla_get_flag(tb[QCA_WLAN_VENDOR_ATTR_ACS_VHT_ENABLED]); in wlan_hdd_check_is_acs_request_same() 3839 eht_enabled = nla_get_flag(tb[QCA_WLAN_VENDOR_ATTR_ACS_EHT_ENABLED]); in wlan_hdd_check_is_acs_request_same() 3843 if (tb[QCA_WLAN_VENDOR_ATTR_ACS_CHWIDTH]) in wlan_hdd_check_is_acs_request_same() 3844 ch_width = nla_get_u16(tb[QCA_WLAN_VENDOR_ATTR_ACS_CHWIDTH]); in wlan_hdd_check_is_acs_request_same() [all …]
|
/wlan-driver/qcacld-3.0/os_if/pkt_capture/src/ |
D | os_if_pkt_capture.c | 74 struct nlattr *tb[SET_MONITOR_MODE_CONFIG_MAX + 1]; in os_if_monitor_mode_configure() local 82 if (wlan_cfg80211_nla_parse(tb, SET_MONITOR_MODE_CONFIG_MAX, in os_if_monitor_mode_configure() 89 if (tb[SET_MONITOR_MODE_INVALID]) { in os_if_monitor_mode_configure() 94 if (tb[SET_MONITOR_MODE_DATA_TX_FRAME_TYPE] && in os_if_monitor_mode_configure() 95 nla_get_u32(tb[SET_MONITOR_MODE_DATA_TX_FRAME_TYPE]) < in os_if_monitor_mode_configure() 98 nla_get_u32(tb[SET_MONITOR_MODE_DATA_TX_FRAME_TYPE]); in os_if_monitor_mode_configure() 103 if (tb[SET_MONITOR_MODE_DATA_RX_FRAME_TYPE] && in os_if_monitor_mode_configure() 104 nla_get_u32(tb[SET_MONITOR_MODE_DATA_RX_FRAME_TYPE]) < in os_if_monitor_mode_configure() 107 nla_get_u32(tb[SET_MONITOR_MODE_DATA_RX_FRAME_TYPE]); in os_if_monitor_mode_configure() 112 if (tb[SET_MONITOR_MODE_MGMT_TX_FRAME_TYPE] && in os_if_monitor_mode_configure() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/spectral/src/ |
D | wlan_cfg80211_spectral.c | 319 struct nlattr **tb, in wlan_cfg80211_spectral_scan_dma_debug_config() argument 326 if (!tb || !pdev) in wlan_cfg80211_spectral_scan_dma_debug_config() 329 if (tb[QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_DMA_RING_DEBUG]) { in wlan_cfg80211_spectral_scan_dma_debug_config() 330 dma_debug_enable = nla_get_u8(tb[ in wlan_cfg80211_spectral_scan_dma_debug_config() 344 if (tb[QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_DMA_BUFFER_DEBUG]) { in wlan_cfg80211_spectral_scan_dma_debug_config() 345 dma_debug_enable = nla_get_u8(tb[ in wlan_cfg80211_spectral_scan_dma_debug_config() 361 struct nlattr **tb, in wlan_cfg80211_spectral_scan_dma_debug_config() argument 374 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX + 1]; in wlan_cfg80211_spectral_scan_config_and_start() local 386 tb, in wlan_cfg80211_spectral_scan_config_and_start() 397 if (tb[QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_SCAN_COUNT]) in wlan_cfg80211_spectral_scan_config_and_start() [all …]
|
/wlan-driver/qcacld-3.0/os_if/coap/src/ |
D | wlan_cfg80211_coap.c | 96 struct nlattr *tb[COAP_ATTR(FILTER_MAX) + 1]; in wlan_cfg80211_coap_offload_reply_fill_filter() local 108 if (wlan_cfg80211_nla_parse_nested(tb, COAP_ATTR(FILTER_MAX), in wlan_cfg80211_coap_offload_reply_fill_filter() 115 if (!tb[COAP_ATTR(FILTER_DEST_IPV4)]) { in wlan_cfg80211_coap_offload_reply_fill_filter() 120 params->dest_ip_v4 = nla_get_u32(tb[COAP_ATTR(FILTER_DEST_IPV4)]); in wlan_cfg80211_coap_offload_reply_fill_filter() 122 nla_get_flag(tb[COAP_ATTR(FILTER_DEST_IPV4_IS_BC)]); in wlan_cfg80211_coap_offload_reply_fill_filter() 124 if (!tb[COAP_ATTR(FILTER_DEST_PORT)]) { in wlan_cfg80211_coap_offload_reply_fill_filter() 129 params->dest_udp_port = nla_get_u16(tb[COAP_ATTR(FILTER_DEST_PORT)]); in wlan_cfg80211_coap_offload_reply_fill_filter() 131 if (!tb[COAP_ATTR(FILTER_MATCH_OFFSET)]) { in wlan_cfg80211_coap_offload_reply_fill_filter() 137 nla_get_u32(tb[COAP_ATTR(FILTER_MATCH_OFFSET)]); in wlan_cfg80211_coap_offload_reply_fill_filter() 139 if (!tb[COAP_ATTR(FILTER_MATCH_DATA)]) { in wlan_cfg80211_coap_offload_reply_fill_filter() [all …]
|
/wlan-driver/qcacld-3.0/os_if/nan/src/ |
D | os_if_nan.c | 311 struct nlattr **tb) in __os_if_nan_process_ndi_create() argument 329 if (!tb[QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID]) { in __os_if_nan_process_ndi_create() 334 nla_get_u16(tb[QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID]); in __os_if_nan_process_ndi_create() 355 osif_nla_str(struct nlattr **tb, size_t attr_id, const char **out_str) in osif_nla_str() argument 357 if (!tb || !tb[attr_id]) in osif_nla_str() 360 *out_str = nla_data(tb[attr_id]); in osif_nla_str() 408 struct nlattr **tb, in os_if_nan_process_ndi_create() argument 417 errno = osif_nla_str(tb, QCA_WLAN_VENDOR_ATTR_NDP_IFACE_STR, &ifname); in os_if_nan_process_ndi_create() 425 errno = __os_if_nan_process_ndi_create(psoc, ifname, tb); in os_if_nan_process_ndi_create() 457 struct nlattr **tb, in os_if_nan_process_ndi_create() argument [all …]
|
/wlan-driver/qcacld-3.0/os_if/twt/src/ |
D | osif_twt_ext_req.c | 171 osif_twt_parse_add_dialog_attrs(struct nlattr **tb, in osif_twt_parse_add_dialog_attrs() argument 179 if (tb[cmd_id]) { in osif_twt_parse_add_dialog_attrs() 180 params->dialog_id = nla_get_u8(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 191 if (!tb[cmd_id]) { in osif_twt_parse_add_dialog_attrs() 195 wake_intvl_exp = nla_get_u8(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 204 params->flag_bcast = nla_get_flag(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 207 if (tb[cmd_id]) { in osif_twt_parse_add_dialog_attrs() 208 params->dialog_id = nla_get_u8(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() 213 if (tb[cmd_id]) { in osif_twt_parse_add_dialog_attrs() 214 params->b_twt_recommendation = nla_get_u8(tb[cmd_id]); in osif_twt_parse_add_dialog_attrs() [all …]
|
/wlan-driver/qcacld-3.0/os_if/dp/src/ |
D | os_if_dp_local_pkt_capture.c | 193 struct nlattr **tb) in os_if_dp_local_pkt_capture_start() argument 208 if (tb[SET_MONITOR_MODE_MGMT_TX_FRAME_TYPE]) { in os_if_dp_local_pkt_capture_start() 209 val = nla_get_u32(tb[SET_MONITOR_MODE_MGMT_TX_FRAME_TYPE]); in os_if_dp_local_pkt_capture_start() 221 if (tb[SET_MONITOR_MODE_MGMT_RX_FRAME_TYPE]) { in os_if_dp_local_pkt_capture_start() 222 val = nla_get_u32(tb[SET_MONITOR_MODE_MGMT_RX_FRAME_TYPE]); in os_if_dp_local_pkt_capture_start() 234 if (tb[SET_MONITOR_MODE_DATA_TX_FRAME_TYPE]) { in os_if_dp_local_pkt_capture_start() 235 val = nla_get_u32(tb[SET_MONITOR_MODE_DATA_TX_FRAME_TYPE]); in os_if_dp_local_pkt_capture_start() 247 if (tb[SET_MONITOR_MODE_DATA_RX_FRAME_TYPE]) { in os_if_dp_local_pkt_capture_start() 248 val = nla_get_u32(tb[SET_MONITOR_MODE_DATA_RX_FRAME_TYPE]); in os_if_dp_local_pkt_capture_start() 260 if (tb[SET_MONITOR_MODE_CTRL_TX_FRAME_TYPE]) { in os_if_dp_local_pkt_capture_start() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/ftm/src/ |
D | wlan_cfg80211_ftm.c | 42 struct nlattr *tb[]) in wlan_cfg80211_process_ftm_cmd() argument 48 if (!tb[WLAN_CFG80211_FTM_ATTR_DATA]) { in wlan_cfg80211_process_ftm_cmd() 53 buf = nla_data(tb[WLAN_CFG80211_FTM_ATTR_DATA]); in wlan_cfg80211_process_ftm_cmd() 54 buf_len = nla_len(tb[WLAN_CFG80211_FTM_ATTR_DATA]); in wlan_cfg80211_process_ftm_cmd() 73 struct nlattr *tb[WLAN_CFG80211_FTM_ATTR_MAX + 1]; in wlan_cfg80211_ftm_testmode_cmd() local 86 err = wlan_cfg80211_nla_parse(tb, WLAN_CFG80211_FTM_ATTR_MAX - 1, data, in wlan_cfg80211_ftm_testmode_cmd() 93 if (!tb[WLAN_CFG80211_FTM_ATTR_CMD]) { in wlan_cfg80211_ftm_testmode_cmd() 97 cmd = nla_get_u32(tb[WLAN_CFG80211_FTM_ATTR_CMD]); in wlan_cfg80211_ftm_testmode_cmd() 101 err = wlan_cfg80211_process_ftm_cmd(pdev, tb); in wlan_cfg80211_ftm_testmode_cmd()
|