/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_ioctl.c | 208 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()
|
H A D | uap_cmd.c | 460 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_ioctl.c | 196 const u8 *country_ie; in mwifiex_process_country_ie() local 202 country_ie = ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in mwifiex_process_country_ie() 203 if (!country_ie) { in mwifiex_process_country_ie() 208 country_ie_len = country_ie[1]; in mwifiex_process_country_ie() 214 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in mwifiex_process_country_ie() 229 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie() 231 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie() 232 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie() 241 &country_ie[2] + IEEE80211_COUNTRY_STRING_LEN, country_ie_len); in mwifiex_process_country_ie()
|
H A D | uap_cmd.c | 449 const u8 *country_ie; in mwifiex_config_uap_11d() local 451 country_ie = cfg80211_find_ie(WLAN_EID_COUNTRY, beacon_data->tail, in mwifiex_config_uap_11d() 453 if (country_ie) { in mwifiex_config_uap_11d()
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | reg.h | 96 * @country_ie: pointer to the country IE 113 const u8 *country_ie,
|
H A D | sme.c | 696 const u8 *country_ie; in __cfg80211_connect_result() local 778 country_ie = ieee80211_bss_get_ie(cr->bss, WLAN_EID_COUNTRY); in __cfg80211_connect_result() 779 if (!country_ie) { in __cfg80211_connect_result() 784 country_ie = kmemdup(country_ie, 2 + country_ie[1], GFP_ATOMIC); in __cfg80211_connect_result() 787 if (!country_ie) in __cfg80211_connect_result() 792 * - country_ie + 2, the start of the country ie data, and in __cfg80211_connect_result() 793 * - and country_ie[1] which is the IE length in __cfg80211_connect_result() 796 country_ie in __cfg80211_connect_result() [all...] |
H A D | reg.c | 3259 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() 3276 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie() 3277 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie() 3279 if (country_ie[2] == 'I') in regulatory_hint_country_ie() 3281 else if (country_ie[2] == 'O') in regulatory_hint_country_ie() 3258 regulatory_hint_country_ie(struct wiphy *wiphy, enum nl80211_band band, const u8 *country_ie, u8 country_ie_len) regulatory_hint_country_ie() argument
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | reg.h | 95 * @country_ie: pointer to the country IE 112 const u8 *country_ie,
|
H A D | reg.c | 3336 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() 3353 alpha2[0] = country_ie[0]; in regulatory_hint_country_ie() 3354 alpha2[1] = country_ie[1]; in regulatory_hint_country_ie() 3356 if (country_ie[2] == 'I') in regulatory_hint_country_ie() 3358 else if (country_ie[2] == 'O') in regulatory_hint_country_ie() 3335 regulatory_hint_country_ie(struct wiphy *wiphy, enum nl80211_band band, const u8 *country_ie, u8 country_ie_len) regulatory_hint_country_ie() argument
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | mlme.c | 1535 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() 1548 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr() 1612 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() 1625 if (country_ie && in ieee80211_handle_pwr_constr() 1629 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr() 1533 ieee80211_find_80211h_pwr_constr(struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *channel, const u8 *country_ie, u8 country_ie_len, const u8 *pwr_constr_elem, int *chan_pwr, int *pwr_reduction) ieee80211_find_80211h_pwr_constr() argument 1609 ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *channel, struct ieee80211_mgmt *mgmt, const u8 *country_ie, u8 country_ie_len, const u8 *pwr_constr_ie, const u8 *cisco_dtpc_ie) ieee80211_handle_pwr_constr() argument
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | mlme.c | 2024 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() 2037 triplet = (void *)(country_ie + 3); in ieee80211_find_80211h_pwr_constr() 2110 const u8 *country_ie, u8 country_ie_len, in ieee80211_handle_pwr_constr() 2124 if (country_ie && in ieee80211_handle_pwr_constr() 2128 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr() 2022 ieee80211_find_80211h_pwr_constr(struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *channel, const u8 *country_ie, u8 country_ie_len, const u8 *pwr_constr_elem, int *chan_pwr, int *pwr_reduction) ieee80211_find_80211h_pwr_constr() argument 2107 ieee80211_handle_pwr_constr(struct ieee80211_link_data *link, struct ieee80211_channel *channel, struct ieee80211_mgmt *mgmt, const u8 *country_ie, u8 country_ie_len, const u8 *pwr_constr_ie, const u8 *cisco_dtpc_ie) ieee80211_handle_pwr_constr() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | cfg80211.c | 4699 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local 4725 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap() 4728 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | cfg80211.c | 5111 const struct brcmf_tlv *country_ie; in brcmf_cfg80211_start_ap() local 5137 country_ie = brcmf_parse_tlvs((u8 *)settings->beacon.tail, in brcmf_cfg80211_start_ap() 5140 is_11d = country_ie ? 1 : 0; in brcmf_cfg80211_start_ap()
|