1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
16 #include "odm_precomp.h"
18 s8 odm_CCKRSSI_8723B(u8 LNA_idx, u8 VGA_idx)
23 /* 46 53 73 95 201301231630 */
24 /* 46 53 77 99 201301241630 */
27 rx_pwr_all = -34 - (2 * VGA_idx);
30 rx_pwr_all = -14 - (2 * VGA_idx);
33 rx_pwr_all = 6 - (2 * VGA_idx);
36 rx_pwr_all = 16 - (2 * VGA_idx);
39 /* rx_pwr_all = -53+(2*(31-VGA_idx)); */
40 /* DbgPrint("wrong LNA index\n"); */