rtlwifi: Fill ap_num field by driver
Check beacon and probe_resp frames to know ap_num 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>
This commit is contained in:
@@ -2333,6 +2333,7 @@ struct rtl_locks {
|
||||
spinlock_t entry_list_lock;
|
||||
spinlock_t usb_lock;
|
||||
spinlock_t c2hcmd_lock;
|
||||
spinlock_t scan_list_lock; /* lock for the scan list */
|
||||
|
||||
/*FW clock change */
|
||||
spinlock_t fw_ps_lock;
|
||||
@@ -2587,6 +2588,17 @@ struct rtl_c2hcmd {
|
||||
u8 *val;
|
||||
};
|
||||
|
||||
struct rtl_bssid_entry {
|
||||
struct list_head list;
|
||||
u8 bssid[ETH_ALEN];
|
||||
u32 age;
|
||||
};
|
||||
|
||||
struct rtl_scan_list {
|
||||
int num;
|
||||
struct list_head list; /* sort by age */
|
||||
};
|
||||
|
||||
struct rtl_priv {
|
||||
struct ieee80211_hw *hw;
|
||||
struct completion firmware_loading_complete;
|
||||
@@ -2608,6 +2620,7 @@ struct rtl_priv {
|
||||
struct rtl_efuse efuse;
|
||||
struct rtl_led_ctl ledctl;
|
||||
struct rtl_tx_report tx_report;
|
||||
struct rtl_scan_list scan_list;
|
||||
|
||||
struct rtl_ps_ctl psc;
|
||||
struct rate_adaptive ra;
|
||||
|
Reference in New Issue
Block a user