OSDN Git Service

ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Tue, 28 Sep 2021 11:00:43 +0000 (14:00 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Sep 2021 13:16:54 +0000 (16:16 +0300)
commit9d6ae1f5cf733c0e8d7f904c501fd015c4b9f0f4
tree9fc8c0f1308919dc3c654ace724153dce2ef8521
parent4a9550f536cc9c62210f77d875f000e560fc64b1
ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status

Frequency in rx status is being filled incorrectly in the 6 GHz band as
channel number received is invalid in this case which is causing packet
drops. So fix that.

Fixes: 5dcf42f8b79d ("ath11k: Use freq instead of channel number in rx path")
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210722102054.43419-2-jouni@codeaurora.org
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/wmi.c