wifi: ath12k: fix mbssid max interface advertisement
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Thu, 13 Jun 2024 15:38:13 +0000 (21:08 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 19 Jun 2024 14:19:25 +0000 (17:19 +0300)
commit253ec89c9013b0e61f5c54344df7c065d54934d1
tree40d168ba624c0a532f83fb37b62c2adea2d7b36a
parentdb163a463bb93cd3e37e1e7b10b9726fb6f95857
wifi: ath12k: fix mbssid max interface advertisement

The Current method for advertising the maximum MBSSID interface count
assumes single radio per wiphy (multi wiphy model). However, this
assumption is incorrect for multi radio per wiphy (single wiphy model).
Therefore, populate the parameter for each radio present in the MAC
abstraction layer (ah). This approach ensure scalability for both single
wiphy and multi wiphy models.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Fixes: 519a545cfee7 ("wifi: ath12k: advertise driver capabilities for MBSSID and EMA")
Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240613153813.3509837-1-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c