Home
last modified time | relevance | path

Searched refs:country_ie (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c208 const u8 *country_ie; in mwifiex_process_country_ie() local
214 country_ie = ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in mwifiex_process_country_ie()
215 if (!country_ie) { in mwifiex_process_country_ie()
220 country_ie_len = country_ie[1]; in mwifiex_process_country_ie()
226 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in mwifiex_process_country_ie()
241 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie()
243 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie()
244 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie()
253 &country_ie[2] + IEEE80211_COUNTRY_STRING_LEN, country_ie_len); in mwifiex_process_country_ie()
Duap_cmd.c460 const u8 *country_ie; in mwifiex_config_uap_11d() local
462 country_ie = cfg80211_find_ie(WLAN_EID_COUNTRY, beacon_data->tail, in mwifiex_config_uap_11d()
464 if (country_ie) { in mwifiex_config_uap_11d()
/Linux-v5.10/net/wireless/
Dsme.c684 const u8 *country_ie; in __cfg80211_connect_result() local
766 country_ie = ieee80211_bss_get_ie(cr->bss, WLAN_EID_COUNTRY); in __cfg80211_connect_result()
767 if (!country_ie) { in __cfg80211_connect_result()
772 country_ie = kmemdup(country_ie, 2 + country_ie[1], GFP_ATOMIC); in __cfg80211_connect_result()
775 if (!country_ie) in __cfg80211_connect_result()
784 country_ie + 2, country_ie[1]); in __cfg80211_connect_result()
785 kfree(country_ie); in __cfg80211_connect_result()
Dreg.h113 const u8 *country_ie,
Dreg.c3249 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() argument
3266 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie()
3267 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie()
3269 if (country_ie[2] == 'I') in regulatory_hint_country_ie()
3271 else if (country_ie[2] == 'O') in regulatory_hint_country_ie()
/Linux-v5.10/net/mac80211/
Dmlme.c1538 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() argument
1551 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr()
1615 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() argument
1628 if (country_ie && in ieee80211_handle_pwr_constr()
1632 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c4691 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local
4717 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap()
4720 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()