summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rsi/rsi_main.h
diff options
context:
space:
mode:
authorPrameela Rani Garnepudi <prameela.j04cs@gmail.com>2017-08-16 15:13:08 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-08-17 09:06:54 +0200
commit6da1e00a539d978339d6a6471b4346c6d82797ff (patch)
tree3a2b1f4c8192e3bb69eab15363c8fe1a421604b7 /drivers/net/wireless/rsi/rsi_main.h
parentqtnfmac: modify tx reclaim locking (diff)
downloadlinux-6da1e00a539d978339d6a6471b4346c6d82797ff.tar.xz
linux-6da1e00a539d978339d6a6471b4346c6d82797ff.zip
rsi: advertise ap mode support
AP mode support is advertised to cfg80211. Necessary wiphy parameters are initialized. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_main.h')
-rw-r--r--drivers/net/wireless/rsi/rsi_main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/rsi/rsi_main.h b/drivers/net/wireless/rsi/rsi_main.h
index d05b5e0847bc..0077888190c3 100644
--- a/drivers/net/wireless/rsi/rsi_main.h
+++ b/drivers/net/wireless/rsi/rsi_main.h
@@ -21,6 +21,13 @@
#include <linux/skbuff.h>
#include <net/mac80211.h>
+struct rsi_sta {
+ struct ieee80211_sta *sta;
+ s16 sta_id;
+ u16 seq_start[IEEE80211_NUM_TIDS];
+ bool start_tx_aggr[IEEE80211_NUM_TIDS];
+};
+
struct rsi_hw;
#include "rsi_ps.h"
@@ -253,6 +260,9 @@ struct rsi_common {
u16 beacon_interval;
u8 dtim_cnt;
+
+ /* AP mode parameters */
+ int max_stations;
};
enum host_intf {