wifi: ath12k: wmi: delete PSOC_HOST_MAX_NUM_SS
authorKalle Valo <quic_kvalo@quicinc.com>
Tue, 17 Jan 2023 12:03:18 +0000 (14:03 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 18 Jan 2023 06:36:43 +0000 (08:36 +0200)
commitcfec785c7662edb48164609d158691c9ec637f27
treec041ff5ea44729c61706f822310d10a0cde65287
parentf8209eef730efbb91afd0b8825ab246c76158868
wifi: ath12k: wmi: delete PSOC_HOST_MAX_NUM_SS

Both PSOC_HOST_MAX_NUM_SS and WMI_MAX_NUM_SS are set to 8. The host assumes
that the values are the same but there's no check for that, so things will
break if either of the values change. It's simpler and safer to have just one
define so delete PSOC_HOST_MAX_NUM_SS and use WMI_MAX_NUM_SS everywhere.

No functional changes.

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

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221220120655.19389-4-kvalo@kernel.org
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h