diff options
author | Kalle Valo <kalle.valo@iki.fi> | 2010-02-07 08:21:46 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-02-08 21:51:01 (GMT) |
commit | 97e93fcd866ee7cc02082fc62509378f50547936 (patch) | |
tree | 9dff85ac678b338afe3c34553e089d7ea2da74db /drivers/net/wireless/p54/p54.h | |
parent | 1296d4744516aeae8809e2f47ceecd88df4b037f (diff) | |
download | linux-fsl-qoriq-97e93fcd866ee7cc02082fc62509378f50547936.tar.xz |
p54: remove get_tx_stats() mac80211 op
get_tx_stats() will be removed from mac80211.
p54 uses struct ieee80211_tx_queue_stats also internally, so create a new
identical struct p54_tx_queue_stats which the driver can use.
Compile-tested only.
Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Tested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r-- | drivers/net/wireless/p54/p54.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h index 1afc394..43a3b2e 100644 --- a/drivers/net/wireless/p54/p54.h +++ b/drivers/net/wireless/p54/p54.h @@ -157,6 +157,12 @@ struct p54_led_dev { #endif /* CONFIG_P54_LEDS */ +struct p54_tx_queue_stats { + unsigned int len; + unsigned int limit; + unsigned int count; +}; + struct p54_common { struct ieee80211_hw *hw; struct ieee80211_vif *vif; @@ -183,7 +189,7 @@ struct p54_common { /* (e)DCF / QOS state */ bool use_short_slot; spinlock_t tx_stats_lock; - struct ieee80211_tx_queue_stats tx_stats[8]; + struct p54_tx_queue_stats tx_stats[8]; struct p54_edcf_queue_param qos_params[8]; /* Radio data */ |