Home
last modified time | relevance | path

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

/Linux-v4.19/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()
232 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie()
234 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie()
235 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie()
244 &country_ie[2] + IEEE80211_COUNTRY_STRING_LEN, country_ie_len); in mwifiex_process_country_ie()
Duap_cmd.c453 const u8 *country_ie; in mwifiex_config_uap_11d() local
455 country_ie = cfg80211_find_ie(WLAN_EID_COUNTRY, beacon_data->tail, in mwifiex_config_uap_11d()
457 if (country_ie) { in mwifiex_config_uap_11d()
/Linux-v4.19/net/wireless/
Dsme.c680 const u8 *country_ie; in __cfg80211_connect_result() local
761 country_ie = ieee80211_bss_get_ie(cr->bss, WLAN_EID_COUNTRY); in __cfg80211_connect_result()
762 if (!country_ie) { in __cfg80211_connect_result()
767 country_ie = kmemdup(country_ie, 2 + country_ie[1], GFP_ATOMIC); in __cfg80211_connect_result()
770 if (!country_ie) in __cfg80211_connect_result()
779 country_ie + 2, country_ie[1]); in __cfg80211_connect_result()
780 kfree(country_ie); in __cfg80211_connect_result()
Dreg.h111 const u8 *country_ie,
Dreg.c2979 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() argument
2996 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie()
2997 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie()
2999 if (country_ie[2] == 'I') in regulatory_hint_country_ie()
3001 else if (country_ie[2] == 'O') in regulatory_hint_country_ie()
/Linux-v4.19/net/mac80211/
Dmlme.c1386 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() argument
1399 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr()
1462 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() argument
1472 if (country_ie && in ieee80211_handle_pwr_constr()
1476 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c4392 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local
4420 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap()
4423 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()