diff options
author | Yu Wang <yyuwang@codeaurora.org> | 2018-12-20 09:53:26 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-12-20 18:52:11 +0200 |
commit | 85bd0107c6cd445a33066a57658fc585244a1100 (patch) | |
tree | fec26f2fcf1b6c65885a0bdf8df2e8144bab5bfc /drivers/net/wireless/ath/ath10k/wmi.h | |
parent | 553a7cca769d551f1317186760631487c47e23bf (diff) |
ath10k: add amsdu support for monitor mode
When processing HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND, if the length of a msdu
is larger than the tailroom of the rx skb, skb_over_panic issue will happen
when calling skb_put. In monitor mode, amsdu will be handled in this path, and
msdu_len of the first msdu_desc is the length of the entire amsdu, which might
be larger than the maximum length of a skb, in such case, it will hit the issue
upon.
To fix this issue, process msdu list separately for monitor mode.
Successfully tested with:
QCA6174 (FW version: RM.4.4.1.c2-00057-QCARMSWP-1).
Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
[kvalo@codeaurora.org: cosmetic cleanup]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.h')
0 files changed, 0 insertions, 0 deletions