aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/ath9k.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath9k/ath9k.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h
index 1598bac9242d..41eeac42a80c 100644
--- a/drivers/net/wireless/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath9k/ath9k.h
@@ -549,9 +549,12 @@ struct ath_bus_ops {
549 bool (*eeprom_read)(struct ath_hw *ah, u32 off, u16 *data); 549 bool (*eeprom_read)(struct ath_hw *ah, u32 off, u16 *data);
550}; 550};
551 551
552struct ath_wiphy;
553
552struct ath_softc { 554struct ath_softc {
553 struct ieee80211_hw *hw; 555 struct ieee80211_hw *hw;
554 struct device *dev; 556 struct device *dev;
557 struct ath_wiphy *pri_wiphy;
555 struct tasklet_struct intr_tq; 558 struct tasklet_struct intr_tq;
556 struct tasklet_struct bcon_tasklet; 559 struct tasklet_struct bcon_tasklet;
557 struct ath_hw *sc_ah; 560 struct ath_hw *sc_ah;
@@ -607,6 +610,11 @@ struct ath_softc {
607 struct ath_bus_ops *bus_ops; 610 struct ath_bus_ops *bus_ops;
608}; 611};
609 612
613struct ath_wiphy {
614 struct ath_softc *sc; /* shared for all virtual wiphys */
615 struct ieee80211_hw *hw;
616};
617
610int ath_reset(struct ath_softc *sc, bool retry_tx); 618int ath_reset(struct ath_softc *sc, bool retry_tx);
611int ath_get_hal_qnum(u16 queue, struct ath_softc *sc); 619int ath_get_hal_qnum(u16 queue, struct ath_softc *sc);
612int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc); 620int ath_get_mac80211_qnum(u32 queue, struct ath_softc *sc);