1 // SPDX-License-Identifier: GPL-2.0
2 /******************************************************************************
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
6 ******************************************************************************/
8 #include "odm_precomp.h"
10 s8 odm_CCKRSSI_8723B(u8 LNA_idx, u8 VGA_idx)
15 /* 46 53 73 95 201301231630 */
16 /* 46 53 77 99 201301241630 */
19 rx_pwr_all = -34 - (2 * VGA_idx);
22 rx_pwr_all = -14 - (2 * VGA_idx);
25 rx_pwr_all = 6 - (2 * VGA_idx);
28 rx_pwr_all = 16 - (2 * VGA_idx);
31 /* rx_pwr_all = -53+(2*(31-VGA_idx)); */
32 /* DbgPrint("wrong LNA index\n"); */