Re: [PATCH] wifi: ath11k: allow APs combination when dual stations are supported

From: Yu Zhang (Yuriy)
Date: Wed Jan 15 2025 - 05:49:05 EST




On 1/15/2025 5:46 PM, Jose Ignacio Tornos Martinez wrote:
Hello Yuriy,

We can debug/configure NetworkManager on our own to get what we need.
Now, I am just trying to get a solution because at this moment 2APs can not
be configured as before.
As I commented, if you want to have a common interface combination, please
go ahead with yours, and then we can see.

Thanks

Best regards
Jose Ignacio

Hi, Jose

When you use https://lore.kernel.org/all/20230714023801.2621802-2-quic_cjhuang@xxxxxxxxxxx/, the ap only allow 1, it's expected.

+ if (ab->hw_params.support_dual_stations) {
+ limits[0].max = 2;
+ limits[0].types |= BIT(NL80211_IFTYPE_STATION);
+
+ limits[1].max = 1;
+ limits[1].types |= BIT(NL80211_IFTYPE_AP);


In https://lore.kernel.org/all/20241125100508.3458594-1-quic_yuzha@xxxxxxxxxxx/, revert the limits[1].max, it's why can work for my device. When you use combinations[0], it's all same as before. So ath11k can support STA+SAP+SAP mode(not include DFS).

Now I wonder to know why it doesn't work on your device, which is why I asked you to provide the logs.


Thanks,
Yuriy