Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 12/4/2024 3:51 PM, Jose Ignacio Tornos Martinez wrote:
Pls try add interface with type __ap or directly use hostapd up the ap
interfaces that will re-type managed to ap.
This is what I am doing.
But I see your interfaces all be added with managed, right?

f019f4dff2e4 ("wifi: ath11k: support 2 station interfaces") update about
interface combination limits.
My patch by means of a parameter allows to come back to the original
interface combination (before f019f4dff2e4 and not the current one that
you comment), so as I commented, this is the interface combination that
I am finally using to setup the two APs:
# iw list | grep -A4 "valid interface combinations:"
  	valid interface combinations:
  		 * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 16, #{ P2P-device } <= 1,
  		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }
HT Capability overrides:
And I repeat that with that, my setup is working (no error log).

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.
Ok, but as I commented this is what I am doing.
Just to clarify, only with your proposed interface combination I am getting
problems with a 3rd managed type interface.

2.4GHz works fine also.
That is great.

Ok, at this point, as I need my setup, in order to allow me to debug and
get the differences, could you share how you are configuring the two APs to
test and debug here?

sure.

apply f019f4dff2e4 ("wifi: ath11k: support 2 station interfaces")
apply https://lore.kernel.org/all/20241127022742.4016870-1-quic_yuzha@xxxxxxxxxxx/

Test steps:
1. add interface
#iw dev wlan0 interface add wlan1 type __ap
#iw dev wlan0 interface add wlan2 type __ap

2.run hostapd
#hostapd hostapd1.conf &
#hostapd hostapd2.conf &

refer hostapd.conf:
---
interface=wlan1
driver=nl80211
ssid=QSoftAP1
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
---
Thanks

Best regards
Jose Ignacio






[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux