[PATCH] wifi: ath11k: allow APs combination when dual stations are supported
Yu Zhang (Yuriy)
quic_yuzha at quicinc.com
Tue Dec 3 19:21:25 PST 2024
On 12/4/2024 12:33 AM, Jose Ignacio Tornos Martinez wrote:
>> And you want setup sta + sap + sap, right?
> Your proposed interface combination fails as well for me if I am just
> setting 2APs.
>> When up the second sap will meet error? Could you pls share the error
>> logs?
> This is the log that is appearing:
> [ 61.909165] 8021q: 802.1Q VLAN Support v1.8
> [ 62.227530] ath11k_pci 0000:01:00.0: failed to create vdev 3, reached max vdev limit 3
> It is appearing after configuring both APs when only one AP is up and when
> both are down (see my previous 'iw dev' outputs).
>
>> I'm not very sure if you add all interface with managed type, and do
>> "ifconfig xxx up" before running hostapd.
> Yes, I am setting the link up before running hostapd.
>> You can try add second and third interface with
>> "iw dev xx interface add xx type __ap".
> And yes, I am doing like that for both APs.
Pls try add interface with type __ap or directly use hostapd up the ap
interfaces that will re-type managed to ap.
> Please, take into account that everything is working with the old interface
> configuration and when it is set with the parameter (no error log), but it
> is not working for me with your interface combination.
f019f4dff2e4 ("wifi: ath11k: support 2 station interfaces") update about
interface combination limits.
If chip support DBS, station interfaces max is 2 that why you can't up
the 3rd managed type interface. You better add interface with ap type.
> Have you tried with 2.4GHz band?
>
2.4GHz works fine also.
sh-5.1# iw dev
phy#0
Interface wlan2
ifindex 6
wdev 0x3
addr 12:03:7f:21:84:11
ssid QSoftAP2
type AP
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 5.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt
hashcol tx-bytes tx-packets
0 0 0 0 0 0
0 0 0
Interface wlan1
ifindex 5
wdev 0x2
addr 02:03:7f:21:84:11
ssid QSoftAP1
type AP
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 18.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt
hashcol tx-bytes tx-packets
0 0 0 0 0 0
0 0 0
Interface wlan0
ifindex 4
wdev 0x1
addr 00:03:7f:21:84:11
type managed
txpower 5.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt
hashcol tx-bytes tx-packets
0 0 0 0 0 0
0 0 0
> Thanks
>
> Best regards
> Jose Ignacio
>
More information about the ath11k
mailing list