| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_rf.c | 442 band = BAND_ON_24G; in rtw_get_ch_group() 497 || (band == BAND_ON_24G && cck_gp == -1) in rtw_get_ch_group() 507 if (cck_group && band == BAND_ON_24G) in rtw_get_ch_group() 577 return BAND_ON_24G; in rtw_freq2band() 600 case BAND_ON_24G: in rtw_freq_consecutive() 679 [BAND_ON_24G] = "2.4G", 686 [BAND_ON_24G] = BAND_CAP_2G, 728 OP_CLASS_ENT(81, BAND_ON_24G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 730 OP_CLASS_ENT(82, BAND_ON_24G, OPC_BW20, 1, 14), 732 OP_CLASS_ENT(83, BAND_ON_24G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), [all …]
|
| H A D | rtw_chplan.c | 473 if (plan.ch[index].band != BAND_ON_24G && plan.ch[index].band != BAND_ON_5G) in rtw_chplan_get_ch() 844 channel_set[chanset_size].band = BAND_ON_24G; in init_channel_set_from_rtk_priv_2g_5g() 852 RTW_INFO("band:%s ch%u is NO_IR while beacon hint not allowed\n", band_str(BAND_ON_24G), ch); in init_channel_set_from_rtk_priv_2g_5g() 1063 …return (RTW_CHPLAN_BEACON_HINT_ON_2G_CH_1_11 || !(chinfo->band == BAND_ON_24G && chinfo->ChannelNu… in rtw_chinfo_allow_beacon_hint() 1195 mode = EDCCA_MODE_SEQ_COMPARE(mode, modes[BAND_ON_24G]); in rtw_get_edcca_modes_str() 1208 …CA_MODES_STR_LEN - cnt - 1, "%s(%u) ", rtw_edcca_mode_str(modes[BAND_ON_24G]), modes[BAND_ON_24G]); in rtw_get_edcca_modes_str() 1274 modes[BAND_ON_24G] = rfctl->edcca_mode_2g = RTW_EDCCA_ADAPT; in rtw_edcca_mode_update() 1290 modes[BAND_ON_24G] = rfctl->edcca_mode_2g = in rtw_edcca_mode_update() 1315 if (band == BAND_ON_24G) in rtw_get_edcca_mode() 1338 name = NAME_SEQ_COMPARE(name, names[BAND_ON_24G]); in rtw_get_txpwr_lmt_names_str() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_rf.c | 442 band = BAND_ON_24G; in rtw_get_ch_group() 497 || (band == BAND_ON_24G && cck_gp == -1) in rtw_get_ch_group() 507 if (cck_group && band == BAND_ON_24G) in rtw_get_ch_group() 577 return BAND_ON_24G; in rtw_freq2band() 600 case BAND_ON_24G: in rtw_freq_consecutive() 679 [BAND_ON_24G] = "2.4G", 686 [BAND_ON_24G] = BAND_CAP_2G, 728 OP_CLASS_ENT(81, BAND_ON_24G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 730 OP_CLASS_ENT(82, BAND_ON_24G, OPC_BW20, 1, 14), 732 OP_CLASS_ENT(83, BAND_ON_24G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), [all …]
|
| H A D | rtw_chplan.c | 473 if (plan.ch[index].band != BAND_ON_24G && plan.ch[index].band != BAND_ON_5G) in rtw_chplan_get_ch() 844 channel_set[chanset_size].band = BAND_ON_24G; in init_channel_set_from_rtk_priv_2g_5g() 852 RTW_INFO("band:%s ch%u is NO_IR while beacon hint not allowed\n", band_str(BAND_ON_24G), ch); in init_channel_set_from_rtk_priv_2g_5g() 1063 …return (RTW_CHPLAN_BEACON_HINT_ON_2G_CH_1_11 || !(chinfo->band == BAND_ON_24G && chinfo->ChannelNu… in rtw_chinfo_allow_beacon_hint() 1195 mode = EDCCA_MODE_SEQ_COMPARE(mode, modes[BAND_ON_24G]); in rtw_get_edcca_modes_str() 1208 …CA_MODES_STR_LEN - cnt - 1, "%s(%u) ", rtw_edcca_mode_str(modes[BAND_ON_24G]), modes[BAND_ON_24G]); in rtw_get_edcca_modes_str() 1274 modes[BAND_ON_24G] = rfctl->edcca_mode_2g = RTW_EDCCA_ADAPT; in rtw_edcca_mode_update() 1290 modes[BAND_ON_24G] = rfctl->edcca_mode_2g = in rtw_edcca_mode_update() 1315 if (band == BAND_ON_24G) in rtw_get_edcca_mode() 1338 name = NAME_SEQ_COMPARE(name, names[BAND_ON_24G]); in rtw_get_txpwr_lmt_names_str() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_iqk_8852b.c | 470 case BAND_ON_24G: in _iqk_rxk_setting_8852b() 646 case BAND_ON_24G: in _rxk_group_sel_8852b() 704 case BAND_ON_24G: in _iqk_nbrxk_8852b() 803 case BAND_ON_24G: in _txk_group_sel_8852b() 864 case BAND_ON_24G: in _iqk_nbtxk_8852b() 909 if (iqk_info->iqk_band[path] == BAND_ON_24G) in _lok_res_table_8852b() 982 case BAND_ON_24G: in _iqk_lok_8852b() 998 case BAND_ON_24G: in _iqk_lok_8852b() 1017 case BAND_ON_24G: in _iqk_lok_8852b() 1036 case BAND_ON_24G: in _iqk_lok_8852b() [all …]
|
| H A D | halrf_set_pwr_table_8852b.c | 902 reg = halrf_get_regulation_info(rf, BAND_ON_24G); in _halrf_set_tx_shape_8852b() 1103 "Band / CH / BW", band == BAND_ON_24G ? "2G" : (band == BAND_ON_5G ? "5G" : "6G"), in halrf_pwr_by_rate_info_8852b() 1267 "Band / CH / BW", band == BAND_ON_24G ? "2G" : (band == BAND_ON_5G ? "5G" : "6G"), in halrf_pwr_limit_info_8852b() 1273 halrf_get_pw_lmt_regu_type_str_extra(rf, BAND_ON_24G), in halrf_pwr_limit_info_8852b() 1395 "Band / CH / BW", band == BAND_ON_24G ? "2G" : (band == BAND_ON_5G ? "5G" : "6G"), in halrf_pwr_limit_ru_info_8852b() 1401 halrf_get_pw_lmt_regu_type_str_extra(rf, BAND_ON_24G), in halrf_pwr_limit_ru_info_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_iqk_8852b.c | 470 case BAND_ON_24G: in _iqk_rxk_setting_8852b() 646 case BAND_ON_24G: in _rxk_group_sel_8852b() 704 case BAND_ON_24G: in _iqk_nbrxk_8852b() 803 case BAND_ON_24G: in _txk_group_sel_8852b() 864 case BAND_ON_24G: in _iqk_nbtxk_8852b() 909 if (iqk_info->iqk_band[path] == BAND_ON_24G) in _lok_res_table_8852b() 982 case BAND_ON_24G: in _iqk_lok_8852b() 998 case BAND_ON_24G: in _iqk_lok_8852b() 1017 case BAND_ON_24G: in _iqk_lok_8852b() 1036 case BAND_ON_24G: in _iqk_lok_8852b() [all …]
|
| H A D | halrf_set_pwr_table_8852b.c | 902 reg = halrf_get_regulation_info(rf, BAND_ON_24G); in _halrf_set_tx_shape_8852b() 1103 "Band / CH / BW", band == BAND_ON_24G ? "2G" : (band == BAND_ON_5G ? "5G" : "6G"), in halrf_pwr_by_rate_info_8852b() 1267 "Band / CH / BW", band == BAND_ON_24G ? "2G" : (band == BAND_ON_5G ? "5G" : "6G"), in halrf_pwr_limit_info_8852b() 1273 halrf_get_pw_lmt_regu_type_str_extra(rf, BAND_ON_24G), in halrf_pwr_limit_info_8852b() 1395 "Band / CH / BW", band == BAND_ON_24G ? "2G" : (band == BAND_ON_5G ? "5G" : "6G"), in halrf_pwr_limit_ru_info_8852b() 1401 halrf_get_pw_lmt_regu_type_str_extra(rf, BAND_ON_24G), in halrf_pwr_limit_ru_info_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | rtw_general_def.h | 321 BAND_ON_24G = 0, enumerator 328 #define BAND_CAP_2G BIT(BAND_ON_24G)
|
| H A D | phl_regulation_def.h | 39 #define BAND_2GHZ(_band_) ((_band_ == BAND_ON_24G) ? true : false)
|
| H A D | phl_mcc.c | 1040 if (m_role1->chandef->band == BAND_ON_24G && in _mcc_discision_duration_for_2role_bt_v2() 1041 m_role2->chandef->band == BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt_v2() 1052 if (m_role1->chandef->band != BAND_ON_24G && in _mcc_discision_duration_for_2role_bt_v2() 1053 m_role2->chandef->band != BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt_v2() 1057 if (m_role1->chandef->band == BAND_ON_24G) in _mcc_discision_duration_for_2role_bt_v2() 1074 if (m_role1->chandef->band == BAND_ON_24G && in _mcc_discision_duration_for_2role_bt() 1075 m_role2->chandef->band == BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt() 1080 if (m_role1->chandef->band != BAND_ON_24G && in _mcc_discision_duration_for_2role_bt() 1081 m_role2->chandef->band != BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt() 1085 if (m_role1->chandef->band == BAND_ON_24G) in _mcc_discision_duration_for_2role_bt() [all …]
|
| H A D | phl_scan_instance.c | 204 enum band_type band = BAND_ON_24G; in _select_channels_by_group()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | rtw_general_def.h | 321 BAND_ON_24G = 0, enumerator 328 #define BAND_CAP_2G BIT(BAND_ON_24G)
|
| H A D | phl_regulation_def.h | 39 #define BAND_2GHZ(_band_) ((_band_ == BAND_ON_24G) ? true : false)
|
| H A D | phl_mcc.c | 1040 if (m_role1->chandef->band == BAND_ON_24G && in _mcc_discision_duration_for_2role_bt_v2() 1041 m_role2->chandef->band == BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt_v2() 1052 if (m_role1->chandef->band != BAND_ON_24G && in _mcc_discision_duration_for_2role_bt_v2() 1053 m_role2->chandef->band != BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt_v2() 1057 if (m_role1->chandef->band == BAND_ON_24G) in _mcc_discision_duration_for_2role_bt_v2() 1074 if (m_role1->chandef->band == BAND_ON_24G && in _mcc_discision_duration_for_2role_bt() 1075 m_role2->chandef->band == BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt() 1080 if (m_role1->chandef->band != BAND_ON_24G && in _mcc_discision_duration_for_2role_bt() 1081 m_role2->chandef->band != BAND_ON_24G) { in _mcc_discision_duration_for_2role_bt() 1085 if (m_role1->chandef->band == BAND_ON_24G) in _mcc_discision_duration_for_2role_bt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/ |
| H A D | halrf_pwr_table.c | 103 if (band == BAND_ON_24G) { in halrf_get_regulation_info() 167 if (band != (u32)BAND_ON_24G && band != (u32)BAND_ON_5G && band != (u32)BAND_ON_6G) in halrf_power_by_rate_store_to_array() 744 reg = (u32)halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_power_limit_set_ext_pwr_limit_table() 839 reg = (u32)halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_power_limit_set_ext_pwr_limit_ru_table() 1009 reg = halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_get_power_limit() 1058 reg = halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_get_power_limit_ru() 1114 …pwr_limit = (s16)pwr->tx_pwr_limit_2g[halrf_get_regulation_info(rf, BAND_ON_24G)][bandwidth][limit… in halrf_get_power() 1116 …pwr_limit, halrf_get_regulation_info(rf, BAND_ON_24G), bandwidth, limit_rate, beamforming, limit_c… in halrf_get_power()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/ |
| H A D | halrf_pwr_table.c | 103 if (band == BAND_ON_24G) { in halrf_get_regulation_info() 167 if (band != (u32)BAND_ON_24G && band != (u32)BAND_ON_5G && band != (u32)BAND_ON_6G) in halrf_power_by_rate_store_to_array() 744 reg = (u32)halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_power_limit_set_ext_pwr_limit_table() 839 reg = (u32)halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_power_limit_set_ext_pwr_limit_ru_table() 1009 reg = halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_get_power_limit() 1058 reg = halrf_get_regulation_info(rf, BAND_ON_24G); in halrf_get_power_limit_ru() 1114 …pwr_limit = (s16)pwr->tx_pwr_limit_2g[halrf_get_regulation_info(rf, BAND_ON_24G)][bandwidth][limit… in halrf_get_power() 1116 …pwr_limit, halrf_get_regulation_info(rf, BAND_ON_24G), bandwidth, limit_rate, beamforming, limit_c… in halrf_get_power()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/btc/ |
| H A D | halbtc_action.c | 317 wl_rinfo->active_role[i].band == BAND_ON_24G) { in _set_bt_afh_info() 393 wl_dinfo->real_band[1] != BAND_ON_24G) in _set_halbb_btg_ctrl() 530 plink->chdef.band == BAND_ON_24G) in _set_halmac_tx_limit() 1182 b2g = (wl_dinfo->real_band[i] == BAND_ON_24G); in _set_ant() 1211 b2g = (wl_dinfo->real_band[i] == BAND_ON_24G); in _set_ant() 1698 if (rfk.band == BAND_ON_24G) { in _action_wl_rfk() 1810 if (wl_dinfo->real_band[HW_PHY_0] != BAND_ON_24G && in _action_wl_scan() 1811 wl_dinfo->real_band[HW_PHY_1] != BAND_ON_24G) in _action_wl_scan() 1816 if (wl->scan_info.band[HW_PHY_0] != BAND_ON_24G) in _action_wl_scan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/btc/ |
| H A D | halbtc_action.c | 317 wl_rinfo->active_role[i].band == BAND_ON_24G) { in _set_bt_afh_info() 393 wl_dinfo->real_band[1] != BAND_ON_24G) in _set_halbb_btg_ctrl() 530 plink->chdef.band == BAND_ON_24G) in _set_halmac_tx_limit() 1182 b2g = (wl_dinfo->real_band[i] == BAND_ON_24G); in _set_ant() 1211 b2g = (wl_dinfo->real_band[i] == BAND_ON_24G); in _set_ant() 1698 if (rfk.band == BAND_ON_24G) { in _action_wl_rfk() 1810 if (wl_dinfo->real_band[HW_PHY_0] != BAND_ON_24G && in _action_wl_scan() 1811 wl_dinfo->real_band[HW_PHY_1] != BAND_ON_24G) in _action_wl_scan() 1816 if (wl->scan_info.band[HW_PHY_0] != BAND_ON_24G) in _action_wl_scan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_8852b_fwofld_api.c | 148 if(bb->hal_com->band[0].cur_chandef.band == BAND_ON_24G) in halbb_fwofld_bb_reset_en_8852b() 528 if(bb->hal_com->band[0].cur_chandef.band != BAND_ON_24G) in halbb_fwofld_ctrl_btg_8852b() 776 is_2g_ch = (band == BAND_ON_24G) ? true : false; in halbb_fwofld_ctrl_ch_8852b() 860 is_2g_ch = (band == BAND_ON_24G) ? true : false; in halbb_fwofld_ctrl_bw_ch_8852b()
|
| H A D | halbb_8852b.c | 182 btg_en = (bb->hal_com->band[0].cur_chandef.band == BAND_ON_24G) && in halbb_ic_hw_setting_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_8852b_fwofld_api.c | 148 if(bb->hal_com->band[0].cur_chandef.band == BAND_ON_24G) in halbb_fwofld_bb_reset_en_8852b() 528 if(bb->hal_com->band[0].cur_chandef.band != BAND_ON_24G) in halbb_fwofld_ctrl_btg_8852b() 776 is_2g_ch = (band == BAND_ON_24G) ? true : false; in halbb_fwofld_ctrl_ch_8852b() 860 is_2g_ch = (band == BAND_ON_24G) ? true : false; in halbb_fwofld_ctrl_bw_ch_8852b()
|
| H A D | halbb_8852b.c | 182 btg_en = (bb->hal_com->band[0].cur_chandef.band == BAND_ON_24G) && in halbb_ic_hw_setting_8852b()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | rtw_phl.h | 35 #define WIFI_ROLE_IS_ON_24G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_24G)
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | rtw_phl.h | 35 #define WIFI_ROLE_IS_ON_24G(_adapter) (_adapter->phl_role->chandef.band == BAND_ON_24G)
|