Home
last modified time | relevance | path

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

/Linux-v5.15/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.c461 const u8 *country_ie; in mwifiex_config_uap_11d() local
463 country_ie = cfg80211_find_ie(WLAN_EID_COUNTRY, beacon_data->tail, in mwifiex_config_uap_11d()
465 if (country_ie) { in mwifiex_config_uap_11d()
/Linux-v5.15/net/wireless/
Dsme.c683 const u8 *country_ie; in __cfg80211_connect_result() local
765 country_ie = ieee80211_bss_get_ie(cr->bss, WLAN_EID_COUNTRY); in __cfg80211_connect_result()
766 if (!country_ie) { in __cfg80211_connect_result()
771 country_ie = kmemdup(country_ie, 2 + country_ie[1], GFP_ATOMIC); in __cfg80211_connect_result()
774 if (!country_ie) in __cfg80211_connect_result()
783 country_ie + 2, country_ie[1]); in __cfg80211_connect_result()
784 kfree(country_ie); in __cfg80211_connect_result()
Dreg.h112 const u8 *country_ie,
Dreg.c3296 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() argument
3313 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie()
3314 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie()
3316 if (country_ie[2] == 'I') in regulatory_hint_country_ie()
3318 else if (country_ie[2] == 'O') in regulatory_hint_country_ie()
/Linux-v5.15/net/mac80211/
Dmlme.c1471 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() argument
1484 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr()
1556 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() argument
1569 if (country_ie && in ieee80211_handle_pwr_constr()
1573 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr()
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c4708 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local
4734 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap()
4737 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()