Skip to content
  • Anilkumar Kolli's avatar
    mac80211: implement ieee80211_tx_rate_update to update rate · f8252e7b
    Anilkumar Kolli authored
    
    
    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>
    f8252e7b