Home
last modified time | relevance | path

Searched refs:vga_idx (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/rtl8723bs/hal/
Dodm_HWConfig.c74 static s8 odm_cck_rssi(u8 lna_idx, u8 vga_idx) in odm_cck_rssi() argument
83 rx_pwr_all = -34 - (2 * vga_idx); in odm_cck_rssi()
86 rx_pwr_all = -14 - (2 * vga_idx); in odm_cck_rssi()
89 rx_pwr_all = 6 - (2 * vga_idx); in odm_cck_rssi()
92 rx_pwr_all = 16 - (2 * vga_idx); in odm_cck_rssi()
112 u8 lna_idx, vga_idx; in odm_rx_phy_status_parsing() local
138 vga_idx = (cck_agc_rpt & 0x1F); in odm_rx_phy_status_parsing()
139 rx_pwr_all = odm_cck_rssi(lna_idx, vga_idx); in odm_rx_phy_status_parsing()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c73 u8 lan_idx, vga_idx; in query_rxphystatus() local
95 vga_idx = (cck_agc_rpt & 0x1f); in query_rxphystatus()
99 if (vga_idx <= 27) in query_rxphystatus()
101 rx_pwr_all = -100 + 2*(27-vga_idx); in query_rxphystatus()
107 rx_pwr_all = -48 + 2*(2-vga_idx); in query_rxphystatus()
111 rx_pwr_all = -42 + 2*(7-vga_idx); in query_rxphystatus()
115 rx_pwr_all = -36 + 2*(7-vga_idx); in query_rxphystatus()
119 rx_pwr_all = -24 + 2*(7-vga_idx); in query_rxphystatus()
124 rx_pwr_all = -12 + 2*(5-vga_idx); in query_rxphystatus()
126 rx_pwr_all = -6 + 2*(5-vga_idx); in query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c44 u8 lan_idx, vga_idx; in _rtl88ee_query_rxphystatus() local
72 vga_idx = (cck_agc_rpt & 0x1f); in _rtl88ee_query_rxphystatus()
75 if (vga_idx <= 27) in _rtl88ee_query_rxphystatus()
77 rx_pwr_all = -100 + 2*(27-vga_idx); in _rtl88ee_query_rxphystatus()
83 rx_pwr_all = -48 + 2*(2-vga_idx); in _rtl88ee_query_rxphystatus()
87 rx_pwr_all = -42 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus()
91 rx_pwr_all = -36 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus()
95 rx_pwr_all = -24 + 2*(7-vga_idx); in _rtl88ee_query_rxphystatus()
100 rx_pwr_all = -12 + 2*(5-vga_idx); in _rtl88ee_query_rxphystatus()
102 rx_pwr_all = -6 + 2*(5-vga_idx); in _rtl88ee_query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c42 u8 lan_idx, vga_idx; in _rtl92ee_query_rxphystatus() local
65 vga_idx = (cck_agc_rpt & 0x1f); in _rtl92ee_query_rxphystatus()
68 if (vga_idx <= 27) in _rtl92ee_query_rxphystatus()
69 rx_pwr_all = -100 + 2 * (27 - vga_idx); in _rtl92ee_query_rxphystatus()
74 rx_pwr_all = -48 + 2 * (2 - vga_idx); in _rtl92ee_query_rxphystatus()
77 rx_pwr_all = -42 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus()
80 rx_pwr_all = -36 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus()
83 rx_pwr_all = -24 + 2 * (7 - vga_idx); in _rtl92ee_query_rxphystatus()
87 rx_pwr_all = -12 + 2 * (5 - vga_idx); in _rtl92ee_query_rxphystatus()
89 rx_pwr_all = -6 + 2 * (5 - vga_idx); in _rtl92ee_query_rxphystatus()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c43 u8 lan_idx, vga_idx; in _rtl8723be_query_rxphystatus() local
64 vga_idx = (cck_agc_rpt & 0x1f); in _rtl8723be_query_rxphystatus()
70 rx_pwr_all = -34 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
73 rx_pwr_all = -14 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
76 rx_pwr_all = 6 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
79 rx_pwr_all = 16 - (2 * vga_idx); in _rtl8723be_query_rxphystatus()
/drivers/net/wireless/realtek/rtw88/
Drtw8821c.c487 static s8 get_cck_rx_pwr(struct rtw_dev *rtwdev, u8 lna_idx, u8 vga_idx) in get_cck_rx_pwr() argument
509 rx_pwr_all = lna_gain - 2 * vga_idx; in get_cck_rx_pwr()
520 u8 vga_idx = 0; in query_phy_status_page0() local
522 vga_idx = GET_PHY_STAT_P0_VGA(phy_status); in query_phy_status_page0()
525 rx_power = get_cck_rx_pwr(rtwdev, lna_idx, vga_idx); in query_phy_status_page0()
/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c8733 u8 rfval, vga_idx = 0; in rt2800_rxiq_calibration() local
8886 vga_idx = 0; in rt2800_rxiq_calibration()
8887 while (vga_idx < 11) { in rt2800_rxiq_calibration()
8888 rt2800_rfcsr_write_dccal(rt2x00dev, 3, rf_vga_table[vga_idx]); in rt2800_rxiq_calibration()
8889 rt2800_rfcsr_write_dccal(rt2x00dev, 4, rf_vga_table[vga_idx]); in rt2800_rxiq_calibration()
8947 si, sq, riq, bbpval1, vga_idx); in rt2800_rxiq_calibration()
8953 vga_idx = vga_idx + 9; in rt2800_rxiq_calibration()
8955 vga_idx = vga_idx + 8; in rt2800_rxiq_calibration()
8957 vga_idx = vga_idx + 7; in rt2800_rxiq_calibration()
8959 vga_idx = vga_idx + 6; in rt2800_rxiq_calibration()
[all …]