ath9k: use ieee80211_tx_status_noskb where possible
authorFelix Fietkau <nbd@nbd.name>
Fri, 2 Sep 2016 16:46:12 +0000 (19:46 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 9 Sep 2016 12:08:39 +0000 (15:08 +0300)
commitd94a461d7a7df68991fb9663531173f60ef89c68
tree7b9e3d56d975b31d284a0a88bd0573488d7fe591
parent18f53fe0f30331e826b075709ed7b26b9283235e
ath9k: use ieee80211_tx_status_noskb where possible

It removes the need for undoing the padding changes to skb->data and it
improves performance by eliminating one tx status lookup per MPDU in the
status path. It is also useful for preparing a follow-up fix to better
handle powersave filtering.

A side effect is that these counters, available via debugfs, become now invalid:

* dot11TransmittedFragmentCount
* dot11FrameDuplicateCount,
* dot11ReceivedFragmentCount
* dot11MulticastReceivedFrameCount

Signed-off-by: Felix Fietkau <nbd@nbd.name>
[kvalo@qca.qualcomm.com: add a note about counters, thanks to Zefir Kurtisi]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/xmit.c