Skip to content

Commit e8023d6

Browse files
FROMLIST: wifi: ath11k: raise max vdevs to 4 on hardware with P2P and dual-station support
When P2P support is enabled, wpa_supplicant creates a p2p-device interface by default, which implicitly consumes one vdev. On systems managed by NetworkManager, this interface cannot be reliably disabled, leaving only two usable interfaces for user configurations. Increase num_vdevs to four for QCA6390 hw2.0, WCN6855 hw2.0/hw2.1, QCA2066 hw2.1, and QCA6698AQ hw2.1 to account for the implicit p2p-device and enable common concurrency scenarios such as AP + AP + STA. This change increases interface concurrency in the two-channel scenario by raising the maximum vdev limit, while keeping other combination rules unchanged. Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-05266-QCAHSTSWPLZ_V2_TO_X86-1 Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41 Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04685-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1 Tested-on: QCA2066 hw2.1 PCI WLAN.HSP.1.1-03926.13-QCAHSPSWPL_V2_SILICONZ_CE-2.52297.9 Tested-on: QCA6698AQ hw2.1 PCI WLAN.HSP.1.1-04685-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1 Link: https://lore.kernel.org/linux-wireless/20260525020711.2590815-1-wei.zhang@oss.qualcomm.com/ Signed-off-by: Wei Zhang <wei.zhang@oss.qualcomm.com>
1 parent f8d09d8 commit e8023d6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • drivers/net/wireless/ath/ath11k

drivers/net/wireless/ath/ath11k/core.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
269269
.coldboot_cal_ftm = false,
270270
.cbcal_restart_fw = false,
271271
.fw_mem_mode = 0,
272-
.num_vdevs = 2 + 1,
272+
.num_vdevs = 4,
273273
.num_peers = 512,
274274
.supports_suspend = true,
275275
.hal_desc_sz = sizeof(struct hal_rx_desc_ipq8074),
@@ -449,7 +449,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
449449
.coldboot_cal_ftm = false,
450450
.cbcal_restart_fw = false,
451451
.fw_mem_mode = 0,
452-
.num_vdevs = 2 + 1,
452+
.num_vdevs = 4,
453453
.num_peers = 512,
454454
.supports_suspend = true,
455455
.hal_desc_sz = sizeof(struct hal_rx_desc_wcn6855),
@@ -540,7 +540,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
540540
.coldboot_cal_ftm = false,
541541
.cbcal_restart_fw = false,
542542
.fw_mem_mode = 0,
543-
.num_vdevs = 2 + 1,
543+
.num_vdevs = 4,
544544
.num_peers = 512,
545545
.supports_suspend = true,
546546
.hal_desc_sz = sizeof(struct hal_rx_desc_wcn6855),
@@ -805,7 +805,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
805805
.coldboot_cal_ftm = false,
806806
.cbcal_restart_fw = false,
807807
.fw_mem_mode = 0,
808-
.num_vdevs = 2 + 1,
808+
.num_vdevs = 4,
809809
.num_peers = 512,
810810
.supports_suspend = true,
811811
.hal_desc_sz = sizeof(struct hal_rx_desc_wcn6855),
@@ -895,7 +895,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
895895
.coldboot_cal_ftm = false,
896896
.cbcal_restart_fw = false,
897897
.fw_mem_mode = 0,
898-
.num_vdevs = 2 + 1,
898+
.num_vdevs = 4,
899899
.num_peers = 512,
900900
.supports_suspend = true,
901901
.hal_desc_sz = sizeof(struct hal_rx_desc_wcn6855),

0 commit comments

Comments
 (0)