/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/ |
A D | stats.c | 74 u8 rfpath; in rtl_process_ui_rssi() local 103 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl_process_ui_rssi() 104 rfpath++) { in rtl_process_ui_rssi() 106 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl_process_ui_rssi() 112 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl_process_ui_rssi() 126 rtlpriv->stats.rx_snr_db[rfpath] = pstatus->rx_snr[rfpath]; in rtl_process_ui_rssi() 127 rtlpriv->stats.rx_evm_dbm[rfpath] = in rtl_process_ui_rssi() 128 pstatus->rx_mimo_evm_dbm[rfpath]; in rtl_process_ui_rssi() 129 rtlpriv->stats.rx_cfo_short[rfpath] = in rtl_process_ui_rssi() 130 pstatus->cfo_short[rfpath]; in rtl_process_ui_rssi() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | rf.c | 16 u8 rfpath; in rtl92d_phy_rf6052_set_bandwidth() local 20 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth() 33 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth() 34 rtlphy->rfreg_chnlval[rfpath] = in rtl92d_phy_rf6052_set_bandwidth() 444 u8 rfpath; in rtl92d_phy_rf6052_config() local 491 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_config() 500 rfpath = RF90_PATH_A; in rtl92d_phy_rf6052_config() 512 rfpath = RF90_PATH_A; in rtl92d_phy_rf6052_config() 518 switch (rfpath) { in rtl92d_phy_rf6052_config() 542 switch (rfpath) { in rtl92d_phy_rf6052_config() [all …]
|
A D | hw.c | 1405 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_readpowervalue_fromprom() 1407 pwrinfo->cck_index[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1436 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_readpowervalue_fromprom() 1440 pwrinfo->cck_index[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1448 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_readpowervalue_fromprom() 1454 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1463 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_readpowervalue_fromprom() 1545 u32 ch, rfpath, group; in _rtl92de_read_txpower_info() local 1625 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_read_txpower_info() 1637 rtlefuse->pwrgroup_ht20[rfpath][ch] = in _rtl92de_read_txpower_info() [all …]
|
A D | phy.c | 799 switch (rfpath) { in rtl92d_phy_config_rf_with_headerfile() 1111 rfpath); in _rtl92d_phy_reload_imr_setting() 1276 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in _rtl92d_phy_switch_rf_setting() 1277 rfpath++) { in _rtl92d_phy_switch_rf_setting() 2721 u8 rfpath; in _rtl92d_phy_sw_chnl_step_by_step() local 2779 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl92d_phy_sw_chnl_step_by_step() 3327 u8 rfpath, i; in rtl92d_update_bbrf_configuration() local 3448 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92d_update_bbrf_configuration() 3495 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92d_update_bbrf_configuration() 3497 rtlphy->rfreg_chnlval[rfpath] = rtl_get_rfreg(hw, rfpath, in rtl92d_update_bbrf_configuration() [all …]
|
A D | trx.c | 190 u8 rfpath; in rtl92d_loop_over_paths() local 192 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92d_loop_over_paths() 193 rfpath++) { in rtl92d_loop_over_paths() 195 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths() 196 pstats->rx_mimo_signalstrength[rfpath]; in rtl92d_loop_over_paths() 199 if (pstats->rx_mimo_signalstrength[rfpath] > in rtl92d_loop_over_paths() 200 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in rtl92d_loop_over_paths() 201 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths() 204 (pstats->rx_mimo_signalstrength[rfpath])) / in rtl92d_loop_over_paths() 206 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths() [all …]
|
A D | phy.h | 107 enum radio_path rfpath, u32 regaddr, 110 enum radio_path rfpath, u32 regaddr, 116 enum radio_path rfpath); 124 enum radio_path rfpath);
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | rf.c | 59 u8 rfpath; in _rtl92ee_phy_rf6052_config_parafile() local 63 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92ee_phy_rf6052_config_parafile() 64 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf6052_config_parafile() 66 switch (rfpath) { in _rtl92ee_phy_rf6052_config_parafile() 92 switch (rfpath) { in _rtl92ee_phy_rf6052_config_parafile() 95 (enum radio_path)rfpath); in _rtl92ee_phy_rf6052_config_parafile() 99 (enum radio_path)rfpath); in _rtl92ee_phy_rf6052_config_parafile() 107 switch (rfpath) { in _rtl92ee_phy_rf6052_config_parafile() 122 "Radio[%d] Fail!!\n", rfpath); in _rtl92ee_phy_rf6052_config_parafile()
|
A D | phy.c | 90 regaddr, rfpath, bitmask); in rtl92ee_phy_query_rf_reg() 108 enum radio_path rfpath, in rtl92ee_phy_set_rf_reg() argument 153 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 163 if (rfpath == RF90_PATH_A) in _rtl92ee_phy_rf_serial_read() 909 switch (rfpath) { in rtl92ee_phy_config_rf_with_headerfile() 1264 rfpath, rate); in _rtl92ee_get_txpower_index() 1585 enum radio_path rfpath; in rtl92ee_phy_set_txpower_level() local 1589 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92ee_phy_set_txpower_level() 1590 rfpath++) { in rtl92ee_phy_set_txpower_level() 1816 u8 rfpath; in _rtl92ee_phy_sw_chnl_step_by_step() local [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | phy.h | 59 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 61 void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 67 enum radio_path rfpath); 84 enum radio_path rfpath); 86 u32 rfpath); 93 u32 _rtl92c_phy_rf_serial_read(struct ieee80211_hw *hw, enum radio_path rfpath, 96 enum radio_path rfpath, u32 offset); 99 enum radio_path rfpath, u32 offset, u32 data); 101 enum radio_path rfpath, u32 offset,
|
A D | phy.c | 30 regaddr, rfpath, bitmask); in rtl92c_phy_query_rf_reg() 36 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 39 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 49 regaddr, rfpath, bitmask, original_value); in rtl92c_phy_query_rf_reg() 95 enum radio_path rfpath, in rtl92ce_phy_set_rf_reg() argument 104 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg() 111 rfpath, in rtl92ce_phy_set_rf_reg() 123 rfpath, in rtl92ce_phy_set_rf_reg() 137 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg() 231 enum radio_path rfpath) in rtl92c_phy_config_rf_with_headerfile() argument [all …]
|
A D | rf.c | 410 u8 rfpath; in _rtl92ce_phy_rf6052_config_parafile() local 414 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92ce_phy_rf6052_config_parafile() 416 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ce_phy_rf6052_config_parafile() 418 switch (rfpath) { in _rtl92ce_phy_rf6052_config_parafile() 444 switch (rfpath) { in _rtl92ce_phy_rf6052_config_parafile() 447 (enum radio_path)rfpath); in _rtl92ce_phy_rf6052_config_parafile() 451 (enum radio_path)rfpath); in _rtl92ce_phy_rf6052_config_parafile() 459 switch (rfpath) { in _rtl92ce_phy_rf6052_config_parafile() 474 "Radio[%d] Fail!!\n", rfpath); in _rtl92ce_phy_rf6052_config_parafile()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | hw.c | 1573 for (rfpath = 0 ; rfpath < MAX_RF_PATH ; rfpath++) { in read_power_value_fromprom() 1575 set_24g_base(pwrinfo24g, rfpath); in read_power_value_fromprom() 1580 for (rfpath = 0 ; rfpath < MAX_RF_PATH ; rfpath++) { in read_power_value_fromprom() 1596 pwrinfo24g->bw40_diff[rfpath][0] = 0; in read_power_value_fromprom() 1600 pwrinfo24g->bw20_diff[rfpath][0] = in read_power_value_fromprom() 1610 pwrinfo24g->ofdm_diff[rfpath][0] = in read_power_value_fromprom() 1616 pwrinfo24g->cck_diff[rfpath][0] = 0; in read_power_value_fromprom() 1676 pwrinfo5g->bw40_diff[rfpath][0] = 0; in read_power_value_fromprom() 1681 pwrinfo5g->bw20_diff[rfpath][0] = in read_power_value_fromprom() 1724 pwrinfo5g->ofdm_diff[rfpath][1] = in read_power_value_fromprom() [all …]
|
A D | rf.c | 415 u8 rfpath; in _rtl88e_phy_rf6052_config_parafile() local 419 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl88e_phy_rf6052_config_parafile() 420 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf6052_config_parafile() 422 switch (rfpath) { in _rtl88e_phy_rf6052_config_parafile() 448 switch (rfpath) { in _rtl88e_phy_rf6052_config_parafile() 451 (enum radio_path)rfpath); in _rtl88e_phy_rf6052_config_parafile() 455 (enum radio_path)rfpath); in _rtl88e_phy_rf6052_config_parafile() 463 switch (rfpath) { in _rtl88e_phy_rf6052_config_parafile() 478 "Radio[%d] Fail!!\n", rfpath); in _rtl88e_phy_rf6052_config_parafile()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | phy.c | 27 regaddr, rfpath, bitmask); in rtl92cu_phy_query_rf_reg() 30 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 33 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 39 regaddr, rfpath, bitmask, original_value); in rtl92cu_phy_query_rf_reg() 44 enum radio_path rfpath, in rtl92cu_phy_set_rf_reg() argument 53 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg() 57 rfpath, in rtl92cu_phy_set_rf_reg() 68 rfpath, in rtl92cu_phy_set_rf_reg() 79 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg() 208 enum radio_path rfpath) in rtl92cu_phy_config_rf_with_headerfile() argument [all …]
|
A D | phy.h | 7 bool rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw, u32 rfpath); 12 enum radio_path rfpath, u32 regaddr, u32 bitmask); 14 enum radio_path rfpath,
|
A D | rf.c | 383 u8 rfpath; in _rtl92c_phy_rf6052_config_parafile() local 387 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92c_phy_rf6052_config_parafile() 388 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf6052_config_parafile() 389 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 410 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 414 (enum radio_path) rfpath); in _rtl92c_phy_rf6052_config_parafile() 421 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 435 "Radio[%d] Fail!!\n", rfpath); in _rtl92c_phy_rf6052_config_parafile()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | phy_common.h | 167 enum radio_path rfpath, u32 regaddr, 173 enum radio_path rfpath); 191 enum radio_path rfpath); 193 u32 rfpath); 213 enum radio_path rfpath, u32 offset); 215 enum radio_path rfpath, u32 offset, 218 enum radio_path rfpath, u32 offset); 220 enum radio_path rfpath, u32 offset,
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | phy.c | 84 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 104 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 107 else if (rfpath == RF90_PATH_B) in _rtl92s_phy_rf_serial_read() 119 rfpath, pphyreg->rf_rb, retvalue); in _rtl92s_phy_rf_serial_read() 154 regaddr, rfpath, bitmask); in rtl92s_phy_query_rf_reg() 184 regaddr, bitmask, data, rfpath); in rtl92s_phy_set_rf_reg() 201 regaddr, bitmask, data, rfpath); in rtl92s_phy_set_rf_reg() 329 u8 rfpath; in _rtl92s_phy_sw_chnl_step_by_step() local 397 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl92s_phy_sw_chnl_step_by_step() 626 enum radio_path rfpath) in _rtl92s_phy_config_rfpa_bias_current() argument [all …]
|
A D | rf.c | 403 u8 rfpath; in rtl92s_phy_rf6052_config() local 408 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92s_phy_rf6052_config() 410 pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl92s_phy_rf6052_config() 413 switch (rfpath) { in rtl92s_phy_rf6052_config() 442 switch (rfpath) { in rtl92s_phy_rf6052_config() 445 (enum radio_path)rfpath); in rtl92s_phy_rf6052_config() 449 (enum radio_path)rfpath); in rtl92s_phy_rf6052_config() 458 switch (rfpath) { in rtl92s_phy_rf6052_config() 473 pr_err("Radio[%d] Fail!!\n", rfpath); in rtl92s_phy_rf6052_config()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | hw.c | 2601 for (rfpath = 0 ; rfpath < MAX_RF_PATH ; rfpath++) { in _rtl8821ae_read_power_value_fromprom() 2609 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in _rtl8821ae_read_power_value_fromprom() 2610 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom() 2624 pwrinfo5g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom() 2625 pwrinfo5g->bw20_diff[rfpath][0] = 0x00; in _rtl8821ae_read_power_value_fromprom() 2626 pwrinfo5g->bw80_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2629 pwrinfo5g->ofdm_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2630 pwrinfo5g->bw20_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2631 pwrinfo5g->bw40_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom() 2632 pwrinfo5g->bw80_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom() [all …]
|
A D | rf.c | 398 u8 rfpath; in _rtl8821ae_phy_rf6052_config_parafile() local 401 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8821ae_phy_rf6052_config_parafile() 402 switch (rfpath) { in _rtl8821ae_phy_rf6052_config_parafile() 407 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 411 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 418 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 422 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 432 "Radio[%d] Fail!!\n", rfpath); in _rtl8821ae_phy_rf6052_config_parafile()
|
A D | phy.c | 150 regaddr, rfpath, bitmask); in rtl8821ae_phy_query_rf_reg() 168 enum radio_path rfpath, in rtl8821ae_phy_set_rf_reg() argument 218 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 230 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 237 if (rfpath == RF90_PATH_A) in _rtl8821ae_phy_rf_serial_read() 896 for (rfpath = 0; rfpath < TX_PWR_BY_RATE_NUM_RF; ++rfpath) in _rtl8821ae_phy_init_tx_power_by_rate() 1469 u8 base = 0, rfpath = 0; in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() local 1471 for (rfpath = RF90_PATH_A; rfpath <= RF90_PATH_B; ++rfpath) { in _rtl8821ae_phy_convert_txpower_dbm_to_relative_value() 1969 rfpath = MAX_RF_PATH - 1; in _rtl8821ae_store_tx_power_by_rate() 2071 switch (rfpath) { in rtl8812ae_phy_config_rf_with_headerfile() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | rf.c | 419 u8 rfpath; in _rtl8723e_phy_rf6052_config_parafile() local 423 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8723e_phy_rf6052_config_parafile() 425 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723e_phy_rf6052_config_parafile() 427 switch (rfpath) { in _rtl8723e_phy_rf6052_config_parafile() 453 switch (rfpath) { in _rtl8723e_phy_rf6052_config_parafile() 456 (enum radio_path)rfpath); in _rtl8723e_phy_rf6052_config_parafile() 461 (enum radio_path)rfpath); in _rtl8723e_phy_rf6052_config_parafile() 469 switch (rfpath) { in _rtl8723e_phy_rf6052_config_parafile() 484 "Radio[%d] Fail!!\n", rfpath); in _rtl8723e_phy_rf6052_config_parafile()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | rf.c | 419 u8 rfpath; in _rtl8723be_phy_rf6052_config_parafile() local 423 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8723be_phy_rf6052_config_parafile() 424 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723be_phy_rf6052_config_parafile() 426 switch (rfpath) { in _rtl8723be_phy_rf6052_config_parafile() 452 switch (rfpath) { in _rtl8723be_phy_rf6052_config_parafile() 455 (enum radio_path)rfpath); in _rtl8723be_phy_rf6052_config_parafile() 459 (enum radio_path)rfpath); in _rtl8723be_phy_rf6052_config_parafile() 467 switch (rfpath) { in _rtl8723be_phy_rf6052_config_parafile() 482 "Radio[%d] Fail!!\n", rfpath); in _rtl8723be_phy_rf6052_config_parafile()
|
A D | phy.c | 39 regaddr, rfpath, bitmask); in rtl8723be_phy_query_rf_reg() 440 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() local 461 rfpath, RF_1TX, HT_MCS0_MCS7); in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 470 rfpath, RF_2TX, in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 678 u32 band, u32 rfpath, in _rtl8723be_store_tx_power_by_rate() argument 690 if (rfpath > MAX_RF_PATH - 1) { in _rtl8723be_store_tx_power_by_rate() 692 "Invalid RfPath %d\n", rfpath); in _rtl8723be_store_tx_power_by_rate() 744 enum radio_path rfpath) in rtl8723be_phy_config_rf_with_headerfile() argument 751 switch (rfpath) { in rtl8723be_phy_config_rf_with_headerfile() 1344 u8 rfpath; in _rtl8723be_phy_sw_chnl_step_by_step() local [all …]
|