]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: limit available channels via DT ieee80211-freq-limit
authorSven Eckelmann <sven.eckelmann@openmesh.com>
Fri, 24 Aug 2018 12:04:59 +0000 (15:04 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:50:36 +0000 (16:50 +0300)
commit0af9781e10bfa05c7a3aa2f59add3278cda518df
treef20c715049205363713670714e858624568d6175
parente850890fe010e4c031c44d40ee91929a95abd958
ath10k: limit available channels via DT ieee80211-freq-limit

Tri-band devices (1x 2.4GHz + 2x 5GHz) often incorporate special filters in
the RX and TX path. These filtered channel can in theory still be used by
the hardware but the signal strength is reduced so much that it makes no
sense.

There is already a DT property to limit the available channels but ath10k
has to manually call this functionality to limit the currrently set wiphy
channels further.

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c