rtlwifi: Add RSSI and RF type to wifi.h for phydm
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 29 Sep 2017 19:47:57 +0000 (14:47 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Oct 2017 09:43:40 +0000 (12:43 +0300)
These definition will be used by phydm later.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/wifi.h

index ceeca79..5843aee 100644 (file)
@@ -560,6 +560,11 @@ enum rf_type {
        RF_1T2R = 1,
        RF_2T2R = 2,
        RF_2T2R_GREEN = 3,
+       RF_2T3R = 4,
+       RF_2T4R = 5,
+       RF_3T3R = 6,
+       RF_3T4R = 7,
+       RF_4T4R = 8,
 };
 
 enum ht_channel_width {
@@ -1329,6 +1334,7 @@ struct rtl_sta_info {
        struct rtl_tid_data tids[MAX_TID_COUNT];
        /* just used for ap adhoc or mesh*/
        struct rssi_sta rssi_stat;
+       u8 rssi_level;
        u16 wireless_mode;
        u8 ratr_index;
        u8 mimo_ps;