wcn36xx: Differentiate wcn3660 from wcn3620
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 25 Jan 2022 00:40:46 +0000 (00:40 +0000)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 31 Jan 2022 14:12:30 +0000 (16:12 +0200)
commit98d504a82cc75840bec8e3c6ae0e4f411921962b
treebbbb75963adce4813d875107f4347c4fa4acdae5
parent3df6d74aedfdca919cca475d15dfdbc8b05c9e5d
wcn36xx: Differentiate wcn3660 from wcn3620

The spread of capability between the three WiFi silicon parts wcn36xx
supports is:

wcn3620 - 802.11 a/b/g
wcn3660 - 802.11 a/b/g/n
wcn3680 - 802.11 a/b/g/n/ac

We currently treat wcn3660 as wcn3620 thus limiting it to 2GHz channels.
Fix this regression by ensuring we differentiate between all three parts.

Fixes: 8490987bdb9a ("wcn36xx: Hook and identify RF_IRIS_WCN3680")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220125004046.4058284-1-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/ath/wcn36xx/wcn36xx.h