All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath10k: add amsdu support for monitor mode
@ 2018-10-29  6:21 ` Yu Wang
  0 siblings, 0 replies; 8+ messages in thread
From: Yu Wang @ 2018-10-29  6:21 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless

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, processing msdu list separately
for monitor mode.

Successfully tested with:
QCA6174 (FW version: RM.4.4.1.c2-00057-QCARMSWP-1).

Yu Wang (1):
  ath10k: add amsdu support for monitor mode

 drivers/net/wireless/ath/ath10k/htt_rx.c | 187 +++++++++++++++++++++++++++++++
 1 file changed, 187 insertions(+)

-- 
1.9.1


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-20 16:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-29  6:21 [PATCH] ath10k: add amsdu support for monitor mode Yu Wang
2018-10-29  6:21 ` Yu Wang
2018-10-29  6:21 ` Yu Wang
2018-10-29  6:21   ` Yu Wang
2018-11-06 16:00   ` Kalle Valo
2018-11-06 16:00   ` Kalle Valo
2018-12-20 16:53   ` Kalle Valo
2018-12-20 16:53   ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.