Home
last modified time | relevance | path

Searched refs:lna_idx (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Dodm_HWConfig.c74 static s8 odm_cck_rssi(u8 lna_idx, u8 vga_idx) in odm_cck_rssi() argument
78 switch (lna_idx) { in odm_cck_rssi()
112 u8 lna_idx, vga_idx; in odm_rx_phy_status_parsing() local
137 lna_idx = ((cck_agc_rpt & 0xE0)>>5); in odm_rx_phy_status_parsing()
139 rx_pwr_all = odm_cck_rssi(lna_idx, vga_idx); in odm_rx_phy_status_parsing()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dphy.c3706 dig->cur_gaincode.lna_idx = LNA_IDX_MAX; in rtw89_phy_dig_para_reset()
3709 dig->force_gaincode.lna_idx = LNA_IDX_MAX; in rtw89_phy_dig_para_reset()
3729 u8 lna_idx; in rtw89_phy_dig_lna_idx_by_rssi() local
3732 lna_idx = RTW89_DIG_GAIN_LNA_IDX6; in rtw89_phy_dig_lna_idx_by_rssi()
3734 lna_idx = RTW89_DIG_GAIN_LNA_IDX5; in rtw89_phy_dig_lna_idx_by_rssi()
3736 lna_idx = RTW89_DIG_GAIN_LNA_IDX4; in rtw89_phy_dig_lna_idx_by_rssi()
3738 lna_idx = RTW89_DIG_GAIN_LNA_IDX3; in rtw89_phy_dig_lna_idx_by_rssi()
3740 lna_idx = RTW89_DIG_GAIN_LNA_IDX2; in rtw89_phy_dig_lna_idx_by_rssi()
3742 lna_idx = RTW89_DIG_GAIN_LNA_IDX1; in rtw89_phy_dig_lna_idx_by_rssi()
3744 return lna_idx; in rtw89_phy_dig_lna_idx_by_rssi()
[all …]
A Dcore.h3342 u8 lna_idx; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Drtw8821c.c496 static s8 get_cck_rx_pwr(struct rtw_dev *rtwdev, u8 lna_idx, u8 vga_idx) in get_cck_rx_pwr() argument
512 if (lna_idx >= lna_gain_table_size) { in get_cck_rx_pwr()
513 rtw_warn(rtwdev, "incorrect lna index (%d)\n", lna_idx); in get_cck_rx_pwr()
517 lna_gain = lna_gain_table[lna_idx]; in get_cck_rx_pwr()
528 u8 lna_idx = 0; in query_phy_status_page0() local
532 lna_idx = FIELD_PREP(BIT_LNA_H_MASK, GET_PHY_STAT_P0_LNA_H(phy_status)) | in query_phy_status_page0()
534 rx_power = get_cck_rx_pwr(rtwdev, lna_idx, vga_idx); in query_phy_status_page0()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtl8xxxu/
A Drtl8xxxu_8192e.c1751 u8 vga_idx, lna_idx; in rtl8192e_cck_rssi() local
1754 lna_idx = u8_get_bits(cck_agc_rpt, CCK_AGC_RPT_LNA_IDX_MASK); in rtl8192e_cck_rssi()
1758 lna_gain = lna_gain_table_0[lna_idx]; in rtl8192e_cck_rssi()
1760 lna_gain = lna_gain_table_1[lna_idx]; in rtl8192e_cck_rssi()
A Drtl8xxxu_8188e.c1337 u8 vga_idx, lna_idx; in rtl8188e_cck_rssi() local
1340 lna_idx = u8_get_bits(cck_agc_rpt, CCK_AGC_RPT_LNA_IDX_MASK); in rtl8188e_cck_rssi()
1344 lna_gain = lna_gain_table_0[lna_idx]; in rtl8188e_cck_rssi()
1346 lna_gain = lna_gain_table_1[lna_idx]; in rtl8188e_cck_rssi()
A Drtl8xxxu_8723b.c1681 u8 vga_idx, lna_idx; in rtl8723b_cck_rssi() local
1683 lna_idx = u8_get_bits(cck_agc_rpt, CCK_AGC_RPT_LNA_IDX_MASK); in rtl8723b_cck_rssi()
1686 switch (lna_idx) { in rtl8723b_cck_rssi()
A Drtl8xxxu_8188f.c1683 u8 vga_idx, lna_idx; in rtl8188f_cck_rssi() local
1685 lna_idx = u8_get_bits(cck_agc_rpt, CCK_AGC_RPT_LNA_IDX_MASK); in rtl8188f_cck_rssi()
1688 switch (lna_idx) { in rtl8188f_cck_rssi()

Completed in 47 milliseconds