Home
last modified time | relevance | path

Searched refs:rtlphy (Results 1 – 25 of 50) sorted by relevance

12

/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.c101 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_phy_rf_serial_read() local
102 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_read()
155 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_phy_rf_serial_write() local
156 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_write()
209 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_phy_bb8192c_config_parafile() local
219 if (rtlphy->rf_type == RF_1T2R) { in _rtl92c_phy_bb8192c_config_parafile()
224 rtlphy->pwrgroup_cnt = 0; in _rtl92c_phy_bb8192c_config_parafile()
238 rtlphy->cck_high_power = in _rtl92c_phy_bb8192c_config_parafile()
251 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_store_pwrIndex_diffrate_offset() local
254 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][0] = in _rtl92c_store_pwrIndex_diffrate_offset()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dphy.c61 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_query_rf_reg() local
70 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl8723e_phy_query_rf_reg()
92 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_set_rf_reg() local
102 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl8723e_phy_set_rf_reg()
208 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723e_phy_bb8192c_config_parafile() local
220 if (rtlphy->rf_type == RF_1T2R) { in _rtl8723e_phy_bb8192c_config_parafile()
225 rtlphy->pwrgroup_cnt = 0; in _rtl8723e_phy_bb8192c_config_parafile()
239 rtlphy->cck_high_power = (bool) (rtl_get_bbreg(hw, in _rtl8723e_phy_bb8192c_config_parafile()
318 struct rtl_phy *rtlphy = &rtlpriv->phy; in store_pwrindex_diffrate_offset() local
321 rtlphy->mcs_txpwrlevel_origoffset[rtlphy->pwrgroup_cnt][0] = in store_pwrindex_diffrate_offset()
[all …]
Drf.c38 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_rf6052_set_bandwidth() local
42 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723e_phy_rf6052_set_bandwidth()
45 rtlphy->rfreg_chnlval[0]); in rtl8723e_phy_rf6052_set_bandwidth()
48 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723e_phy_rf6052_set_bandwidth()
51 rtlphy->rfreg_chnlval[0]); in rtl8723e_phy_rf6052_set_bandwidth()
64 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8723e_phy_rf6052_set_cck_txpower() local
98 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8723e_phy_rf6052_set_cck_txpower()
99 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << in rtl8723e_phy_rf6052_set_cck_txpower()
103 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl8723e_phy_rf6052_set_cck_txpower()
104 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl8723e_phy_rf6052_set_cck_txpower()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dphy.c103 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_phy_rf_serial_read() local
104 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read()
164 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_phy_rf_serial_write() local
165 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write()
210 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92s_phy_set_rf_reg() local
213 if (!((rtlphy->rf_pathmap >> rfpath) & 0x1)) in rtl92s_phy_set_rf_reg()
266 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92s_phy_set_bw_mode() local
271 rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20 ? in rtl92s_phy_set_bw_mode()
274 if (rtlphy->set_bwmode_inprogress) in rtl92s_phy_set_bw_mode()
279 rtlphy->set_bwmode_inprogress = true; in rtl92s_phy_set_bw_mode()
[all …]
Drf.c43 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_get_powerbase() local
73 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20) { in _rtl92s_get_powerbase()
103 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92s_get_powerbase()
123 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92s_get_powerbase()
139 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_set_antennadiff() local
143 if (rtlphy->rf_type == RF_2T2R) { in _rtl92s_set_antennadiff()
183 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_get_txpower_writeval_byregulatory() local
195 writeval = rtlphy->mcs_offset[chnlgroup][index] + in _rtl92s_get_txpower_writeval_byregulatory()
204 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92s_get_txpower_writeval_byregulatory()
211 if (rtlphy->pwrgroup_cnt == 1) in _rtl92s_get_txpower_writeval_byregulatory()
[all …]
Ddm.c202 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_check_txpowertracking_thermalmeter() local
206 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_check_txpowertracking_thermalmeter()
314 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_switch_baseband_mrc() local
325 if ((rtlphy->rf_type == RF_1T1R) || (rtlphy->rf_type == RF_2T2R)) in _rtl92s_dm_switch_baseband_mrc()
568 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_ctrl_initgain_byrssi() local
572 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_ctrl_initgain_byrssi()
587 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_dm_dynamic_txpower() local
593 if (rtlphy->rf_type == RF_2T2R) in _rtl92s_dm_dynamic_txpower()
647 rtl92s_phy_set_txpower(hw, rtlphy->current_channel); in _rtl92s_dm_dynamic_txpower()
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dphy_common.c92 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_rf_serial_read() local
93 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_read()
146 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_rf_serial_write() local
147 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_write()
191 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723_phy_init_bb_rf_reg_def() local
193 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def()
194 rtlphy->phyreg_def[RF90_PATH_B].rfintfs = RFPGA0_XAB_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def()
195 rtlphy->phyreg_def[RF90_PATH_C].rfintfs = RFPGA0_XCD_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def()
196 rtlphy->phyreg_def[RF90_PATH_D].rfintfs = RFPGA0_XCD_RFINTERFACESW; in rtl8723_phy_init_bb_rf_reg_def()
198 rtlphy->phyreg_def[RF90_PATH_A].rfintfi = RFPGA0_XAB_RFINTERFACERB; in rtl8723_phy_init_bb_rf_reg_def()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dphy.c169 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl88e_phy_rf_serial_read() local
170 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_read()
219 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl88e_phy_rf_serial_write() local
220 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf_serial_write()
370 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl88e_phy_bb8188e_config_parafile() local
381 rtlphy->pwrgroup_cnt = 0; in _rtl88e_phy_bb8188e_config_parafile()
395 rtlphy->cck_high_power = in _rtl88e_phy_bb8188e_config_parafile()
543 struct rtl_phy *rtlphy = &rtlpriv->phy; in store_pwrindex_rate_offset() local
544 int count = rtlphy->pwrgroup_cnt; in store_pwrindex_rate_offset()
547 rtlphy->mcs_txpwrlevel_origoffset[count][0] = data; in store_pwrindex_rate_offset()
[all …]
Drf.c38 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl88e_phy_rf6052_set_bandwidth() local
42 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl88e_phy_rf6052_set_bandwidth()
45 rtlphy->rfreg_chnlval[0]); in rtl88e_phy_rf6052_set_bandwidth()
48 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl88e_phy_rf6052_set_bandwidth()
51 rtlphy->rfreg_chnlval[0]); in rtl88e_phy_rf6052_set_bandwidth()
64 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl88e_phy_rf6052_set_cck_txpower() local
99 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl88e_phy_rf6052_set_cck_txpower()
100 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << in rtl88e_phy_rf6052_set_cck_txpower()
104 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl88e_phy_rf6052_set_cck_txpower()
105 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl88e_phy_rf6052_set_cck_txpower()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.c272 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92d_phy_rf_serial_read() local
273 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_read()
320 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92d_phy_rf_serial_write() local
321 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_write()
356 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_set_rf_reg() local
366 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92d_phy_set_rf_reg()
411 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92d_phy_init_bb_rf_register_definition() local
415 rtlphy->phyreg_def[RF90_PATH_A].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition()
417 rtlphy->phyreg_def[RF90_PATH_B].rfintfs = RFPGA0_XAB_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition()
419 rtlphy->phyreg_def[RF90_PATH_C].rfintfs = RFPGA0_XCD_RFINTERFACESW; in _rtl92d_phy_init_bb_rf_register_definition()
[all …]
Drf.c41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_rf6052_set_bandwidth() local
46 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth()
47 rtlphy->rfreg_chnlval[rfpath] = ((rtlphy->rfreg_chnlval in rtl92d_phy_rf6052_set_bandwidth()
54 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth()
59 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth()
60 rtlphy->rfreg_chnlval[rfpath] = in rtl92d_phy_rf6052_set_bandwidth()
61 ((rtlphy->rfreg_chnlval[rfpath] & 0xfffff3ff)); in rtl92d_phy_rf6052_set_bandwidth()
66 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth()
80 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_rf6052_set_cck_txpower() local
109 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92d_phy_rf6052_set_cck_txpower()
[all …]
Ddm.c494 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_dm_dynamic_txpower() local
580 rtlphy->current_channel); in rtl92d_dm_dynamic_txpower()
581 rtl92d_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92d_dm_dynamic_txpower()
746 struct rtl_priv *rtlpriv, struct rtl_phy *rtlphy, in rtl92d_bandtype_5G() argument
765 if (rtlphy->current_channel >= 100 && in rtl92d_bandtype_5G()
766 rtlphy->current_channel <= 165) in rtl92d_bandtype_5G()
808 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
825 rtl92d_get_rightchnlplace_for_iqk(rtlphy->current_channel); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1000 rtlphy, index_mapping, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1047 val_x = rtlphy->iqk_matrix in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Drf.c38 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92ee_phy_rf6052_set_bandwidth() local
42 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ee_phy_rf6052_set_bandwidth()
45 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth()
47 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth()
50 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ee_phy_rf6052_set_bandwidth()
53 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth()
55 rtlphy->rfreg_chnlval[0]); in rtl92ee_phy_rf6052_set_bandwidth()
67 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92ee_phy_rf6052_config() local
69 if (rtlphy->rf_type == RF_1T1R) in rtl92ee_phy_rf6052_config()
70 rtlphy->num_total_rfpath = 1; in rtl92ee_phy_rf6052_config()
[all …]
Dphy.c163 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_rf_serial_read() local
164 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_read()
213 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_rf_serial_write() local
214 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf_serial_write()
407 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_init_tx_power_by_rate() local
415 rtlphy->tx_power_by_rate_offset in _rtl92ee_phy_init_tx_power_by_rate()
425 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl92ee_phy_set_txpower_by_rate_base() local
436 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl92ee_phy_set_txpower_by_rate_base()
439 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl92ee_phy_set_txpower_by_rate_base()
442 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl92ee_phy_set_txpower_by_rate_base()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c42 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_bandwidth() local
46 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth()
49 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth()
52 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth()
55 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth()
68 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_cck_txpower() local
100 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92ce_phy_rf6052_set_cck_txpower()
101 (rtlphy->mcs_offset[0][7] << 8); in rtl92ce_phy_rf6052_set_cck_txpower()
104 tmpval = (rtlphy->mcs_offset[0][14]) + in rtl92ce_phy_rf6052_set_cck_txpower()
105 (rtlphy->mcs_offset[0][15] << 24); in rtl92ce_phy_rf6052_set_cck_txpower()
[all …]
Dphy.c52 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92c_phy_query_rf_reg() local
60 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92c_phy_query_rf_reg()
125 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_set_rf_reg() local
134 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92ce_phy_set_rf_reg()
320 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_set_bw_mode_callback() local
326 rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20 ? in rtl92ce_phy_set_bw_mode_callback()
330 rtlphy->set_bwmode_inprogress = false; in rtl92ce_phy_set_bw_mode_callback()
337 switch (rtlphy->current_chan_bw) { in rtl92ce_phy_set_bw_mode_callback()
351 "unknown bandwidth: %#X\n", rtlphy->current_chan_bw); in rtl92ce_phy_set_bw_mode_callback()
355 switch (rtlphy->current_chan_bw) { in rtl92ce_phy_set_bw_mode_callback()
[all …]
Ddm.c43 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_dm_dynamic_txpower() local
105 rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower()
106 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c42 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_rf6052_set_bandwidth() local
46 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92cu_phy_rf6052_set_bandwidth()
49 rtlphy->rfreg_chnlval[0]); in rtl92cu_phy_rf6052_set_bandwidth()
52 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92cu_phy_rf6052_set_bandwidth()
55 rtlphy->rfreg_chnlval[0]); in rtl92cu_phy_rf6052_set_bandwidth()
68 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_rf6052_set_cck_txpower() local
106 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92cu_phy_rf6052_set_cck_txpower()
107 (rtlphy->mcs_offset[0][7] << 8); in rtl92cu_phy_rf6052_set_cck_txpower()
109 tmpval = (rtlphy->mcs_offset[0][14]) + in rtl92cu_phy_rf6052_set_cck_txpower()
110 (rtlphy->mcs_offset[0][15] << 24); in rtl92cu_phy_rf6052_set_cck_txpower()
[all …]
Dphy.c49 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_query_rf_reg() local
54 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_query_rf_reg()
74 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_phy_set_rf_reg() local
80 if (rtlphy->rf_mode != RF_OP_BY_FW) { in rtl92cu_phy_set_rf_reg()
145 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_config_mac_with_headerfile() local
151 arraylength = rtlphy->hwparam_tables[MAC_REG].length ; in _rtl92cu_phy_config_mac_with_headerfile()
152 ptrarray = rtlphy->hwparam_tables[MAC_REG].pdata; in _rtl92cu_phy_config_mac_with_headerfile()
168 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_config_bb_with_headerfile() local
171 agctab_arraylen = rtlphy->hwparam_tables[AGCTAB_2T].length; in _rtl92cu_phy_config_bb_with_headerfile()
172 agctab_array_table = rtlphy->hwparam_tables[AGCTAB_2T].pdata; in _rtl92cu_phy_config_bb_with_headerfile()
[all …]
Dhw.c53 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92cu_phy_param_tab_init() local
56 rtlphy->hwparam_tables[MAC_REG].length = RTL8192CUMAC_2T_ARRAYLENGTH; in _rtl92cu_phy_param_tab_init()
57 rtlphy->hwparam_tables[MAC_REG].pdata = RTL8192CUMAC_2T_ARRAY; in _rtl92cu_phy_param_tab_init()
59 rtlphy->hwparam_tables[PHY_REG_PG].length = in _rtl92cu_phy_param_tab_init()
61 rtlphy->hwparam_tables[PHY_REG_PG].pdata = in _rtl92cu_phy_param_tab_init()
64 rtlphy->hwparam_tables[PHY_REG_PG].length = in _rtl92cu_phy_param_tab_init()
66 rtlphy->hwparam_tables[PHY_REG_PG].pdata = in _rtl92cu_phy_param_tab_init()
70 rtlphy->hwparam_tables[PHY_REG_2T].length = in _rtl92cu_phy_param_tab_init()
72 rtlphy->hwparam_tables[PHY_REG_2T].pdata = in _rtl92cu_phy_param_tab_init()
74 rtlphy->hwparam_tables[RADIOA_2T].length = in _rtl92cu_phy_param_tab_init()
[all …]
Ddm.c40 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_dm_dynamic_txpower() local
102 rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower()
103 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.c212 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723be_phy_init_tx_power_by_rate() local
222 rtlphy->tx_power_by_rate_offset in _rtl8723be_phy_init_tx_power_by_rate()
253 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723be_phy_set_txpower_by_rate_base() local
265 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8723be_phy_set_txpower_by_rate_base()
268 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8723be_phy_set_txpower_by_rate_base()
271 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8723be_phy_set_txpower_by_rate_base()
274 rtlphy->txpwr_by_rate_base_24g[path][txnum][3] = value; in _rtl8723be_phy_set_txpower_by_rate_base()
295 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8723be_phy_get_txpower_by_rate_base() local
307 value = rtlphy->txpwr_by_rate_base_24g[path][txnum][0]; in _rtl8723be_phy_get_txpower_by_rate_base()
310 value = rtlphy->txpwr_by_rate_base_24g[path][txnum][1]; in _rtl8723be_phy_get_txpower_by_rate_base()
[all …]
Drf.c38 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723be_phy_rf6052_set_bandwidth() local
42 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723be_phy_rf6052_set_bandwidth()
45 rtlphy->rfreg_chnlval[0]); in rtl8723be_phy_rf6052_set_bandwidth()
48 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl8723be_phy_rf6052_set_bandwidth()
51 rtlphy->rfreg_chnlval[0]); in rtl8723be_phy_rf6052_set_bandwidth()
64 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl8723be_phy_rf6052_set_cck_txpower() local
99 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8723be_phy_rf6052_set_cck_txpower()
100 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << 8); in rtl8723be_phy_rf6052_set_cck_txpower()
103 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl8723be_phy_rf6052_set_cck_txpower()
104 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl8723be_phy_rf6052_set_cck_txpower()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c281 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8821ae_phy_rf_serial_write() local
282 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8821ae_phy_rf_serial_write()
325 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_bb_config() local
352 rtlphy->reg_837 = rtl_read_byte(rtlpriv, 0x837); in rtl8821ae_phy_bb_config()
841 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8821ae_phy_init_tx_power_by_rate() local
850 rtlphy->tx_power_by_rate_offset[band] in _rtl8821ae_phy_init_tx_power_by_rate()
860 struct rtl_phy *rtlphy = &rtlpriv->phy; in _rtl8821ae_phy_set_txpower_by_rate_base() local
871 rtlphy->txpwr_by_rate_base_24g[path][txnum][0] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
874 rtlphy->txpwr_by_rate_base_24g[path][txnum][1] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
877 rtlphy->txpwr_by_rate_base_24g[path][txnum][2] = value; in _rtl8821ae_phy_set_txpower_by_rate_base()
[all …]
Drf.c63 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_rf6052_set_cck_txpower() local
100 (rtlphy->mcs_txpwrlevel_origoffset[0][6]) + in rtl8821ae_phy_rf6052_set_cck_txpower()
101 (rtlphy->mcs_txpwrlevel_origoffset[0][7] << in rtl8821ae_phy_rf6052_set_cck_txpower()
105 tmpval = (rtlphy->mcs_txpwrlevel_origoffset[0][14]) + in rtl8821ae_phy_rf6052_set_cck_txpower()
106 (rtlphy->mcs_txpwrlevel_origoffset[0][15] << in rtl8821ae_phy_rf6052_set_cck_txpower()
150 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl8821ae_phy_get_power_base() local
166 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20) in rtl8821ae_phy_get_power_base()
190 struct rtl_phy *rtlphy = &rtlpriv->phy; in get_txpower_writeval_by_regulatory() local
201 rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + in get_txpower_writeval_by_regulatory()
210 if (rtlphy->pwrgroup_cnt == 1) { in get_txpower_writeval_by_regulatory()
[all …]

12