Skip to content
Commit f8252e7b authored by Anilkumar Kolli's avatar Anilkumar Kolli Committed by Johannes Berg
Browse files

mac80211: implement ieee80211_tx_rate_update to update rate



Current mac80211 has provision to update tx status through
ieee80211_tx_status() and ieee80211_tx_status_ext(). But
drivers like ath10k updates the tx status from the skb except
txrate, txrate will be updated from a different path, peer stats.

Using ieee80211_tx_status_ext() in two different paths
(one for the stats, one for the tx rate) would duplicate
the stats instead.

To avoid this stats duplication, ieee80211_tx_rate_update()
is implemented.

Signed-off-by: default avatarAnilkumar Kolli <akolli@codeaurora.org>
[minor commit message editing, use initializers in code]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 0d4e14a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment