Home
last modified time | relevance | path

Searched refs:ies (Results 1 – 25 of 73) sorted by relevance

123

/kernel/linux/linux-5.10/net/wireless/
Dscan.c118 struct cfg80211_bss_ies *ies; in bss_free() local
123 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
124 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
125 kfree_rcu(ies, rcu_head); in bss_free()
126 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
127 if (ies) in bss_free()
128 kfree_rcu(ies, rcu_head); in bss_free()
417 const struct cfg80211_bss_ies *ies; in is_bss() local
426 ies = rcu_access_pointer(a->ies); in is_bss()
427 if (!ies) in is_bss()
[all …]
Dutil.c912 const struct cfg80211_bss_ies *ies; in ieee80211_bss_get_elem() local
914 ies = rcu_dereference(bss->ies); in ieee80211_bss_get_elem()
915 if (!ies) in ieee80211_bss_get_elem()
918 return cfg80211_find_elem(id, ies->data, ies->len); in ieee80211_bss_get_elem()
1417 int cfg80211_get_p2p_attr(const u8 *ies, unsigned int len, in cfg80211_get_p2p_attr() argument
1433 iedatalen = ies[1]; in cfg80211_get_p2p_attr()
1437 if (ies[0] != WLAN_EID_VENDOR_SPECIFIC) in cfg80211_get_p2p_attr()
1443 iedata = ies + 2; in cfg80211_get_p2p_attr()
1506 len -= ies[1] + 2; in cfg80211_get_p2p_attr()
1507 ies += ies[1] + 2; in cfg80211_get_p2p_attr()
[all …]
Dsme.c465 const u8 *ies, size_t ies_len, in cfg80211_sme_get_conn_ies() argument
473 (ies && cfg80211_find_ie(WLAN_EID_EXT_CAPABILITY, ies, ies_len))) { in cfg80211_sme_get_conn_ies()
474 *out_ies = kmemdup(ies, ies_len, GFP_KERNEL); in cfg80211_sme_get_conn_ies()
497 offs = ieee80211_ie_split(ies, ies_len, before_extcapa, in cfg80211_sme_get_conn_ies()
499 memcpy(buf, ies, offs); in cfg80211_sme_get_conn_ies()
502 ies + offs, ies_len - offs); in cfg80211_sme_get_conn_ies()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
Dscan.c158 struct ieee80211_scan_ies *ies) in wl18xx_scan_sched_scan_config() argument
247 ies->ies[band], in wl18xx_scan_sched_scan_config()
248 ies->len[band], in wl18xx_scan_sched_scan_config()
249 ies->common_ies, in wl18xx_scan_sched_scan_config()
250 ies->common_ie_len, in wl18xx_scan_sched_scan_config()
264 ies->ies[band], in wl18xx_scan_sched_scan_config()
265 ies->len[band], in wl18xx_scan_sched_scan_config()
266 ies->common_ies, in wl18xx_scan_sched_scan_config()
267 ies->common_ie_len, in wl18xx_scan_sched_scan_config()
291 struct ieee80211_scan_ies *ies) in wl18xx_sched_scan_start() argument
[all …]
Dscan.h111 struct ieee80211_scan_ies *ies);
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
Dscan.c310 struct ieee80211_scan_ies *ies) in wl1271_scan_sched_scan_config() argument
372 ies->ies[band], in wl1271_scan_sched_scan_config()
373 ies->len[band], in wl1271_scan_sched_scan_config()
374 ies->common_ies, in wl1271_scan_sched_scan_config()
375 ies->common_ie_len, in wl1271_scan_sched_scan_config()
389 ies->ies[band], in wl1271_scan_sched_scan_config()
390 ies->len[band], in wl1271_scan_sched_scan_config()
391 ies->common_ies, in wl1271_scan_sched_scan_config()
392 ies->common_ie_len, in wl1271_scan_sched_scan_config()
449 struct ieee80211_scan_ies *ies) in wl12xx_sched_scan_start() argument
[all …]
Dscan.h124 struct ieee80211_scan_ies *ies);
/kernel/linux/linux-5.10/net/mac80211/
Dfils_aead.c221 u8 *capab, *ies, *encr; in fils_encrypt_assoc_req() local
228 ies = mgmt->u.reassoc_req.variable; in fils_encrypt_assoc_req()
231 ies = mgmt->u.assoc_req.variable; in fils_encrypt_assoc_req()
235 ies, skb->data + skb->len - ies); in fils_encrypt_assoc_req()
272 u8 *capab, *ies, *encr; in fils_decrypt_assoc_resp() local
282 ies = mgmt->u.assoc_resp.variable; in fils_decrypt_assoc_resp()
284 ies, frame + *frame_len - ies); in fils_decrypt_assoc_resp()
Dmlme.c2247 const struct cfg80211_bss_ies *ies; in ieee80211_set_associated() local
2250 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
2251 if (ies) { in ieee80211_set_associated()
2255 ies->data, ies->len, in ieee80211_set_associated()
3346 const struct cfg80211_bss_ies *ies; in ieee80211_assoc_success() local
3350 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
3351 if (ies) in ieee80211_assoc_success()
3352 bss_ies = kmemdup(ies, sizeof(*ies) + ies->len, in ieee80211_assoc_success()
5048 const struct cfg80211_bss_ies *ies; in ieee80211_prep_channel() local
5051 ies = rcu_dereference(cbss->ies); in ieee80211_prep_channel()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dhif.c368 const struct cfg80211_bss_ies *ies = rcu_dereference(bss->ies); in wilc_parse_join_bss_param() local
380 ssid_elm = cfg80211_find_ie(WLAN_EID_SSID, ies->data, ies->len); in wilc_parse_join_bss_param()
386 tim_elm = cfg80211_find_ie(WLAN_EID_TIM, ies->data, ies->len); in wilc_parse_join_bss_param()
393 rates_ie = cfg80211_find_ie(WLAN_EID_SUPP_RATES, ies->data, ies->len); in wilc_parse_join_bss_param()
404 ies->data, ies->len); in wilc_parse_join_bss_param()
419 ht_ie = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, ies->data, ies->len); in wilc_parse_join_bss_param()
423 ret = cfg80211_get_p2p_attr(ies->data, ies->len, in wilc_parse_join_bss_param()
427 param->tsf_lo = cpu_to_le32(ies->tsf); in wilc_parse_join_bss_param()
447 ies->data, ies->len); in wilc_parse_join_bss_param()
462 ies->data, ies->len); in wilc_parse_join_bss_param()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c745 static u8 *iwl_mvm_copy_and_insert_ds_elem(struct iwl_mvm *mvm, const u8 *ies, in iwl_mvm_copy_and_insert_ds_elem() argument
758 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem()
762 offs = ieee80211_ie_split(ies, len, in iwl_mvm_copy_and_insert_ds_elem()
767 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem()
775 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem()
799 struct ieee80211_scan_ies *ies, in iwl_mvm_build_scan_probe() argument
833 ies->ies[NL80211_BAND_2GHZ], in iwl_mvm_build_scan_probe()
834 ies->len[NL80211_BAND_2GHZ], in iwl_mvm_build_scan_probe()
840 memcpy(pos, ies->ies[NL80211_BAND_5GHZ], in iwl_mvm_build_scan_probe()
841 ies->len[NL80211_BAND_5GHZ]); in iwl_mvm_build_scan_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Devent.c62 qlink_for_each_tlv(tlv, sta_assoc->ies, payload_len) { in qtnf_event_handle_sta_assoc()
87 if (!qlink_tlv_parsing_ok(tlv, sta_assoc->ies, payload_len)) { in qtnf_event_handle_sta_assoc()
230 qlink_for_each_tlv(tlv, join_info->ies, payload_len) { in qtnf_event_handle_bss_join()
264 if (!qlink_tlv_parsing_ok(tlv, join_info->ies, payload_len)) in qtnf_event_handle_bss_join()
351 const u8 *ies = NULL; in qtnf_event_handle_scan_results() local
397 ies = ie_set->ie_data; in qtnf_event_handle_scan_results()
409 le16_to_cpu(sr->bintval), ies, ies_len, in qtnf_event_handle_scan_results()
661 memcpy(ie, owe_ev->ies, ie_len); in qtnf_event_handle_update_owe()
Dqlink.h975 u8 ies[]; member
1273 u8 ies[]; member
1300 u8 ies[]; member
1459 u8 ies[]; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c322 memcpy((unsigned char *)&val, rtw_get_beacon_interval_from_ie(bss->ies), 2); in get_beacon_interval()
830 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info()
834 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, bssid->ie_length - _FIXED… in rtw_check_bcn_info()
844 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->ie_length - _FIXED_I… in rtw_check_bcn_info()
866 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, _DSSET_IE_, &len, bssid->ie_length - _FIXED_IE_LENG… in rtw_check_bcn_info()
870 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->ie_length - _FIXED_I… in rtw_check_bcn_info()
886 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, _SSID_IE_, &len, bssid->ie_length - _FIXED_IE_LENGT… in rtw_check_bcn_info()
924 rtw_get_sec_ie(bssid->ies, bssid->ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
941 pbuf = rtw_get_wpa_ie(&bssid->ies[12], &wpa_ielen, in rtw_check_bcn_info()
950 pbuf = rtw_get_wpa2_ie(&bssid->ies[12], &wpa_ielen, in rtw_check_bcn_info()
[all …]
Drtw_ieee80211.c212 u8 *ie = pdev_network->ies; in rtw_generate_ie()
923 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length - 12); in rtw_get_cipher_info()
938 pbuf = rtw_get_wpa2_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length - 12); in rtw_get_cipher_info()
968 memcpy(&le_tmp, rtw_get_capability_from_ie(pnetwork->network.ies), 2); in rtw_get_bcn_info()
976 rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
998 …p = rtw_get_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, pnetwork->netw… in rtw_get_bcn_info()
1008 …p = rtw_get_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, pnetwork->networ… in rtw_get_bcn_info()
Drtw_cmd.c420 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], in rtw_joinbss_cmd()
423 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], 255); in rtw_joinbss_cmd()
434 psecnetwork->ie_length = rtw_restruct_sec_ie(padapter, &pnetwork->network.ies[0], in rtw_joinbss_cmd()
435 &psecnetwork->ies[0], in rtw_joinbss_cmd()
443 tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], in rtw_joinbss_cmd()
444 &psecnetwork->ies[0], in rtw_joinbss_cmd()
468 rtw_restructure_ht_ie(padapter, &pnetwork->network.ies[0], in rtw_joinbss_cmd()
469 &psecnetwork->ies[0], in rtw_joinbss_cmd()
474 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.ies, pnetwork->network.ie_length); in rtw_joinbss_cmd()
Drtw_mlme_ext.c271 static int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode) in update_hidden_ssid() argument
277 ssid_ie = rtw_get_ie(ies, WLAN_EID_SSID, &ssid_len_ori, ies_len); in update_hidden_ssid()
285 remain_len = ies_len - (next_ie - ies); in update_hidden_ssid()
358 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_beacon()
386 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in issue_beacon()
393 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in issue_beacon()
501 …pwps_ie = rtw_get_wps_ie(cur_network->ies + _FIXED_IE_LENGTH_, cur_network->ie_length - _FIXED_IE_… in issue_probersp()
508 wps_offset = (uint)(pwps_ie - cur_network->ies); in issue_probersp()
514 memcpy(pframe, cur_network->ies, wps_offset); in issue_probersp()
531 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_probersp()
[all …]
Drtw_mlme.c265 memcpy((u8 *)&val, rtw_get_capability_from_ie(bss->ies), 2); in rtw_get_capability()
302 memcpy((u8 *)&le_scap, rtw_get_capability_from_ie(src->ies), 2); in is_same_network()
303 memcpy((u8 *)&le_dcap, rtw_get_capability_from_ie(dst->ies), 2); in is_same_network()
384 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fi… in update_current_network()
513 …if (rtw_get_wps_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, pnetwork->network.ie_length - _FIXED… in rtw_is_desired_network()
566 memcpy(pmlmepriv->cur_network.network.ies, pnetwork->ies, 8); in rtw_survey_event_callback()
570 memcpy(ibss_wlan->network.ies, pnetwork->ies, 8); in rtw_survey_event_callback()
913 memcpy(&cur_network->network.ies[0], &ptarget_wlan->network.ies[0], MAX_IE_SZ); in rtw_joinbss_update_network()
941 rtw_update_protection(padapter, (cur_network->network.ies) + in rtw_joinbss_update_network()
944 rtw_update_ht_cap(padapter, cur_network->network.ies, cur_network->network.ie_length); in rtw_joinbss_update_network()
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h2444 const struct cfg80211_bss_ies __rcu *ies; member
5696 cfg80211_find_elem_match(u8 eid, const u8 *ies, unsigned int len,
5725 cfg80211_find_ie_match(u8 eid, const u8 *ies, unsigned int len, in cfg80211_find_ie_match() argument
5736 return (void *)cfg80211_find_elem_match(eid, ies, len, in cfg80211_find_ie_match()
5758 cfg80211_find_elem(u8 eid, const u8 *ies, int len) in cfg80211_find_elem() argument
5760 return cfg80211_find_elem_match(eid, ies, len, NULL, 0, 0); in cfg80211_find_elem()
5778 static inline const u8 *cfg80211_find_ie(u8 eid, const u8 *ies, int len) in cfg80211_find_ie() argument
5780 return cfg80211_find_ie_match(eid, ies, len, NULL, 0, 0); in cfg80211_find_ie()
5799 cfg80211_find_ext_elem(u8 ext_eid, const u8 *ies, int len) in cfg80211_find_ext_elem() argument
5801 return cfg80211_find_elem_match(WLAN_EID_EXTENSION, ies, len, in cfg80211_find_ext_elem()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dmain.c427 u8 *ies = NULL, *wpa_ie = NULL, *pos; in ath6kl_connect_ap_mode_sta() local
442 ies = mgmt->u.assoc_req.variable; in ath6kl_connect_ap_mode_sta()
443 ies_len = assoc_info + assoc_req_len - ies; in ath6kl_connect_ap_mode_sta()
447 ies = mgmt->u.reassoc_req.variable; in ath6kl_connect_ap_mode_sta()
448 ies_len = assoc_info + assoc_req_len - ies; in ath6kl_connect_ap_mode_sta()
452 pos = ies; in ath6kl_connect_ap_mode_sta()
453 while (pos && pos + 1 < ies + ies_len) { in ath6kl_connect_ap_mode_sta()
454 if (pos + 2 + pos[1] > ies + ies_len) in ath6kl_connect_ap_mode_sta()
494 sinfo->assoc_req_ies = ies; in ath6kl_connect_ap_mode_sta()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dscan.c378 u8 *ies; in cw1200_probe_work() local
415 ies = &frame.skb->data[sizeof(struct ieee80211_hdr_3addr)]; in cw1200_probe_work()
420 (u8 *)cfg80211_find_ie(WLAN_EID_SSID, ies, ies_len); in cw1200_probe_work()
434 memmove(&ssidie[2], nextie, &ies[ies_len] - nextie); in cw1200_probe_work()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c148 const struct cfg80211_bss_ies *ies; in mwifiex_fill_new_bss_desc() local
151 ies = rcu_dereference(bss->ies); in mwifiex_fill_new_bss_desc()
152 beacon_ie = kmemdup(ies->data, ies->len, GFP_ATOMIC); in mwifiex_fill_new_bss_desc()
153 beacon_ie_len = ies->len; in mwifiex_fill_new_bss_desc()
154 bss_desc->timestamp = ies->tsf; in mwifiex_fill_new_bss_desc()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c231 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in ConstructBeacon()
237 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in ConstructBeacon()
244 memcpy(pframe, cur_network->ies + sizeof(struct ndis_802_11_fixed_ie), pktlen); in ConstructBeacon()
410 memcpy(pframe, cur_network->ies, cur_network->ie_length); in ConstructProbeRsp()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dhif_tx.h58 int hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len);
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dscan.h26 struct ieee80211_scan_ies *ies);

123