ath9k.h (c7dd40c92af1f28b84995a07aa88ccd3068ee4de) | ath9k.h (499afaccf6f3d5d3180f4155e85becf15d09ff71) |
---|---|
1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 394 unchanged lines hidden (view full) --- 403 int roc_duration; 404 int duration; 405}; 406#define ath_for_each_chanctx(_sc, _ctx) \ 407 for (ctx = &sc->chanctx[0]; \ 408 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \ 409 ctx++) 410 | 1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 394 unchanged lines hidden (view full) --- 403 int roc_duration; 404 int duration; 405}; 406#define ath_for_each_chanctx(_sc, _ctx) \ 407 for (ctx = &sc->chanctx[0]; \ 408 ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \ 409 ctx++) 410 |
411void ath9k_fill_chanctx_ops(void); | |
412void ath9k_chanctx_force_active(struct ieee80211_hw *hw, 413 struct ieee80211_vif *vif); 414static inline struct ath_chanctx * 415ath_chanctx_get(struct ieee80211_chanctx_conf *ctx) 416{ 417 struct ath_chanctx **ptr = (void *) ctx->drv_priv; 418 return *ptr; 419} --- 12 unchanged lines hidden (view full) --- 432void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, 433 enum ath_chanctx_event ev); 434void ath_chanctx_timer(unsigned long data); 435void ath_offchannel_next(struct ath_softc *sc); 436void ath_scan_complete(struct ath_softc *sc, bool abort); 437void ath_roc_complete(struct ath_softc *sc, bool abort); 438 439#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT | 411void ath9k_chanctx_force_active(struct ieee80211_hw *hw, 412 struct ieee80211_vif *vif); 413static inline struct ath_chanctx * 414ath_chanctx_get(struct ieee80211_chanctx_conf *ctx) 415{ 416 struct ath_chanctx **ptr = (void *) ctx->drv_priv; 417 return *ptr; 418} --- 12 unchanged lines hidden (view full) --- 431void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, 432 enum ath_chanctx_event ev); 433void ath_chanctx_timer(unsigned long data); 434void ath_offchannel_next(struct ath_softc *sc); 435void ath_scan_complete(struct ath_softc *sc, bool abort); 436void ath_roc_complete(struct ath_softc *sc, bool abort); 437 438#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT |
439bool ath9k_is_chanctx_enabled(void); 440void ath9k_fill_chanctx_ops(void); |
|
440int ath9k_init_p2p(struct ath_softc *sc); 441void ath9k_deinit_p2p(struct ath_softc *sc); 442void ath9k_p2p_remove_vif(struct ath_softc *sc, 443 struct ieee80211_vif *vif); 444void ath9k_p2p_beacon_sync(struct ath_softc *sc); 445void ath9k_p2p_bss_info_changed(struct ath_softc *sc, 446 struct ieee80211_vif *vif); 447void ath9k_p2p_ps_timer(void *priv); 448#else | 441int ath9k_init_p2p(struct ath_softc *sc); 442void ath9k_deinit_p2p(struct ath_softc *sc); 443void ath9k_p2p_remove_vif(struct ath_softc *sc, 444 struct ieee80211_vif *vif); 445void ath9k_p2p_beacon_sync(struct ath_softc *sc); 446void ath9k_p2p_bss_info_changed(struct ath_softc *sc, 447 struct ieee80211_vif *vif); 448void ath9k_p2p_ps_timer(void *priv); 449#else |
450static inline bool ath9k_is_chanctx_enabled(void) 451{ 452 return false; 453} 454static inline void ath9k_fill_chanctx_ops(void) 455{ 456} |
|
449static inline int ath9k_init_p2p(struct ath_softc *sc) 450{ 451 return 0; 452} 453static inline void ath9k_deinit_p2p(struct ath_softc *sc) 454{ 455} 456static inline void ath9k_p2p_remove_vif(struct ath_softc *sc, --- 564 unchanged lines hidden --- | 457static inline int ath9k_init_p2p(struct ath_softc *sc) 458{ 459 return 0; 460} 461static inline void ath9k_deinit_p2p(struct ath_softc *sc) 462{ 463} 464static inline void ath9k_p2p_remove_vif(struct ath_softc *sc, --- 564 unchanged lines hidden --- |