Home
last modified time | relevance | path

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

/linux-4.4.14/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.c2477 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() argument
2494 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie()
2495 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie()
2497 if (country_ie[2] == 'I') in regulatory_hint_country_ie()
2499 else if (country_ie[2] == 'O') in regulatory_hint_country_ie()
/linux-4.4.14/drivers/net/wireless/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()
/linux-4.4.14/net/mac80211/
Dmlme.c1272 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() argument
1285 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr()
1348 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() argument
1358 if (country_ie && in ieee80211_handle_pwr_constr()
1362 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c4066 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local
4090 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap()
4093 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()