aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-07-17 07:45:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-07-17 15:11:37 -0400
commit130ef6e9dc76f821caf98fa9ed6e2dafe15f3b1f (patch)
treee14de489e9e7f45c279ab9210ee4daba266902a2 /drivers/net/wireless/ath/ath9k/ath9k.h
parent0f245ed20b8df90f7610f0f62f9c3513e084a679 (diff)
ath9k: Fix beacon setup
This patch revamps interface addition and deletion and simplifies slot allocation. There is no need to setup the beacon buffer in add/remove interface, remove this and use simple APIs for assigning/deleting slots. 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, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 3e7a5726652b..9dd8fbb847fd 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -416,8 +416,8 @@ struct ath_beacon {
416 416
417void ath_beacon_tasklet(unsigned long data); 417void ath_beacon_tasklet(unsigned long data);
418void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif); 418void ath_beacon_config(struct ath_softc *sc, struct ieee80211_vif *vif);
419int ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_vif *vif); 419void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
420void ath_beacon_return(struct ath_softc *sc, struct ath_vif *avp); 420void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif);
421int ath_beaconq_config(struct ath_softc *sc); 421int ath_beaconq_config(struct ath_softc *sc);
422void ath_set_beacon(struct ath_softc *sc); 422void ath_set_beacon(struct ath_softc *sc);
423void ath9k_set_beaconing_status(struct ath_softc *sc, bool status); 423void ath9k_set_beaconing_status(struct ath_softc *sc, bool status);