/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | phy_common.c | 256 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 265 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 274 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 283 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 292 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 301 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 310 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 319 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 328 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() 337 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in _rtl92c_store_pwrindex_diffrate_offset() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | phy.c | 297 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][0] = in store_pwrindex_diffrate_offset() 306 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][1] = in store_pwrindex_diffrate_offset() 311 rtlphy->mcs_txpwrlevel_origoffset[rtlphy-> in store_pwrindex_diffrate_offset() 315 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][6] = in store_pwrindex_diffrate_offset() 324 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][7] = in store_pwrindex_diffrate_offset() 333 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][2] = in store_pwrindex_diffrate_offset() 342 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][3] = in store_pwrindex_diffrate_offset() 833 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl8723e_phy_sw_chnl_callback() 1418 rtlphy->reg_e94 = rtlphy->reg_eb4 = 0x100; in rtl8723e_phy_iq_calibrate() 1419 rtlphy->reg_e9c = rtlphy->reg_ebc = 0x0; in rtl8723e_phy_iq_calibrate() [all …]
|
A D | rf.c | 16 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723e_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl8723e_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723e_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl8723e_phy_rf6052_set_bandwidth() 205 if (rtlphy->pwrgroup_cnt == 1) in get_txpower_writeval_by_reg() 214 if (rtlphy->current_chan_bw == in get_txpower_writeval_by_reg() 263 if (rtlphy->current_chan_bw == in get_txpower_writeval_by_reg() 406 if (rtlphy->rf_type == RF_1T1R) in rtl8723e_phy_rf6052_config() 407 rtlphy->num_total_rfpath = 1; in rtl8723e_phy_rf6052_config() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
A D | phy_common.c | 66 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_rf_serial_read() local 67 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_read() 118 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_rf_serial_write() local 119 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_write() 163 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_init_bb_rf_reg_def() local 181 rtlphy->phyreg_def[RF90_PATH_A].rf3wire_offset = in rtl8723_phy_init_bb_rf_reg_def() 183 rtlphy->phyreg_def[RF90_PATH_B].rf3wire_offset = in rtl8723_phy_init_bb_rf_reg_def() 222 rtlphy->phyreg_def[RF90_PATH_A].rfrx_afe = ROFDM0_XARXAFE; in rtl8723_phy_init_bb_rf_reg_def() 223 rtlphy->phyreg_def[RF90_PATH_B].rfrx_afe = ROFDM0_XBRXAFE; in rtl8723_phy_init_bb_rf_reg_def() 224 rtlphy->phyreg_def[RF90_PATH_C].rfrx_afe = ROFDM0_XCRXAFE; in rtl8723_phy_init_bb_rf_reg_def() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | phy.c | 430 rtlphy->current_channel); in rtl92s_phy_sw_chnl() 442 rtlphy->sw_chnl_stage = 0; in rtl92s_phy_sw_chnl() 443 rtlphy->sw_chnl_step = 0; in rtl92s_phy_sw_chnl() 450 rtlphy->current_channel, in rtl92s_phy_sw_chnl() 451 &rtlphy->sw_chnl_stage, in rtl92s_phy_sw_chnl() 665 rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index] = data; in _rtl92s_store_pwrindex_diffrate_offset() 667 rtlphy->pwrgroup_cnt++; in _rtl92s_store_pwrindex_diffrate_offset() 891 if (rtlphy->rf_type == RF_1T2R || rtlphy->rf_type == RF_2T2R || in _rtl92s_phy_bb_config_parafile() 892 rtlphy->rf_type == RF_1T1R || rtlphy->rf_type == RF_2T2R_GREEN) { in _rtl92s_phy_bb_config_parafile() 913 rtlphy->pwrgroup_cnt = 0; in _rtl92s_phy_bb_config_parafile() [all …]
|
A D | rf.c | 17 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_get_powerbase() local 117 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_set_antennadiff() 187 if (rtlphy->pwrgroup_cnt >= 3) { in _rtl92s_get_txpower_writeval_byregulatory() 194 if (rtlphy->pwrgroup_cnt == 4) in _rtl92s_get_txpower_writeval_byregulatory() 235 if (rtlphy->current_chan_bw == in _rtl92s_get_txpower_writeval_byregulatory() 300 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_write_ofdm_powerreg() 321 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_write_ofdm_powerreg() 492 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92s_phy_rf6052_set_bandwidth() 495 rtlphy->rfreg_chnlval[0]); in rtl92s_phy_rf6052_set_bandwidth() 498 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92s_phy_rf6052_set_bandwidth() [all …]
|
A D | dm.c | 176 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_check_txpowertracking_thermalmeter() local 180 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_check_txpowertracking_thermalmeter() 289 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_switch_baseband_mrc() local 300 if ((rtlphy->rf_type == RF_1T1R) || (rtlphy->rf_type == RF_2T2R)) in _rtl92s_dm_switch_baseband_mrc() 543 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_ctrl_initgain_byrssi() local 547 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_ctrl_initgain_byrssi() 562 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_dynamic_txpower() local 568 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_dynamic_txpower() 622 rtl92s_phy_set_txpower(hw, rtlphy->current_channel); in _rtl92s_dm_dynamic_txpower()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | phy.c | 351 rtlphy->pwrgroup_cnt = 0; in _rtl88e_phy_bb8188e_config_parafile() 365 rtlphy->cck_high_power = in _rtl88e_phy_bb8188e_config_parafile() 1174 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl88e_phy_sw_chnl_callback() 1202 rtlphy->sw_chnl_step = 0; in rtl88e_phy_sw_chnl() 1713 rtlphy->rfpi_enable = in _rtl88e_phy_iq_calibrate() 1717 if (!rtlphy->rfpi_enable) in _rtl88e_phy_iq_calibrate() 2018 rtlphy->reg_e94 = 0x100; in rtl88e_phy_iq_calibrate() 2019 rtlphy->reg_eb4 = 0x100; in rtl88e_phy_iq_calibrate() 2020 rtlphy->reg_e9c = 0x0; in rtl88e_phy_iq_calibrate() 2021 rtlphy->reg_ebc = 0x0; in rtl88e_phy_iq_calibrate() [all …]
|
A D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl88e_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl88e_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl88e_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl88e_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl88e_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl88e_phy_rf6052_set_cck_txpower() local 194 rtlphy->mcs_txpwrlevel_origoffset in _rtl88e_get_txpower_writeval_by_regulatory() 203 if (rtlphy->pwrgroup_cnt == 1) { in _rtl88e_get_txpower_writeval_by_regulatory() 402 if (rtlphy->rf_type == RF_1T1R) in rtl88e_phy_rf6052_config() 403 rtlphy->num_total_rfpath = 1; in rtl88e_phy_rf6052_config() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | rf.c | 16 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92ee_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ee_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 25 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 28 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ee_phy_rf6052_set_bandwidth() 31 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 33 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth() 44 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92ee_phy_rf6052_config() local 46 if (rtlphy->rf_type == RF_1T1R) in rtl92ee_phy_rf6052_config() 47 rtlphy->num_total_rfpath = 1; in rtl92ee_phy_rf6052_config() [all …]
|
A D | phy.c | 630 rtlphy->pwrgroup_cnt = 0; in _rtl92ee_phy_bb8192ee_config_parafile() 1760 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl92ee_phy_sw_chnl_callback() 1787 rtlphy->sw_chnl_stage = 0; in rtl92ee_phy_sw_chnl() 1788 rtlphy->sw_chnl_step = 0; in rtl92ee_phy_sw_chnl() 1793 rtlphy->current_channel); in rtl92ee_phy_sw_chnl() 2510 rtlphy->adda_backup, in _rtl92ee_phy_iq_calibrate() 2886 rtlphy->reg_e94 = 0x100; in rtl92ee_phy_iq_calibrate() 2887 rtlphy->reg_eb4 = 0x100; in rtl92ee_phy_iq_calibrate() 2888 rtlphy->reg_e9c = 0x0; in rtl92ee_phy_iq_calibrate() 2889 rtlphy->reg_ebc = 0x0; in rtl92ee_phy_iq_calibrate() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth() 199 if (rtlphy->pwrgroup_cnt == 1) in _rtl92c_get_txpower_writeval_by_regulatory() 208 if (rtlphy->pwrgroup_cnt == 4) in _rtl92c_get_txpower_writeval_by_regulatory() 252 if (rtlphy->current_chan_bw == in _rtl92c_get_txpower_writeval_by_regulatory() 396 if (rtlphy->rf_type == RF_1T1R) in rtl92ce_phy_rf6052_config() 397 rtlphy->num_total_rfpath = 1; in rtl92ce_phy_rf6052_config() [all …]
|
A D | phy.c | 26 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92c_phy_query_rf_reg() local 34 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92c_phy_query_rf_reg() 99 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_set_rf_reg() local 108 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92ce_phy_set_rf_reg() 291 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_set_bw_mode_callback() local 297 rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20 ? in rtl92ce_phy_set_bw_mode_callback() 301 rtlphy->set_bwmode_inprogress = false; in rtl92ce_phy_set_bw_mode_callback() 308 switch (rtlphy->current_chan_bw) { in rtl92ce_phy_set_bw_mode_callback() 325 switch (rtlphy->current_chan_bw) { in rtl92ce_phy_set_bw_mode_callback() 346 rtlphy->current_chan_bw); in rtl92ce_phy_set_bw_mode_callback() [all …]
|
A D | dm.c | 17 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_dm_dynamic_txpower() local 79 rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower() 80 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower()
|
A D | hw.c | 1001 if (rtlphy->iqk_initialized) { in rtl92ce_hw_init() 1005 rtlphy->iqk_initialized = true; in rtl92ce_hw_init() 1111 rtlphy->rf_type = RF_1T1R; in _rtl92ce_read_chip_version() 1114 rtlphy->rf_type = RF_2T2R; in _rtl92ce_read_chip_version() 1117 rtlphy->rf_type = RF_1T2R; in _rtl92ce_read_chip_version() 1120 rtlphy->rf_type = RF_1T1R; in _rtl92ce_read_chip_version() 1806 if (rtlphy->rf_type == RF_1T2R) in rtl92ce_update_hal_rate_table() 1910 if (rtlphy->rf_type == RF_1T2R || in rtl92ce_update_hal_rate_mask() 1911 rtlphy->rf_type == RF_1T1R) { in rtl92ce_update_hal_rate_mask() 1957 if (rtlphy->rf_type == RF_1T2R) in rtl92ce_update_hal_rate_mask() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | phy.c | 654 rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index] = data; in _rtl92d_store_pwrindex_diffrate_offset() 658 rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index]); in _rtl92d_store_pwrindex_diffrate_offset() 660 rtlphy->pwrgroup_cnt++; in _rtl92d_store_pwrindex_diffrate_offset() 709 rtlphy->pwrgroup_cnt = 0; in _rtl92d_phy_bb_config() 872 if (rtlphy->rf_type == RF_1T2R || rtlphy->rf_type == RF_1T1R) { in _rtl92d_get_txpower_index() 2336 rtlphy->reg_e94 = rtlphy->reg_eb4 = 0x100; /* X default value */ in rtl92d_phy_iq_calibrate() 2337 rtlphy->reg_e9c = rtlphy->reg_ebc = 0x0; /* Y default value */ in rtl92d_phy_iq_calibrate() 2376 rtlphy->need_iqk) { in rtl92d_phy_reload_iqk_setting() 2399 rtlphy->iqk_matrix[ in rtl92d_phy_reload_iqk_setting() 2886 &rtlphy->sw_chnl_stage, &rtlphy->sw_chnl_step, &delay)) { in rtl92d_phy_sw_chnl() [all …]
|
A D | rf.c | 21 rtlphy->rfreg_chnlval[rfpath] = ((rtlphy->rfreg_chnlval in rtl92d_phy_rf6052_set_bandwidth() 28 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth() 34 rtlphy->rfreg_chnlval[rfpath] = in rtl92d_phy_rf6052_set_bandwidth() 40 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth() 203 writeval = rtlphy->mcs_offset in _rtl92d_get_txpower_writeval_by_regulatory() 213 if (rtlphy->pwrgroup_cnt == 1) in _rtl92d_get_txpower_writeval_by_regulatory() 218 if (rtlphy->current_chan_bw == in _rtl92d_get_txpower_writeval_by_regulatory() 223 writeval = rtlphy->mcs_offset in _rtl92d_get_txpower_writeval_by_regulatory() 450 if (rtlphy->rf_type == RF_1T1R) in rtl92d_phy_rf6052_config() 451 rtlphy->num_total_rfpath = 1; in rtl92d_phy_rf6052_config() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | rf.c | 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92cu_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl92cu_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92cu_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl92cu_phy_rf6052_set_bandwidth() 172 writeval = rtlphy->mcs_offset in _rtl92c_get_txpower_writeval_by_regulatory() 180 if (rtlphy->pwrgroup_cnt == 1) in _rtl92c_get_txpower_writeval_by_regulatory() 189 if (rtlphy->current_chan_bw == in _rtl92c_get_txpower_writeval_by_regulatory() 212 if (rtlphy->current_chan_bw == in _rtl92c_get_txpower_writeval_by_regulatory() 369 if (rtlphy->rf_type == RF_1T1R) in rtl92cu_phy_rf6052_config() 370 rtlphy->num_total_rfpath = 1; in rtl92cu_phy_rf6052_config() [all …]
|
A D | phy.c | 23 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_query_rf_reg() local 28 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_query_rf_reg() 48 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_set_rf_reg() local 54 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_set_rf_reg() 189 rtlphy->pwrgroup_cnt = 0; in _rtl92cu_phy_config_bb_with_pgheaderfile() 276 rtlphy->set_bwmode_inprogress = false; in rtl92cu_phy_set_bw_mode_callback() 281 switch (rtlphy->current_chan_bw) { in rtl92cu_phy_set_bw_mode_callback() 295 rtlphy->current_chan_bw); in rtl92cu_phy_set_bw_mode_callback() 298 switch (rtlphy->current_chan_bw) { in rtl92cu_phy_set_bw_mode_callback() 317 rtlphy->current_chan_bw); in rtl92cu_phy_set_bw_mode_callback() [all …]
|
A D | hw.c | 27 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_param_tab_init() local 46 rtlphy->hwparam_tables[PHY_REG_2T].pdata = in _rtl92cu_phy_param_tab_init() 50 rtlphy->hwparam_tables[RADIOA_2T].pdata = in _rtl92cu_phy_param_tab_init() 54 rtlphy->hwparam_tables[RADIOB_2T].pdata = in _rtl92cu_phy_param_tab_init() 58 rtlphy->hwparam_tables[AGCTAB_2T].pdata = in _rtl92cu_phy_param_tab_init() 990 if (rtlphy->iqk_initialized) { in rtl92cu_hw_init() 994 rtlphy->iqk_initialized = true; in rtl92cu_hw_init() 1964 if (rtlphy->rf_type == RF_1T2R) in rtl92cu_update_hal_rate_table() 2069 if (rtlphy->rf_type == RF_1T2R || in rtl92cu_update_hal_rate_mask() 2070 rtlphy->rf_type == RF_1T1R) { in rtl92cu_update_hal_rate_mask() [all …]
|
A D | dm.c | 14 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_dm_dynamic_txpower() local 76 rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower() 77 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | rf.c | 16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723be_phy_rf6052_set_bandwidth() local 20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723be_phy_rf6052_set_bandwidth() 23 rtlphy->rfreg_chnlval[0]); in rtl8723be_phy_rf6052_set_bandwidth() 26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723be_phy_rf6052_set_bandwidth() 29 rtlphy->rfreg_chnlval[0]); in rtl8723be_phy_rf6052_set_bandwidth() 41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723be_phy_rf6052_set_cck_txpower() local 204 if (rtlphy->pwrgroup_cnt == 1) { in _rtl8723be_get_txpower_writeval_by_regulatory() 260 else if (rtlphy->current_chan_bw == in _rtl8723be_get_txpower_writeval_by_regulatory() 405 if (rtlphy->rf_type == RF_1T1R) in rtl8723be_phy_rf6052_config() 406 rtlphy->num_total_rfpath = 1; in rtl8723be_phy_rf6052_config() [all …]
|
A D | phy.c | 515 rtlphy->pwrgroup_cnt = 0; in _rtl8723be_phy_bb8723b_config_parafile() 1315 rtlphy->sw_chnl_stage = 0; in rtl8723be_phy_sw_chnl() 1316 rtlphy->sw_chnl_step = 0; in rtl8723be_phy_sw_chnl() 1321 rtlphy->current_channel); in rtl8723be_phy_sw_chnl() 2268 if (rtlphy->lck_inprogress) in rtl8723be_phy_iq_calibrate() 2341 rtlphy->reg_e94 = reg_e94; in rtl8723be_phy_iq_calibrate() 2353 rtlphy->reg_e94 = 0x100; in rtl8723be_phy_iq_calibrate() 2354 rtlphy->reg_eb4 = 0x100; in rtl8723be_phy_iq_calibrate() 2355 rtlphy->reg_e9c = 0x0; in rtl8723be_phy_iq_calibrate() 2356 rtlphy->reg_ebc = 0x0; in rtl8723be_phy_iq_calibrate() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | phy.c | 1447 rtlphy->txpwr_limit_2_4g in _rtl8821ae_phy_init_txpower_limit() 1456 rtlphy->txpwr_limit_5g in _rtl8821ae_phy_init_txpower_limit() 2575 rtlphy->current_channel); in _rtl8821ae_phy_get_txpower_by_rate() 3414 if (rtlphy->reg_837 & BIT(2)) in rtl8821ae_phy_set_bw_mode_callback() 3439 if (rtlphy->reg_837 & BIT(2)) in rtl8821ae_phy_set_bw_mode_callback() 3456 rtl8812ae_fixspur(hw, rtlphy->current_chan_bw, rtlphy->current_channel); in rtl8821ae_phy_set_bw_mode_callback() 3548 if (rtlphy->sw_chnl_inprogress) in rtl8821ae_phy_sw_chnl() 3736 rtlphy->current_chan_bw); in _rtl8821ae_iqk_tx() 4547 if (!rtlphy->lck_inprogress) { in rtl8821ae_phy_iq_calibrate() 4549 rtlphy->lck_inprogress = true; in rtl8821ae_phy_iq_calibrate() [all …]
|
A D | rf.c | 38 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_rf6052_set_cck_txpower() local 75 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8821ae_phy_rf6052_set_cck_txpower() 125 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_get_power_base() local 165 struct rtl_phy *rtlphy = &rtlpriv->phy; in get_txpower_writeval_by_regulatory() local 185 if (rtlphy->pwrgroup_cnt == 1) { in get_txpower_writeval_by_regulatory() 258 (u8)((rtlphy->mcs_txpwrlevel_origoffset in get_txpower_writeval_by_regulatory() 383 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_rf6052_config() local 385 if (rtlphy->rf_type == RF_1T1R) in rtl8821ae_phy_rf6052_config() 386 rtlphy->num_total_rfpath = 1; in rtl8821ae_phy_rf6052_config() 388 rtlphy->num_total_rfpath = 2; in rtl8821ae_phy_rf6052_config() [all …]
|