0001
0002
0003
0004 #ifndef __RTL_STATS_H__
0005 #define __RTL_STATS_H__
0006
0007 #define PHY_RSSI_SLID_WIN_MAX 100
0008 #define PHY_LINKQUALITY_SLID_WIN_MAX 20
0009 #define PHY_BEACON_RSSI_SLID_WIN_MAX 10
0010
0011
0012 #define RX_SMOOTH_FACTOR 20
0013
0014 u8 rtl_query_rxpwrpercentage(s8 antpower);
0015 u8 rtl_evm_db_to_percentage(s8 value);
0016 long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig);
0017 void rtl_process_phyinfo(struct ieee80211_hw *hw, u8 *buffer,
0018 struct rtl_stats *pstatus);
0019
0020 #endif