[PATCH 7/7] brcmfmac: add multiple BSS support.

Arend van Spriel arend at broadcom.com
Sat Dec 6 14:19:43 EST 2014


On 12/06/14 19:17, Arend van Spriel wrote:
> On 12/06/14 17:57, Jörg Krause wrote:
>> First, I just subscribed to this mailing list and copied the subject
>> from the archive. I didn't know better.
>>
>> Second, many thanks for this new feature to the Broadcom developers!
>>
>> I've tested this series of patches with the linux-next-20141205 kernel
>> on a custom ARM board with a BCM43362 chip running a Linux system build
>> with Buildroot. I'm using the wireless tools hostapd/wpa_supplicant 2.3.
>>
>> I was able to create a virtual interface:
>> # iw dev wlan0 interface add wlan0_ap type __ap
>>
>> Add IP and set MAC:
>> # ip addr add 192.168.2.1/24 broadcast 255.255.255.0 dev
>> wlan0_ap
>> # ip link set dev wlan0_ap address 12:34:56:78:ab:ce
>>
>> Start hostapd with the following minimal configuration:
>> # cat /etc/hostapd-minimal.conf
>> interface=wlan0_ap
>> driver=nl80211
>> ssid=myAP
>> channel=1
>> # hostapd -B /etc/hostapd-minimal.conf
>>
>> Start dnsmasq daemon with minimal configuration:
>> # cat /etc/dnsmasq
>> interface=wlan0_ap
>> dhcp-range=192.168.2.2,192.168.2.254,24h
>> # dnsmasq
>>
>>
>> ifconfig shows:
>> wlan0_ap Link encap:Ethernet HWaddr 12:34:56:78:AB:CE
>> inet addr:192.168.2.1 Bcast:255.255.255.0
>> Mask:255.255.255.0
>> inet6 addr: fe80::1034:56ff:fe78:abce/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:1 errors:0 dropped:1 overruns:0 frame:0
>> TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:60 (60.0 B) TX bytes:20728 (20.2 KiB)
>>
>> Looks good so far.
>>
>> Unfortunatly, I do not see any SSID 'myAP', but an SSID
>> 'BRCM_TEST_SSID'. Trying to associate with the SSID using wpa_supplicant
>> 2.3 fails.
>
> That is one suspicious looking SSID. We tested Multiple-BSSID feature
> using a single hostapd instance. You can find more info if you search
> for term "Multiple BSSID support" in hostapd.conf in the git repo. I
> have attached it for your convenience. hostapd will take care of
> creating and configuring the additional AP interface(s).

I realized that what you are trying to do here is adding a virtual AP 
interface wlan0_ap and wlan0 is still configured as STA. This is not 
possible with the current driver code. So actually it should not be 
possible to create an AP interface when wlan0 is STA. At least for now.

Regards,
Arend

> Regards,
> Arend
>
>> Do I missed something within the setup?
>>
>> Best regards
>> Jörg Krause
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-wireless" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>



More information about the HostAP mailing list