| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | wifi_regd.c | 54 static struct ieee80211_reg_rule rtw_get_ieee80211_reg_rule(struct get_chplan_resp *chplan, BAND_TY… in rtw_get_ieee80211_reg_rule() argument 65 if (!(chplan->proto_en & CHPLAN_PROTO_EN_AC) || band == BAND_ON_2_4G) in rtw_get_ieee80211_reg_rule() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 110 for (i = 0; i < chplan->chset_num; i++) { in rtw_build_wiphy_regd() 111 chinfo = &chplan->chset[i]; in rtw_build_wiphy_regd() 140 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 157 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 175 _rtw_memcpy(r->alpha2, chplan->alpha2, 2); in rtw_build_wiphy_regd() 209 void rtw_update_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_lock_need… in rtw_update_wiphy_regd() argument 214 ret = rtw_build_wiphy_regd(wiphy, chplan, ®d); in rtw_update_wiphy_regd() [all …]
|
| H A D | wifi_regd.h | 20 void rtw_regd_change_complete_sync(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_l… 21 int rtw_regd_change_complete_async(struct wiphy *wiphy, struct get_chplan_resp *chplan);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | wifi_regd.c | 54 static struct ieee80211_reg_rule rtw_get_ieee80211_reg_rule(struct get_chplan_resp *chplan, BAND_TY… in rtw_get_ieee80211_reg_rule() argument 65 if (!(chplan->proto_en & CHPLAN_PROTO_EN_AC) || band == BAND_ON_2_4G) in rtw_get_ieee80211_reg_rule() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 110 for (i = 0; i < chplan->chset_num; i++) { in rtw_build_wiphy_regd() 111 chinfo = &chplan->chset[i]; in rtw_build_wiphy_regd() 140 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 157 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 175 _rtw_memcpy(r->alpha2, chplan->alpha2, 2); in rtw_build_wiphy_regd() 209 void rtw_update_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_lock_need… in rtw_update_wiphy_regd() argument 214 ret = rtw_build_wiphy_regd(wiphy, chplan, ®d); in rtw_update_wiphy_regd() [all …]
|
| H A D | wifi_regd.h | 20 void rtw_regd_change_complete_sync(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_l… 21 int rtw_regd_change_complete_async(struct wiphy *wiphy, struct get_chplan_resp *chplan);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | wifi_regd.c | 54 static struct ieee80211_reg_rule rtw_get_ieee80211_reg_rule(struct get_chplan_resp *chplan, enum ba… in rtw_get_ieee80211_reg_rule() argument 65 if (!(chplan->proto_en & CHPLAN_PROTO_EN_AC) || band == BAND_ON_24G) in rtw_get_ieee80211_reg_rule() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 110 for (i = 0; i < chplan->chset_num; i++) { in rtw_build_wiphy_regd() 111 chinfo = &chplan->chset[i]; in rtw_build_wiphy_regd() 140 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 157 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 175 _rtw_memcpy(r->alpha2, chplan->alpha2, 2); in rtw_build_wiphy_regd() 209 void rtw_update_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_lock_need… in rtw_update_wiphy_regd() argument 214 ret = rtw_build_wiphy_regd(wiphy, chplan, ®d); in rtw_update_wiphy_regd() [all …]
|
| H A D | wifi_regd.h | 20 void rtw_regd_change_complete_sync(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_l… 21 int rtw_regd_change_complete_async(struct wiphy *wiphy, struct get_chplan_resp *chplan);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | wifi_regd.c | 54 static struct ieee80211_reg_rule rtw_get_ieee80211_reg_rule(struct get_chplan_resp *chplan, enum ba… in rtw_get_ieee80211_reg_rule() argument 65 if (!(chplan->proto_en & CHPLAN_PROTO_EN_AC) || band == BAND_ON_24G) in rtw_get_ieee80211_reg_rule() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 110 for (i = 0; i < chplan->chset_num; i++) { in rtw_build_wiphy_regd() 111 chinfo = &chplan->chset[i]; in rtw_build_wiphy_regd() 140 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 157 r->reg_rules[r->n_reg_rules++] = rtw_get_ieee80211_reg_rule(chplan, start_band in rtw_build_wiphy_regd() 175 _rtw_memcpy(r->alpha2, chplan->alpha2, 2); in rtw_build_wiphy_regd() 209 void rtw_update_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_lock_need… in rtw_update_wiphy_regd() argument 214 ret = rtw_build_wiphy_regd(wiphy, chplan, ®d); in rtw_update_wiphy_regd() [all …]
|
| H A D | wifi_regd.h | 20 void rtw_regd_change_complete_sync(struct wiphy *wiphy, struct get_chplan_resp *chplan, bool rtnl_l… 21 int rtw_regd_change_complete_async(struct wiphy *wiphy, struct get_chplan_resp *chplan);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_chplan.h | 133 …is_channel_plan_valid(chplan) (((chplan) < RTW_CHPLAN_MAX || (chplan) == RTW_CHPLAN_REALTEK_DEFINE… argument 134 #define rtw_is_legacy_channel_plan(chplan) ((chplan) < 0x20) argument 155 u8 chplan; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_chplan.h | 141 …is_channel_plan_valid(chplan) (((chplan) < RTW_CHPLAN_MAX || (chplan) == RTW_CHPLAN_REALTEK_DEFINE… argument 142 #define rtw_is_legacy_channel_plan(chplan) ((chplan) < 0x20) argument 164 u8 chplan; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_chplan.h | 133 …is_channel_plan_valid(chplan) (((chplan) < RTW_CHPLAN_MAX || (chplan) == RTW_CHPLAN_REALTEK_DEFINE… argument 134 #define rtw_is_legacy_channel_plan(chplan) ((chplan) < 0x20) argument 155 u8 chplan; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_scan_instance.c | 254 struct rtw_regulation_chplan *chplan, in rtw_phl_generate_scan_instance() argument 260 if (!strategy || !inst || !chplan) in rtw_phl_generate_scan_instance() 267 for (i = 0; i < chplan->cnt; i++) { in rtw_phl_generate_scan_instance() 269 i + 1, chplan->ch[i].band, chplan->ch[i].channel, in rtw_phl_generate_scan_instance() 270 ((chplan->ch[i].property & CH_DFS) ? 1 : 0), in rtw_phl_generate_scan_instance() 271 ((chplan->ch[i].property & CH_PASSIVE) ? 1 : 0), in rtw_phl_generate_scan_instance() 272 chplan->ch[i].property); in rtw_phl_generate_scan_instance() 276 _select_channels_by_group(strategy, chplan, group); in rtw_phl_generate_scan_instance()
|
| H A D | phl_regulation_6g.c | 111 &rg->chplan[FREQ_GROUP_6GHZ_PSC]; in _update_psc_group() 118 src = &rg->chplan[group]; in _update_psc_group() 163 plan = &rg->chplan[group]; in _chnlplan_update_6g() 251 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII5]; in regu_get_chnlplan_6g() 257 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII6]; in regu_get_chnlplan_6g() 263 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII7]; in regu_get_chnlplan_6g() 269 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII8]; in regu_get_chnlplan_6g() 275 group = &rg->chplan[FREQ_GROUP_6GHZ_PSC]; in regu_get_chnlplan_6g()
|
| H A D | phl_regulation.c | 94 plan = &rg->chplan[FREQ_GROUP_2GHZ]; in _chnlplan_update_2g() 235 plan = &rg->chplan[group]; in _chnlplan_update_5g() 324 group = &rg->chplan[FREQ_GROUP_2GHZ]; in _get_chnlplan() 336 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND1]; in _get_chnlplan() 344 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND2]; in _get_chnlplan() 352 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND3]; in _get_chnlplan() 360 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND4]; in _get_chnlplan() 457 plan = &rg->chplan[i]; in _query_channel() 617 plan = &rg->chplan[FREQ_GROUP_2GHZ]; in rtw_phl_set_user_def_chplan() 628 plan = &rg->chplan[group]; in rtw_phl_set_user_def_chplan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_scan_instance.c | 254 struct rtw_regulation_chplan *chplan, in rtw_phl_generate_scan_instance() argument 260 if (!strategy || !inst || !chplan) in rtw_phl_generate_scan_instance() 267 for (i = 0; i < chplan->cnt; i++) { in rtw_phl_generate_scan_instance() 269 i + 1, chplan->ch[i].band, chplan->ch[i].channel, in rtw_phl_generate_scan_instance() 270 ((chplan->ch[i].property & CH_DFS) ? 1 : 0), in rtw_phl_generate_scan_instance() 271 ((chplan->ch[i].property & CH_PASSIVE) ? 1 : 0), in rtw_phl_generate_scan_instance() 272 chplan->ch[i].property); in rtw_phl_generate_scan_instance() 276 _select_channels_by_group(strategy, chplan, group); in rtw_phl_generate_scan_instance()
|
| H A D | phl_regulation_6g.c | 111 &rg->chplan[FREQ_GROUP_6GHZ_PSC]; in _update_psc_group() 118 src = &rg->chplan[group]; in _update_psc_group() 163 plan = &rg->chplan[group]; in _chnlplan_update_6g() 251 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII5]; in regu_get_chnlplan_6g() 257 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII6]; in regu_get_chnlplan_6g() 263 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII7]; in regu_get_chnlplan_6g() 269 group = &rg->chplan[FREQ_GROUP_6GHZ_UNII8]; in regu_get_chnlplan_6g() 275 group = &rg->chplan[FREQ_GROUP_6GHZ_PSC]; in regu_get_chnlplan_6g()
|
| H A D | phl_regulation.c | 94 plan = &rg->chplan[FREQ_GROUP_2GHZ]; in _chnlplan_update_2g() 235 plan = &rg->chplan[group]; in _chnlplan_update_5g() 324 group = &rg->chplan[FREQ_GROUP_2GHZ]; in _get_chnlplan() 336 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND1]; in _get_chnlplan() 344 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND2]; in _get_chnlplan() 352 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND3]; in _get_chnlplan() 360 group = &rg->chplan[FREQ_GROUP_5GHZ_BAND4]; in _get_chnlplan() 457 plan = &rg->chplan[i]; in _query_channel() 617 plan = &rg->chplan[FREQ_GROUP_2GHZ]; in rtw_phl_set_user_def_chplan() 628 plan = &rg->chplan[group]; in rtw_phl_set_user_def_chplan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_chplan.c | 615 u8 chplan = rfctl->ChannelPlan; in init_channel_set_from_rtk_priv_2g_5g() local 620 if (!rtw_is_channel_plan_valid(chplan)) { in init_channel_set_from_rtk_priv_2g_5g() 621 RTW_ERR(FUNC_ADPT_FMT" invalid chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 624 RTW_INFO(FUNC_ADPT_FMT" chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 633 u8 chd_2g = RTW_ChannelPlanMap[chplan].chd_2g; in init_channel_set_from_rtk_priv_2g_5g() 665 u8 chd_5g = RTW_ChannelPlanMap[chplan].chd_5g; in init_channel_set_from_rtk_priv_2g_5g() 1192 {.alpha2 = (_alpha2), .chplan = (_chplan) \ 2993 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g) in rtw_chplan_ioctl_input_mapping() argument 2995 if (chplan) { in rtw_chplan_ioctl_input_mapping() 2996 if (*chplan == RTW_CHPLAN_IOCTL_UNSPECIFIED) in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 189 u8 chplan; member 221 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g); 222 bool rtw_chplan_ids_is_world_wide(u8 chplan, u8 chplan_6g);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_chplan.c | 615 u8 chplan = rfctl->ChannelPlan; in init_channel_set_from_rtk_priv_2g_5g() local 620 if (!rtw_is_channel_plan_valid(chplan)) { in init_channel_set_from_rtk_priv_2g_5g() 621 RTW_ERR(FUNC_ADPT_FMT" invalid chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 624 RTW_INFO(FUNC_ADPT_FMT" chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 633 u8 chd_2g = RTW_ChannelPlanMap[chplan].chd_2g; in init_channel_set_from_rtk_priv_2g_5g() 665 u8 chd_5g = RTW_ChannelPlanMap[chplan].chd_5g; in init_channel_set_from_rtk_priv_2g_5g() 1192 {.alpha2 = (_alpha2), .chplan = (_chplan) \ 2993 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g) in rtw_chplan_ioctl_input_mapping() argument 2995 if (chplan) { in rtw_chplan_ioctl_input_mapping() 2996 if (*chplan == RTW_CHPLAN_IOCTL_UNSPECIFIED) in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 189 u8 chplan; member 221 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g); 222 bool rtw_chplan_ids_is_world_wide(u8 chplan, u8 chplan_6g);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_chplan.c | 812 u8 chplan = rfctl->ChannelPlan; in init_channel_set_from_rtk_priv_2g_5g() local 817 if (!rtw_is_channel_plan_valid(chplan)) { in init_channel_set_from_rtk_priv_2g_5g() 818 RTW_ERR(FUNC_ADPT_FMT" invalid chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 821 RTW_INFO(FUNC_ADPT_FMT" chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 830 u8 chd_2g = RTW_ChannelPlanMap[chplan].chd_2g; in init_channel_set_from_rtk_priv_2g_5g() 862 u8 chd_5g = RTW_ChannelPlanMap[chplan].chd_5g; in init_channel_set_from_rtk_priv_2g_5g() 1392 {.alpha2 = (_alpha2), .chplan = (_chplan) \ 3188 phl_ent.chplan = plan.domain_code; in rtw_get_chplan_from_country() 3227 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g) in rtw_chplan_ioctl_input_mapping() argument 3229 if (chplan) { in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 188 u8 chplan; member 220 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g); 221 bool rtw_chplan_ids_is_world_wide(u8 chplan, u8 chplan_6g);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_chplan.c | 812 u8 chplan = rfctl->ChannelPlan; in init_channel_set_from_rtk_priv_2g_5g() local 817 if (!rtw_is_channel_plan_valid(chplan)) { in init_channel_set_from_rtk_priv_2g_5g() 818 RTW_ERR(FUNC_ADPT_FMT" invalid chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 821 RTW_INFO(FUNC_ADPT_FMT" chplan:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan); in init_channel_set_from_rtk_priv_2g_5g() 830 u8 chd_2g = RTW_ChannelPlanMap[chplan].chd_2g; in init_channel_set_from_rtk_priv_2g_5g() 862 u8 chd_5g = RTW_ChannelPlanMap[chplan].chd_5g; in init_channel_set_from_rtk_priv_2g_5g() 1392 {.alpha2 = (_alpha2), .chplan = (_chplan) \ 3188 phl_ent.chplan = plan.domain_code; in rtw_get_chplan_from_country() 3227 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g) in rtw_chplan_ioctl_input_mapping() argument 3229 if (chplan) { in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 188 u8 chplan; member 220 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g); 221 bool rtw_chplan_ids_is_world_wide(u8 chplan, u8 chplan_6g);
|