ath11k: support TXOP duration based RTS threshold
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Tue, 20 Oct 2020 18:31:10 +0000 (11:31 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Dec 2020 07:04:42 +0000 (09:04 +0200)
commitbd88815060d96dfff18690db99e46136aebef8b3
tree71f10fab0a33e51013d6260e4223f30b45b184ff
parentf00490432b601a707445a45207962e0fb107fed8
ath11k: support TXOP duration based RTS threshold

HE operation IE in beacons is constructed based on userspace params,
which firmware might not be aware of. This causes firmware not to
configure TXOP duration based RTS threshold which could cause mismatch
in behaviour with respect to what is being advertised in beacons. This
patch sends HE operation IE fetched from beacon to firmware using
WMI interface for configuration.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201020183111.25458-4-pradeepc@codeaurora.org
drivers/net/wireless/ath/ath11k/mac.c