| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | sme.c | 684 const u8 *country_ie; in __cfg80211_connect_result() local 766 country_ie = ieee80211_bss_get_ie(cr->bss, WLAN_EID_COUNTRY); in __cfg80211_connect_result() 767 if (!country_ie) { in __cfg80211_connect_result() 772 country_ie = kmemdup(country_ie, 2 + country_ie[1], GFP_ATOMIC); in __cfg80211_connect_result() 775 if (!country_ie) in __cfg80211_connect_result() 784 country_ie + 2, country_ie[1]); in __cfg80211_connect_result() 785 kfree(country_ie); in __cfg80211_connect_result()
|
| H A D | reg.h | 113 const u8 *country_ie,
|
| H A D | reg.c | 3259 const u8 *country_ie, u8 country_ie_len) in regulatory_hint_country_ie() argument 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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_chplan.h | 250 , BAND_TYPE band, u8 opch, const u8 *country_ie, struct country_chplan *ent
|
| H A D | rtw_cmd.c | 1002 const u8 *country_ie = NULL; in rtw_joinbss_check_country_ie() local 1006 country_ie = rtw_get_ie(BSS_EX_TLV_IES(network) in rtw_joinbss_check_country_ie() 1008 if (country_ie) { in rtw_joinbss_check_country_ie() 1010 country_ie = NULL; in rtw_joinbss_check_country_ie() 1017 if (country_ie) { in rtw_joinbss_check_country_ie() 1020 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 1024 , network->Configuration.DSConfig, country_ie, ent, NULL, __func__); in rtw_joinbss_check_country_ie() 1030 , country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 2170 …ply_recv_country_ie_cmd(_adapter *adapter, int flags, BAND_TYPE band,u8 opch, const u8 *country_ie) in rtw_apply_recv_country_ie_cmd() argument 2175 rtw_get_chplan_from_recv_country_ie(adapter, band, opch, country_ie, &ent, &cisr, NULL); in rtw_apply_recv_country_ie_cmd()
|
| H A D | rtw_chplan.c | 3111 , BAND_TYPE band, u8 opch, const u8 *country_ie, struct country_chplan *ent in rtw_get_chplan_from_recv_country_ie() argument 3115 const char *country_code = country_ie ? country_ie + 2 : NULL; in rtw_get_chplan_from_recv_country_ie() 3192 const u8 country_ie[4] = {WLAN_EID_COUNTRY, 2, cisr->alpha2[0], cisr->alpha2[1]}; in rtw_get_chplan_from_cisrs() local 3195 …status = rtw_get_chplan_from_recv_country_ie(adapter, cisr->band, cisr->opch, country_ie, ent, NUL… in rtw_get_chplan_from_cisrs()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_chplan.h | 249 , enum band_type band, u8 opch, const u8 *country_ie, struct country_chplan *ent
|
| H A D | rtw_cmd.c | 760 const u8 *country_ie = NULL; in rtw_joinbss_check_country_ie() local 764 country_ie = rtw_get_ie(BSS_EX_TLV_IES(network) in rtw_joinbss_check_country_ie() 766 if (country_ie) { in rtw_joinbss_check_country_ie() 768 country_ie = NULL; in rtw_joinbss_check_country_ie() 775 if (country_ie) { in rtw_joinbss_check_country_ie() 778 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 782 , network->Configuration.DSConfig, country_ie, ent, NULL, __func__); in rtw_joinbss_check_country_ie() 788 , country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 2077 …ecv_country_ie_cmd(_adapter *adapter, int flags, enum band_type band,u8 opch, const u8 *country_ie) in rtw_apply_recv_country_ie_cmd() argument 2082 rtw_get_chplan_from_recv_country_ie(adapter, band, opch, country_ie, &ent, &cisr, NULL); in rtw_apply_recv_country_ie_cmd()
|
| H A D | rtw_chplan.c | 3345 , enum band_type band, u8 opch, const u8 *country_ie, struct country_chplan *ent in rtw_get_chplan_from_recv_country_ie() argument 3349 const char *country_code = country_ie ? country_ie + 2 : NULL; in rtw_get_chplan_from_recv_country_ie() 3426 const u8 country_ie[4] = {WLAN_EID_COUNTRY, 2, cisr->alpha2[0], cisr->alpha2[1]}; in rtw_get_chplan_from_cisrs() local 3429 …status = rtw_get_chplan_from_recv_country_ie(adapter, cisr->band, cisr->opch, country_ie, ent, NUL… in rtw_get_chplan_from_cisrs()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_chplan.h | 249 , enum band_type band, u8 opch, const u8 *country_ie, struct country_chplan *ent
|
| H A D | rtw_cmd.c | 760 const u8 *country_ie = NULL; in rtw_joinbss_check_country_ie() local 764 country_ie = rtw_get_ie(BSS_EX_TLV_IES(network) in rtw_joinbss_check_country_ie() 766 if (country_ie) { in rtw_joinbss_check_country_ie() 768 country_ie = NULL; in rtw_joinbss_check_country_ie() 775 if (country_ie) { in rtw_joinbss_check_country_ie() 778 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 782 , network->Configuration.DSConfig, country_ie, ent, NULL, __func__); in rtw_joinbss_check_country_ie() 788 , country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 2080 …ecv_country_ie_cmd(_adapter *adapter, int flags, enum band_type band,u8 opch, const u8 *country_ie) in rtw_apply_recv_country_ie_cmd() argument 2085 rtw_get_chplan_from_recv_country_ie(adapter, band, opch, country_ie, &ent, &cisr, NULL); in rtw_apply_recv_country_ie_cmd()
|
| H A D | rtw_chplan.c | 3345 , enum band_type band, u8 opch, const u8 *country_ie, struct country_chplan *ent in rtw_get_chplan_from_recv_country_ie() argument 3349 const char *country_code = country_ie ? country_ie + 2 : NULL; in rtw_get_chplan_from_recv_country_ie() 3426 const u8 country_ie[4] = {WLAN_EID_COUNTRY, 2, cisr->alpha2[0], cisr->alpha2[1]}; in rtw_get_chplan_from_cisrs() local 3429 …status = rtw_get_chplan_from_recv_country_ie(adapter, cisr->band, cisr->opch, country_ie, ent, NUL… in rtw_get_chplan_from_cisrs()
|
| H A D | rtw_mlme_ext.c | 10248 const u8 *country_ie = NULL; local 10253 country_ie = rtw_get_ie(BSS_EX_TLV_IES(network) 10255 if (country_ie) { 10257 country_ie = NULL; 10265 if (country_ie) { 10266 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); 10269 , network->Configuration.DSConfig, country_ie) != _SUCCESS
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_chplan.h | 250 , BAND_TYPE band, u8 opch, const u8 *country_ie, struct country_chplan *ent
|
| H A D | rtw_cmd.c | 1002 const u8 *country_ie = NULL; in rtw_joinbss_check_country_ie() local 1006 country_ie = rtw_get_ie(BSS_EX_TLV_IES(network) in rtw_joinbss_check_country_ie() 1008 if (country_ie) { in rtw_joinbss_check_country_ie() 1010 country_ie = NULL; in rtw_joinbss_check_country_ie() 1017 if (country_ie) { in rtw_joinbss_check_country_ie() 1020 rtw_buf_update(&mlme->recv_country_ie, &mlme->recv_country_ie_len, country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 1024 , network->Configuration.DSConfig, country_ie, ent, NULL, __func__); in rtw_joinbss_check_country_ie() 1030 , country_ie, country_ie_len); in rtw_joinbss_check_country_ie() 2170 …ply_recv_country_ie_cmd(_adapter *adapter, int flags, BAND_TYPE band,u8 opch, const u8 *country_ie) in rtw_apply_recv_country_ie_cmd() argument 2175 rtw_get_chplan_from_recv_country_ie(adapter, band, opch, country_ie, &ent, &cisr, NULL); in rtw_apply_recv_country_ie_cmd()
|
| H A D | rtw_chplan.c | 3111 , BAND_TYPE band, u8 opch, const u8 *country_ie, struct country_chplan *ent in rtw_get_chplan_from_recv_country_ie() argument 3115 const char *country_code = country_ie ? country_ie + 2 : NULL; in rtw_get_chplan_from_recv_country_ie() 3192 const u8 country_ie[4] = {WLAN_EID_COUNTRY, 2, cisr->alpha2[0], cisr->alpha2[1]}; in rtw_get_chplan_from_cisrs() local 3195 …status = rtw_get_chplan_from_recv_country_ie(adapter, cisr->band, cisr->opch, country_ie, ent, NUL… in rtw_get_chplan_from_cisrs()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/ |
| H A D | moal_sta_cfg80211.c | 1574 u8 *country_ie, country_ie_len; in woal_process_country_ie() local 1581 country_ie = (u8 *)ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in woal_process_country_ie() 1582 if (!country_ie) { in woal_process_country_ie() 1589 country_ie_len = country_ie[1]; in woal_process_country_ie() 1596 PRINTM(MIOCTL, "Find bss country IE: %c%c band=%d\n", country_ie[2], in woal_process_country_ie() 1597 country_ie[3], priv->phandle->band); in woal_process_country_ie() 1598 priv->phandle->country_code[0] = country_ie[2]; in woal_process_country_ie() 1599 priv->phandle->country_code[1] = country_ie[3]; in woal_process_country_ie() 1634 &country_ie[2] + COUNTRY_CODE_LEN, in woal_process_country_ie()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | rtw_cmd.h | 574 …cv_country_ie_cmd(_adapter *adapter, int flags, enum band_type band,u8 opch, const u8 *country_ie);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | rtw_cmd.h | 574 …cv_country_ie_cmd(_adapter *adapter, int flags, enum band_type band,u8 opch, const u8 *country_ie);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/ |
| H A D | rtw_cmd.h | 710 …ly_recv_country_ie_cmd(_adapter *adapter, int flags, BAND_TYPE band,u8 opch, const u8 *country_ie);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/ |
| H A D | rtw_cmd.h | 710 …ly_recv_country_ie_cmd(_adapter *adapter, int flags, BAND_TYPE band,u8 opch, const u8 *country_ie);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_sta_cfg80211.c | 1702 u8 *country_ie, country_ie_len; in woal_process_country_ie() local 1710 country_ie = (u8 *)ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in woal_process_country_ie() 1711 if (!country_ie) { in woal_process_country_ie() 1719 country_ie_len = country_ie[1]; in woal_process_country_ie() 1727 priv->phandle->country_code[0] = country_ie[2]; in woal_process_country_ie() 1728 priv->phandle->country_code[1] = country_ie[3]; in woal_process_country_ie() 1771 &country_ie[2] + COUNTRY_CODE_LEN, in woal_process_country_ie() 1777 country_ie[2], country_ie[3], priv->phandle->band, in woal_process_country_ie()
|
| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | mlme.c | 1535 const u8 *country_ie, u8 country_ie_len, in ieee80211_find_80211h_pwr_constr() argument 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() argument 1625 if (country_ie && in ieee80211_handle_pwr_constr() 1629 sdata, channel, country_ie, country_ie_len, in ieee80211_handle_pwr_constr()
|