Home
last modified time | relevance | path

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

/linux-4.1.27/net/wireless/
Dsme.c643 const u8 *country_ie; in __cfg80211_connect_result() local
722 country_ie = ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in __cfg80211_connect_result()
723 if (!country_ie) { in __cfg80211_connect_result()
728 country_ie = kmemdup(country_ie, 2 + country_ie[1], GFP_ATOMIC); in __cfg80211_connect_result()
731 if (!country_ie) in __cfg80211_connect_result()
740 country_ie + 2, country_ie[1]); in __cfg80211_connect_result()
741 kfree(country_ie); in __cfg80211_connect_result()
Dreg.h108 const u8 *country_ie,
Dreg.c2388 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() argument
2405 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie()
2406 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie()
2408 if (country_ie[2] == 'I') in regulatory_hint_country_ie()
2410 else if (country_ie[2] == 'O') in regulatory_hint_country_ie()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dsta_ioctl.c202 const u8 *country_ie; in mwifiex_process_country_ie() local
208 country_ie = ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in mwifiex_process_country_ie()
209 if (!country_ie) { in mwifiex_process_country_ie()
214 country_ie_len = country_ie[1]; in mwifiex_process_country_ie()
220 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in mwifiex_process_country_ie()
226 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie()
228 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie()
229 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie()
238 &country_ie[2] + IEEE80211_COUNTRY_STRING_LEN, country_ie_len); in mwifiex_process_country_ie()
/linux-4.1.27/net/mac80211/
Dmlme.c1241 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() argument
1254 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr()
1317 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() argument
1327 if (country_ie && in ieee80211_handle_pwr_constr()
1331 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c3981 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local
4005 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap()
4008 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()