aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-08-23 03:59:20 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-08-28 14:49:37 -0400
commite90e302a15b85ed27bdc148be2eed50c8aaaee06 (patch)
treed1bc206388ca18341fae536201098d5748a78f2a /drivers/net/wireless/ath/ath9k/ath9k.h
parent0e08b5fb81111662bf9fa5f67f8a412791923b6f (diff)
ath9k: Add ath9k_offchannel_init
This patch adds a routine to setup the offchannel instance in ath_softc. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 892ca4af75ef..5b8bc5dd007e 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -423,6 +423,7 @@ void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx);
423bool ath9k_is_chanctx_enabled(void); 423bool ath9k_is_chanctx_enabled(void);
424void ath9k_fill_chanctx_ops(void); 424void ath9k_fill_chanctx_ops(void);
425void ath9k_init_channel_context(struct ath_softc *sc); 425void ath9k_init_channel_context(struct ath_softc *sc);
426void ath9k_offchannel_init(struct ath_softc *sc);
426void ath9k_deinit_channel_context(struct ath_softc *sc); 427void ath9k_deinit_channel_context(struct ath_softc *sc);
427int ath9k_init_p2p(struct ath_softc *sc); 428int ath9k_init_p2p(struct ath_softc *sc);
428void ath9k_deinit_p2p(struct ath_softc *sc); 429void ath9k_deinit_p2p(struct ath_softc *sc);
@@ -455,6 +456,9 @@ static inline void ath9k_fill_chanctx_ops(void)
455static inline void ath9k_init_channel_context(struct ath_softc *sc) 456static inline void ath9k_init_channel_context(struct ath_softc *sc)
456{ 457{
457} 458}
459static inline void ath9k_offchannel_init(struct ath_softc *sc)
460{
461}
458static inline void ath9k_deinit_channel_context(struct ath_softc *sc) 462static inline void ath9k_deinit_channel_context(struct ath_softc *sc)
459{ 463{
460} 464}