wifi: ath12k: change WLAN_SCAN_PARAMS_MAX_IE_LEN from 256 to 512
authorKang Yang <quic_kangyang@quicinc.com>
Mon, 5 Feb 2024 17:03:29 +0000 (19:03 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 7 Feb 2024 15:06:59 +0000 (17:06 +0200)
commit28035a88f8b3cc849e4b13b9b5f5dd0aa1e18365
treea0898fbe4672ed808bae6dde0d8375299e379318
parent2830bc9e784ff18ecb0eafd53d0bdae32c478c16
wifi: ath12k: change WLAN_SCAN_PARAMS_MAX_IE_LEN from 256 to 512

Mac80211 needs more space for P2P scan ie in P2P mode, 256 is not
enough, resize it to 512.

Also delete the duplicate macro definitions in wmi.h.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Kang Yang <quic_kangyang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240130040303.370590-8-quic_kangyang@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.h