ath10k: Make ath10k report discarded packets to mac80211

Kalle Valo kvalo at codeaurora.org
Mon Jan 29 06:46:12 PST 2018


Ignacio Núñez Hernanz wrote:

> Whenever ath10k firmware discards a packet (HTT_TX_COMPL_STATE_DISCARD
> flag), the skb is freed and mac80211 does not get feedback through
> ieee80211_tx_status().
> 
> Instead, make sure that the IEEE80211_TX_STAT_ACK flag is disabled and
> let the packet go through, like ath9k does.
> 
> Signed-off-by: Ignacio Nunez Hernanz <nacho.nunez at aoifes.com>
> [kvalo at codeaurora.org: rebase patch manually]
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

This didn't apply so I rewrote the patch manually. Please check it from the
pending branch:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=74e9f654262e77676c477f01ce5a6f27237b2f25

-- 
https://patchwork.kernel.org/patch/9859221/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath10k mailing list