Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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);
/linux-6.6.21/net/wireless/
Dscan.c120 struct cfg80211_bss_ies *ies; in bss_free() local
125 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
126 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
127 kfree_rcu(ies, rcu_head); in bss_free()
128 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
129 if (ies) in bss_free()
130 kfree_rcu(ies, rcu_head); in bss_free()
420 const struct cfg80211_bss_ies *ies; in is_bss() local
429 ies = rcu_access_pointer(a->ies); in is_bss()
430 if (!ies) in is_bss()
[all …]
Dutil.c997 const struct cfg80211_bss_ies *ies; in ieee80211_bss_get_elem() local
999 ies = rcu_dereference(bss->ies); in ieee80211_bss_get_elem()
1000 if (!ies) in ieee80211_bss_get_elem()
1003 return cfg80211_find_elem(id, ies->data, ies->len); in ieee80211_bss_get_elem()
1782 int cfg80211_get_p2p_attr(const u8 *ies, unsigned int len, in cfg80211_get_p2p_attr() argument
1798 iedatalen = ies[1]; in cfg80211_get_p2p_attr()
1802 if (ies[0] != WLAN_EID_VENDOR_SPECIFIC) in cfg80211_get_p2p_attr()
1808 iedata = ies + 2; in cfg80211_get_p2p_attr()
1871 len -= ies[1] + 2; in cfg80211_get_p2p_attr()
1872 ies += ies[1] + 2; in cfg80211_get_p2p_attr()
[all …]
/linux-6.6.21/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);
/linux-6.6.21/net/mac80211/
Dfils_aead.c221 u8 *capab, *ies, *encr; in fils_encrypt_assoc_req() local
229 ies = mgmt->u.reassoc_req.variable; in fils_encrypt_assoc_req()
232 ies = mgmt->u.assoc_req.variable; in fils_encrypt_assoc_req()
236 ies, skb->data + skb->len - ies); in fils_encrypt_assoc_req()
273 u8 *capab, *ies, *encr; in fils_decrypt_assoc_resp() local
284 ies = mgmt->u.assoc_resp.variable; in fils_decrypt_assoc_resp()
286 ies, frame + *frame_len - ies); in fils_decrypt_assoc_resp()
Dmlme.c2767 const struct cfg80211_bss_ies *ies; in ieee80211_link_set_associated() local
2770 ies = rcu_dereference(cbss->ies); in ieee80211_link_set_associated()
2771 if (ies) { in ieee80211_link_set_associated()
2775 ies->data, ies->len, in ieee80211_link_set_associated()
4095 const struct cfg80211_bss_ies *ies; in ieee80211_assoc_config_link() local
4099 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_config_link()
4100 if (ies) in ieee80211_assoc_config_link()
4101 bss_ies = kmemdup(ies, sizeof(*ies) + ies->len, in ieee80211_assoc_config_link()
4208 const struct cfg80211_bss_ies *ies; in ieee80211_assoc_config_link() local
4217 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_config_link()
[all …]
Dscan.c65 const struct cfg80211_bss_ies *ies, in ieee80211_inform_bss() argument
79 elems = ieee802_11_parse_elems(ies->data, ies->len, false, NULL); in ieee80211_inform_bss()
395 &local->hw_scan_req->ies, in ieee80211_prep_hw_scan()
706 u8 *ies; in __ieee80211_start_scan() local
733 ies = (u8 *)local->hw_scan_req + in __ieee80211_start_scan()
736 local->hw_scan_req->req.ie = ies; in __ieee80211_start_scan()
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dhif.c383 const struct cfg80211_bss_ies *ies = rcu_dereference(bss->ies); in wilc_parse_join_bss_param() local
395 ssid_elm = cfg80211_find_ie(WLAN_EID_SSID, ies->data, ies->len); in wilc_parse_join_bss_param()
401 tim_elm = cfg80211_find_ie(WLAN_EID_TIM, ies->data, ies->len); in wilc_parse_join_bss_param()
408 rates_ie = cfg80211_find_ie(WLAN_EID_SUPP_RATES, ies->data, ies->len); in wilc_parse_join_bss_param()
419 ies->data, ies->len); in wilc_parse_join_bss_param()
434 ht_ie = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, ies->data, ies->len); in wilc_parse_join_bss_param()
438 ret = cfg80211_get_p2p_attr(ies->data, ies->len, in wilc_parse_join_bss_param()
442 param->tsf_lo = cpu_to_le32(ies->tsf); in wilc_parse_join_bss_param()
462 ies->data, ies->len); in wilc_parse_join_bss_param()
477 ies->data, ies->len); in wilc_parse_join_bss_param()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c691 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
704 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem()
708 offs = ieee80211_ie_split(ies, len, in iwl_mvm_copy_and_insert_ds_elem()
713 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem()
721 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem()
745 struct ieee80211_scan_ies *ies, in iwl_mvm_build_scan_probe() argument
779 ies->ies[NL80211_BAND_2GHZ], in iwl_mvm_build_scan_probe()
780 ies->len[NL80211_BAND_2GHZ], in iwl_mvm_build_scan_probe()
786 memcpy(pos, ies->ies[NL80211_BAND_5GHZ], in iwl_mvm_build_scan_probe()
787 ies->len[NL80211_BAND_5GHZ]); in iwl_mvm_build_scan_probe()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c217 int rtw_ies_remove_ie(u8 *ies, uint *ies_len, uint offset, u8 eid, u8 *oui, u8 oui_len) in rtw_ies_remove_ie() argument
225 if (!ies || !ies_len || *ies_len <= offset) in rtw_ies_remove_ie()
228 start = ies + offset; in rtw_ies_remove_ie()
289 u8 *ie = pdev_network->ies; in rtw_generate_ie()
1005 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info()
1015 pbuf = rtw_get_wpa2_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info()
1042 memcpy((u8 *)&le_cap, rtw_get_capability_from_ie(pnetwork->network.ies), 2); in rtw_get_bcn_info()
1050 rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1064 …p = rtw_get_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_CAPABILITY, &len, pnetwork->… in rtw_get_bcn_info()
1072 …p = rtw_get_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_OPERATION, &len, pnetwork->n… in rtw_get_bcn_info()
Drtw_cmd.c727 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], psecnetwork->ie_length-12); in rtw_joinbss_cmd()
729 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], (256-1)); in rtw_joinbss_cmd()
740 …k->ie_length = rtw_restruct_sec_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnet… in rtw_joinbss_cmd()
746 …tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork-… in rtw_joinbss_cmd()
757 …ptmp = rtw_get_ie(&pnetwork->network.ies[12], WLAN_EID_HT_CAPABILITY, &tmp_len, pnetwork->network.… in rtw_joinbss_cmd()
767 rtw_build_wmm_ie_ht(padapter, &psecnetwork->ies[12], &psecnetwork->ie_length); in rtw_joinbss_cmd()
770 rtw_restructure_ht_ie(padapter, &pnetwork->network.ies[12], &psecnetwork->ies[0], in rtw_joinbss_cmd()
776 rtw_append_exented_cap(padapter, &psecnetwork->ies[0], &psecnetwork->ie_length); in rtw_joinbss_cmd()
778 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.ies, pnetwork->network.ie_length); in rtw_joinbss_cmd()
Drtw_wlan_util.c379 memcpy((unsigned char *)&val, rtw_get_beacon_interval_from_ie(bss->ies), 2); in get_beacon_interval()
1197 memcpy(bssid->ies, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->ie_length); in rtw_check_bcn_info()
1201 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_CAPABILITY, &len, bssid->ie_length - _F… in rtw_check_bcn_info()
1209 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_OPERATION, &len, bssid->ie_length - _FI… in rtw_check_bcn_info()
1228 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_DS_PARAMS, &len, bssid->ie_length - _FIXED… in rtw_check_bcn_info()
1232 rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_HT_OPERATION, in rtw_check_bcn_info()
1245 …p = rtw_get_ie(bssid->ies + _FIXED_IE_LENGTH_, WLAN_EID_SSID, &len, bssid->ie_length - _FIXED_IE_L… in rtw_check_bcn_info()
1271 rtw_get_sec_ie(bssid->ies, bssid->ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1285 pbuf = rtw_get_wpa_ie(&bssid->ies[12], &wpa_ielen, bssid->ie_length-12); in rtw_check_bcn_info()
1290 pbuf = rtw_get_wpa2_ie(&bssid->ies[12], &wpa_ielen, bssid->ie_length-12); in rtw_check_bcn_info()
[all …]
Drtw_mlme_ext.c2080 static int update_hidden_ssid(u8 *ies, u32 ies_len, u8 hidden_ssid_mode) in update_hidden_ssid() argument
2086 ssid_ie = rtw_get_ie(ies, WLAN_EID_SSID, &ssid_len_ori, ies_len); in update_hidden_ssid()
2095 remain_len = ies_len - (next_ie-ies); in update_hidden_ssid()
2163 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_beacon()
2198 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in issue_beacon()
2205 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in issue_beacon()
2315 …pwps_ie = rtw_get_wps_ie(cur_network->ies+_FIXED_IE_LENGTH_, cur_network->ie_length-_FIXED_IE_LENG… in issue_probersp()
2322 wps_offset = (uint)(pwps_ie - cur_network->ies); in issue_probersp()
2328 memcpy(pframe, cur_network->ies, wps_offset); in issue_probersp()
2345 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_probersp()
[all …]
Drtw_mlme.c309 memcpy((u8 *)&val, rtw_get_capability_from_ie(bss->ies), 2); in rtw_get_capability()
385 memcpy((u8 *)&tmps, rtw_get_capability_from_ie(src->ies), 2); in is_same_network()
386 memcpy((u8 *)&tmpd, rtw_get_capability_from_ie(dst->ies), 2); in is_same_network()
502 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fi… in update_current_network()
652 …if (rtw_get_wps_ie(pnetwork->network.ies+_FIXED_IE_LENGTH_, pnetwork->network.ie_length-_FIXED_IE_… in rtw_is_desired_network()
666 …p = rtw_get_ie(pnetwork->network.ies + _BEACON_IE_OFFSET_, WLAN_EID_RSN, &ie_len, (pnetwork->netwo… in rtw_is_desired_network()
709 memcpy(pmlmepriv->cur_network.network.ies, pnetwork->ies, 8); in rtw_survey_event_callback()
713 memcpy(ibss_wlan->network.ies, pnetwork->ies, 8); in rtw_survey_event_callback()
1105 memcpy(&cur_network->network.ies[0], &ptarget_wlan->network.ies[0], MAX_IE_SZ); in rtw_joinbss_update_network()
1136 rtw_update_protection(padapter, (cur_network->network.ies) + sizeof(struct ndis_802_11_fix_ie), in rtw_joinbss_update_network()
[all …]
/linux-6.6.21/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()
231 qlink_for_each_tlv(tlv, join_info->ies, payload_len) { in qtnf_event_handle_bss_join()
265 if (!qlink_tlv_parsing_ok(tlv, join_info->ies, payload_len)) in qtnf_event_handle_bss_join()
352 const u8 *ies = NULL; in qtnf_event_handle_scan_results() local
398 ies = ie_set->ie_data; in qtnf_event_handle_scan_results()
410 le16_to_cpu(sr->bintval), ies, ies_len, in qtnf_event_handle_scan_results()
662 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
/linux-6.6.21/include/net/
Dcfg80211.h2797 const struct cfg80211_bss_ies __rcu *ies; member
4506 const struct cfg80211_bss_ies *ies, void *data);
6534 cfg80211_find_elem_match(u8 eid, const u8 *ies, unsigned int len,
6563 cfg80211_find_ie_match(u8 eid, const u8 *ies, unsigned int len, in cfg80211_find_ie_match() argument
6574 return (const void *)cfg80211_find_elem_match(eid, ies, len, in cfg80211_find_ie_match()
6596 cfg80211_find_elem(u8 eid, const u8 *ies, int len) in cfg80211_find_elem() argument
6598 return cfg80211_find_elem_match(eid, ies, len, NULL, 0, 0); in cfg80211_find_elem()
6616 static inline const u8 *cfg80211_find_ie(u8 eid, const u8 *ies, int len) in cfg80211_find_ie() argument
6618 return cfg80211_find_ie_match(eid, ies, len, NULL, 0, 0); in cfg80211_find_ie()
6637 cfg80211_find_ext_elem(u8 ext_eid, const u8 *ies, int len) in cfg80211_find_ext_elem() argument
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c136 const struct cfg80211_bss_ies *ies; in mwifiex_fill_new_bss_desc() local
139 ies = rcu_dereference(bss->ies); in mwifiex_fill_new_bss_desc()
140 beacon_ie = kmemdup(ies->data, ies->len, GFP_ATOMIC); in mwifiex_fill_new_bss_desc()
141 beacon_ie_len = ies->len; in mwifiex_fill_new_bss_desc()
142 bss_desc->timestamp = ies->tsf; in mwifiex_fill_new_bss_desc()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dhif_tx.h54 int wfx_hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len);
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dscan.h26 struct ieee80211_scan_ies *ies);
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h169 u8 ies[MAX_IE_SZ]; /* timestamp, beacon interval, and capability information) */ member

1234