diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:05 -0500 |
commit | cbe61d8a41210600bc76b212edcd4dc0f55c014f (patch) | |
tree | d8bd8e43d3556c58d410f1bef0d2ca3bf7d75c92 /drivers/net/wireless/ath9k/beacon.c | |
parent | ba52da58be0acf3b7775972b2b5234ce64388c79 (diff) |
ath9k: Merge ath_hal and ath_hal_5416 structures
Finally, merge these structures and have a single
HW specific data structure.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/beacon.c')
-rw-r--r-- | drivers/net/wireless/ath9k/beacon.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath9k/beacon.c b/drivers/net/wireless/ath9k/beacon.c index 139bba738c5f..19ec4e8791b4 100644 --- a/drivers/net/wireless/ath9k/beacon.c +++ b/drivers/net/wireless/ath9k/beacon.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | static int ath_beaconq_config(struct ath_softc *sc) | 24 | static int ath_beaconq_config(struct ath_softc *sc) |
25 | { | 25 | { |
26 | struct ath_hal *ah = sc->sc_ah; | 26 | struct ath_hw *ah = sc->sc_ah; |
27 | struct ath9k_tx_queue_info qi; | 27 | struct ath9k_tx_queue_info qi; |
28 | 28 | ||
29 | ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); | 29 | ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); |
@@ -66,7 +66,7 @@ static void ath_beacon_setup(struct ath_softc *sc, | |||
66 | struct ath_vif *avp, struct ath_buf *bf) | 66 | struct ath_vif *avp, struct ath_buf *bf) |
67 | { | 67 | { |
68 | struct sk_buff *skb = (struct sk_buff *)bf->bf_mpdu; | 68 | struct sk_buff *skb = (struct sk_buff *)bf->bf_mpdu; |
69 | struct ath_hal *ah = sc->sc_ah; | 69 | struct ath_hw *ah = sc->sc_ah; |
70 | struct ath_desc *ds; | 70 | struct ath_desc *ds; |
71 | struct ath9k_11n_rate_series series[4]; | 71 | struct ath9k_11n_rate_series series[4]; |
72 | struct ath_rate_table *rt; | 72 | struct ath_rate_table *rt; |
@@ -248,7 +248,7 @@ static struct ath_buf *ath_beacon_generate(struct ath_softc *sc, int if_id) | |||
248 | static void ath_beacon_start_adhoc(struct ath_softc *sc, int if_id) | 248 | static void ath_beacon_start_adhoc(struct ath_softc *sc, int if_id) |
249 | { | 249 | { |
250 | struct ieee80211_vif *vif; | 250 | struct ieee80211_vif *vif; |
251 | struct ath_hal *ah = sc->sc_ah; | 251 | struct ath_hw *ah = sc->sc_ah; |
252 | struct ath_buf *bf; | 252 | struct ath_buf *bf; |
253 | struct ath_vif *avp; | 253 | struct ath_vif *avp; |
254 | struct sk_buff *skb; | 254 | struct sk_buff *skb; |
@@ -276,7 +276,7 @@ static void ath_beacon_start_adhoc(struct ath_softc *sc, int if_id) | |||
276 | sc->beacon.beaconq, ito64(bf->bf_daddr), bf->bf_desc); | 276 | sc->beacon.beaconq, ito64(bf->bf_daddr), bf->bf_desc); |
277 | } | 277 | } |
278 | 278 | ||
279 | int ath_beaconq_setup(struct ath_hal *ah) | 279 | int ath_beaconq_setup(struct ath_hw *ah) |
280 | { | 280 | { |
281 | struct ath9k_tx_queue_info qi; | 281 | struct ath9k_tx_queue_info qi; |
282 | 282 | ||
@@ -444,7 +444,7 @@ void ath_beacon_return(struct ath_softc *sc, struct ath_vif *avp) | |||
444 | void ath9k_beacon_tasklet(unsigned long data) | 444 | void ath9k_beacon_tasklet(unsigned long data) |
445 | { | 445 | { |
446 | struct ath_softc *sc = (struct ath_softc *)data; | 446 | struct ath_softc *sc = (struct ath_softc *)data; |
447 | struct ath_hal *ah = sc->sc_ah; | 447 | struct ath_hw *ah = sc->sc_ah; |
448 | struct ath_buf *bf = NULL; | 448 | struct ath_buf *bf = NULL; |
449 | int slot, if_id; | 449 | int slot, if_id; |
450 | u32 bfaddr; | 450 | u32 bfaddr; |
@@ -619,7 +619,7 @@ void ath9k_beacon_tasklet(unsigned long data) | |||
619 | void ath_beacon_config(struct ath_softc *sc, int if_id) | 619 | void ath_beacon_config(struct ath_softc *sc, int if_id) |
620 | { | 620 | { |
621 | struct ieee80211_vif *vif; | 621 | struct ieee80211_vif *vif; |
622 | struct ath_hal *ah = sc->sc_ah; | 622 | struct ath_hw *ah = sc->sc_ah; |
623 | struct ath_beacon_config conf; | 623 | struct ath_beacon_config conf; |
624 | struct ath_vif *avp; | 624 | struct ath_vif *avp; |
625 | enum nl80211_iftype opmode; | 625 | enum nl80211_iftype opmode; |