wifi: ath12k: check hardware major version for WCN7850
authorCarl Huang <quic_cjhuang@quicinc.com>
Thu, 1 Jun 2023 10:35:15 +0000 (13:35 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 9 Jun 2023 13:32:23 +0000 (16:32 +0300)
commit3394b51c7d3f5239459ceac7e535e45836d78bd4
tree9fecf4900312e821a23215918e79f65d92d385fc
parent054b5580a36e435692c203c19abdcb9f7734320e
wifi: ath12k: check hardware major version for WCN7850

This is to check the hardware major version for WCN7850 so only
supported hardware is initialized. Now only WCN7850 with major
version 2 is supported.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Carl Huang <quic_cjhuang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230518105741.1281424-1-quic_cjhuang@quicinc.com
drivers/net/wireless/ath/ath12k/pci.c