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>
This commit is contained in:

committed by
John W. Linville

vanhempi
1296d47445
commit
97e93fcd86
@@ -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 */
|
||||
|
Viittaa uudesa ongelmassa
Block a user