| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_chplan.c | 720 u8 chplan_6g = rfctl->chplan_6g; in init_channel_set_from_rtk_priv_6g() local 726 if (!rtw_is_channel_plan_6g_valid(chplan_6g)) { in init_channel_set_from_rtk_priv_6g() 727 RTW_ERR(FUNC_ADPT_FMT" invalid chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 730 RTW_INFO(FUNC_ADPT_FMT" chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 736 chd_6g = rtw_chplan_6g_map[chplan_6g].chd; in init_channel_set_from_rtk_priv_6g() 1101 rtw_regd_to_edcca_mode(rtw_chplan_get_default_regd_6g(rfctl->chplan_6g)); in rtw_edcca_mode_update() 1178 #define COUNTRY_CHPLAN_ASSIGN_CHPLAN_6G(_val) , .chplan_6g = (_val) 2993 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g) in rtw_chplan_ioctl_input_mapping() argument 3002 if (chplan_6g) { in rtw_chplan_ioctl_input_mapping() 3003 if (*chplan_6g == RTW_CHPLAN_IOCTL_UNSPECIFIED) in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 191 u8 chplan_6g; 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);
|
| H A D | rtw_ioctl_set.c | 892 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr) in rtw_set_channel_plan() argument 897 return rtw_set_chplan_cmd(adapter, RTW_CMDF_WAIT_ACK, channel_plan, chplan_6g, inr); in rtw_set_channel_plan()
|
| H A D | rtw_cmd.c | 1901 , u8 chplan, u8 chplan_6g, const struct country_chplan *country_ent in _rtw_set_chplan_cmd() argument 1924 chplan_6g = country_ent->chplan_6g; in _rtw_set_chplan_cmd() 1942 parm->channel_plan_6g = chplan_6g; in _rtw_set_chplan_cmd() 2005 parm->channel_plan_6g = chplan_6g; in _rtw_set_chplan_cmd() 2029 inline u8 rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, u8 chplan_6g, enum rtw_regd_i… in rtw_set_chplan_cmd() argument 2031 return _rtw_set_chplan_cmd(adapter, flags, chplan, chplan_6g, NULL, REGD_SRC_RTK_PRIV, inr, NULL); in rtw_set_chplan_cmd() 2082 ent.chplan_6g = rtk_ent_exist ? rtk_ent.chplan_6g : RTW_CHPLAN_6G_UNSPECIFIED; in rtw_sync_os_regd_cmd()
|
| H A D | rtw_mlme_ext.c | 204 txpwr_lmt[BAND_ON_6G] = rtw_regd_to_txpwr_lmt(rtw_chplan_get_default_regd_6g(rfctl->chplan_6g)); in rtw_txpwr_init_regd_default() 454 int chplan_6g = -1; in rtw_rfctl_decide_init_chplan() local 469 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 486 chplan_6g = hw_chplan_6g; in rtw_rfctl_decide_init_chplan() 515 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 533 chplan_6g = sw_chplan_6g; in rtw_rfctl_decide_init_chplan() 546 if (chplan_6g == -1) { in rtw_rfctl_decide_init_chplan() 548 chplan_6g = def_chplan_6g; in rtw_rfctl_decide_init_chplan() 550 RTW_PRINT("%s chplan_6g:0x%02X\n", __func__, chplan_6g); in rtw_rfctl_decide_init_chplan() 554 if (rtw_chplan_ids_is_world_wide(chplan, chplan_6g)) in rtw_rfctl_decide_init_chplan() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_chplan.c | 720 u8 chplan_6g = rfctl->chplan_6g; in init_channel_set_from_rtk_priv_6g() local 726 if (!rtw_is_channel_plan_6g_valid(chplan_6g)) { in init_channel_set_from_rtk_priv_6g() 727 RTW_ERR(FUNC_ADPT_FMT" invalid chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 730 RTW_INFO(FUNC_ADPT_FMT" chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 736 chd_6g = rtw_chplan_6g_map[chplan_6g].chd; in init_channel_set_from_rtk_priv_6g() 1101 rtw_regd_to_edcca_mode(rtw_chplan_get_default_regd_6g(rfctl->chplan_6g)); in rtw_edcca_mode_update() 1178 #define COUNTRY_CHPLAN_ASSIGN_CHPLAN_6G(_val) , .chplan_6g = (_val) 2993 void rtw_chplan_ioctl_input_mapping(u16 *chplan, u16 *chplan_6g) in rtw_chplan_ioctl_input_mapping() argument 3002 if (chplan_6g) { in rtw_chplan_ioctl_input_mapping() 3003 if (*chplan_6g == RTW_CHPLAN_IOCTL_UNSPECIFIED) in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 191 u8 chplan_6g; 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);
|
| H A D | rtw_ioctl_set.c | 892 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr) in rtw_set_channel_plan() argument 897 return rtw_set_chplan_cmd(adapter, RTW_CMDF_WAIT_ACK, channel_plan, chplan_6g, inr); in rtw_set_channel_plan()
|
| H A D | rtw_cmd.c | 1901 , u8 chplan, u8 chplan_6g, const struct country_chplan *country_ent in _rtw_set_chplan_cmd() argument 1924 chplan_6g = country_ent->chplan_6g; in _rtw_set_chplan_cmd() 1942 parm->channel_plan_6g = chplan_6g; in _rtw_set_chplan_cmd() 2005 parm->channel_plan_6g = chplan_6g; in _rtw_set_chplan_cmd() 2029 inline u8 rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, u8 chplan_6g, enum rtw_regd_i… in rtw_set_chplan_cmd() argument 2031 return _rtw_set_chplan_cmd(adapter, flags, chplan, chplan_6g, NULL, REGD_SRC_RTK_PRIV, inr, NULL); in rtw_set_chplan_cmd() 2082 ent.chplan_6g = rtk_ent_exist ? rtk_ent.chplan_6g : RTW_CHPLAN_6G_UNSPECIFIED; in rtw_sync_os_regd_cmd()
|
| H A D | rtw_mlme_ext.c | 204 txpwr_lmt[BAND_ON_6G] = rtw_regd_to_txpwr_lmt(rtw_chplan_get_default_regd_6g(rfctl->chplan_6g)); in rtw_txpwr_init_regd_default() 454 int chplan_6g = -1; in rtw_rfctl_decide_init_chplan() local 469 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 486 chplan_6g = hw_chplan_6g; in rtw_rfctl_decide_init_chplan() 515 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 533 chplan_6g = sw_chplan_6g; in rtw_rfctl_decide_init_chplan() 546 if (chplan_6g == -1) { in rtw_rfctl_decide_init_chplan() 548 chplan_6g = def_chplan_6g; in rtw_rfctl_decide_init_chplan() 550 RTW_PRINT("%s chplan_6g:0x%02X\n", __func__, chplan_6g); in rtw_rfctl_decide_init_chplan() 554 if (rtw_chplan_ids_is_world_wide(chplan, chplan_6g)) in rtw_rfctl_decide_init_chplan() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_chplan.c | 918 u8 chplan_6g = rfctl->chplan_6g; in init_channel_set_from_rtk_priv_6g() local 924 if (!rtw_is_channel_plan_6g_valid(chplan_6g)) { in init_channel_set_from_rtk_priv_6g() 925 RTW_ERR(FUNC_ADPT_FMT" invalid chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 928 RTW_INFO(FUNC_ADPT_FMT" chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 935 chd_6g = rtw_chplan_6g_map[chplan_6g].chd; in init_channel_set_from_rtk_priv_6g() 1301 rtw_regd_to_edcca_mode(rtw_chplan_get_default_regd_6g(rfctl->chplan_6g)); in rtw_edcca_mode_update() 1378 #define COUNTRY_CHPLAN_ASSIGN_CHPLAN_6G(_val) , .chplan_6g = (_val) 3190 phl_ent.chplan_6g = RTW_CHPLAN_6G_NULL; /* TODO: get from PHL */ 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 3236 if (chplan_6g) { in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 190 u8 chplan_6g; 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);
|
| H A D | rtw_ioctl_set.c | 788 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr) in rtw_set_channel_plan() argument 793 return rtw_set_chplan_cmd(adapter, RTW_CMDF_WAIT_ACK, channel_plan, chplan_6g, inr); in rtw_set_channel_plan()
|
| H A D | rtw_mlme_ext.c | 263 int chplan_6g = -1; in rtw_rfctl_decide_init_chplan() local 278 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 295 chplan_6g = hw_chplan_6g; in rtw_rfctl_decide_init_chplan() 324 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 342 chplan_6g = sw_chplan_6g; in rtw_rfctl_decide_init_chplan() 355 if (chplan_6g == -1) { in rtw_rfctl_decide_init_chplan() 357 chplan_6g = def_chplan_6g; in rtw_rfctl_decide_init_chplan() 359 RTW_PRINT("%s chplan_6g:0x%02X\n", __func__, chplan_6g); in rtw_rfctl_decide_init_chplan() 363 if (rtw_chplan_ids_is_world_wide(chplan, chplan_6g)) in rtw_rfctl_decide_init_chplan() 391 rfctl->init_chplan_6g = rfctl->chplan_6g = chplan_6g; in rtw_rfctl_decide_init_chplan() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_chplan.c | 918 u8 chplan_6g = rfctl->chplan_6g; in init_channel_set_from_rtk_priv_6g() local 924 if (!rtw_is_channel_plan_6g_valid(chplan_6g)) { in init_channel_set_from_rtk_priv_6g() 925 RTW_ERR(FUNC_ADPT_FMT" invalid chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 928 RTW_INFO(FUNC_ADPT_FMT" chplan_6g:0x%02X\n", FUNC_ADPT_ARG(adapter), chplan_6g); in init_channel_set_from_rtk_priv_6g() 935 chd_6g = rtw_chplan_6g_map[chplan_6g].chd; in init_channel_set_from_rtk_priv_6g() 1301 rtw_regd_to_edcca_mode(rtw_chplan_get_default_regd_6g(rfctl->chplan_6g)); in rtw_edcca_mode_update() 1378 #define COUNTRY_CHPLAN_ASSIGN_CHPLAN_6G(_val) , .chplan_6g = (_val) 3190 phl_ent.chplan_6g = RTW_CHPLAN_6G_NULL; /* TODO: get from PHL */ 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 3236 if (chplan_6g) { in rtw_chplan_ioctl_input_mapping() [all …]
|
| H A D | rtw_chplan.h | 190 u8 chplan_6g; 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);
|
| H A D | rtw_ioctl_set.c | 788 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr) in rtw_set_channel_plan() argument 793 return rtw_set_chplan_cmd(adapter, RTW_CMDF_WAIT_ACK, channel_plan, chplan_6g, inr); in rtw_set_channel_plan()
|
| H A D | rtw_mlme_ext.c | 263 int chplan_6g = -1; in rtw_rfctl_decide_init_chplan() local 278 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 295 chplan_6g = hw_chplan_6g; in rtw_rfctl_decide_init_chplan() 324 chplan_6g = ent.chplan_6g; in rtw_rfctl_decide_init_chplan() 342 chplan_6g = sw_chplan_6g; in rtw_rfctl_decide_init_chplan() 355 if (chplan_6g == -1) { in rtw_rfctl_decide_init_chplan() 357 chplan_6g = def_chplan_6g; in rtw_rfctl_decide_init_chplan() 359 RTW_PRINT("%s chplan_6g:0x%02X\n", __func__, chplan_6g); in rtw_rfctl_decide_init_chplan() 363 if (rtw_chplan_ids_is_world_wide(chplan, chplan_6g)) in rtw_rfctl_decide_init_chplan() 391 rfctl->init_chplan_6g = rfctl->chplan_6g = chplan_6g; in rtw_rfctl_decide_init_chplan() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | rtw_ioctl_set.h | 32 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr);
|
| H A D | rtw_cmd.h | 566 u8 rtw_set_chplan_cmd(_adapter *adapter, int flags, u8 chplan, u8 chplan_6g, enum rtw_regd_inr inr);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | rtw_ioctl_set.h | 32 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/ |
| H A D | rtw_ioctl_set.h | 36 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/ |
| H A D | rtw_ioctl_set.h | 36 int rtw_set_channel_plan(_adapter *adapter, u8 channel_plan, u8 chplan_6g, enum rtw_regd_inr inr);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | rtw_cfg.c | 1029 u16 chplan_6g = RTW_CHPLAN_6G_UNSPECIFIED; in rtw_regsty_load_chplan() local 1033 chplan_6g = rtw_channel_plan_6g; in rtw_regsty_load_chplan() 1036 rtw_chplan_ioctl_input_mapping(&chplan, &chplan_6g); in rtw_regsty_load_chplan() 1040 regsty->channel_plan_6g = chplan_6g; in rtw_regsty_load_chplan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | rtw_cfg.c | 1037 u16 chplan_6g = RTW_CHPLAN_6G_UNSPECIFIED; in rtw_regsty_load_chplan() local 1041 chplan_6g = rtw_channel_plan_6g; in rtw_regsty_load_chplan() 1044 rtw_chplan_ioctl_input_mapping(&chplan, &chplan_6g); in rtw_regsty_load_chplan() 1048 regsty->channel_plan_6g = chplan_6g; in rtw_regsty_load_chplan()
|