ath11k: register HE mesh capabilities
authorSven Eckelmann <seckelmann@datto.com>
Tue, 10 Dec 2019 10:07:32 +0000 (12:07 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Dec 2019 14:16:24 +0000 (16:16 +0200)
commit13591a1c3899cfe6891ae0df46637097fdde36a4
tree4330d7c25390ba868be6ab520a558d9e6153d61b
parent57725b5bc5890b62a0f1d93c9767874c15b24e33
ath11k: register HE mesh capabilities

The capabilities for the HE mesh are generated from the capabilities
reported by the fw. But the firmware only reports the overall capabilities
and not the one which are specific for mesh. Some of them (TWT, MU UL/DL,
TB PPDU, ...) require an infrastructure setup with a main STA (AP)
controlling the operations. This is not the case for mesh and thus these
capabilities are removed from the list of capabilities.

Signed-off-by: Sven Eckelmann <seckelmann@datto.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/mac.c