aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 8cd116efe3ea..bfa0b1518da1 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -354,6 +354,7 @@ struct ath_chanctx {
354 bool switch_after_beacon; 354 bool switch_after_beacon;
355 355
356 short nvifs; 356 short nvifs;
357 short nvifs_assigned;
357 unsigned int rxfilter; 358 unsigned int rxfilter;
358}; 359};
359 360
@@ -454,7 +455,8 @@ void ath9k_p2p_bss_info_changed(struct ath_softc *sc,
454void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp, 455void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *avp,
455 struct sk_buff *skb); 456 struct sk_buff *skb);
456void ath9k_p2p_ps_timer(void *priv); 457void ath9k_p2p_ps_timer(void *priv);
457void ath9k_chanctx_wake_queues(struct ath_softc *sc); 458void ath9k_chanctx_wake_queues(struct ath_softc *sc, struct ath_chanctx *ctx);
459void ath9k_chanctx_stop_queues(struct ath_softc *sc, struct ath_chanctx *ctx);
458void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx); 460void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx);
459 461
460void ath_chanctx_beacon_recv_ev(struct ath_softc *sc, 462void ath_chanctx_beacon_recv_ev(struct ath_softc *sc,
@@ -524,7 +526,12 @@ static inline void ath9k_beacon_add_noa(struct ath_softc *sc, struct ath_vif *av
524static inline void ath9k_p2p_ps_timer(struct ath_softc *sc) 526static inline void ath9k_p2p_ps_timer(struct ath_softc *sc)
525{ 527{
526} 528}
527static inline void ath9k_chanctx_wake_queues(struct ath_softc *sc) 529static inline void ath9k_chanctx_wake_queues(struct ath_softc *sc,
530 struct ath_chanctx *ctx)
531{
532}
533static inline void ath9k_chanctx_stop_queues(struct ath_softc *sc,
534 struct ath_chanctx *ctx)
528{ 535{
529} 536}
530static inline void ath_chanctx_check_active(struct ath_softc *sc, 537static inline void ath_chanctx_check_active(struct ath_softc *sc,
@@ -585,6 +592,11 @@ void ath9k_release_buffered_frames(struct ieee80211_hw *hw,
585struct ath_vif { 592struct ath_vif {
586 struct list_head list; 593 struct list_head list;
587 594
595 /* BSS info */
596 u8 bssid[ETH_ALEN];
597 u16 aid;
598 bool assoc;
599
588 struct ieee80211_vif *vif; 600 struct ieee80211_vif *vif;
589 struct ath_node mcast_node; 601 struct ath_node mcast_node;
590 int av_bslot; 602 int av_bslot;