Message ID | 4F4B5DBC.4010400@dsa-ac.de |
---|---|
State | Not Applicable |
Headers | show |
On Mon, Feb 27, 2012 at 11:41 AM, Tilman Schoop <tilman.schoop@dsa-ac.de> wrote: > At the moment I work with hostapd v0.7.3, Kernel v3.0.0 and wlan driver > rt2800usb (via -D nl80211). > > We have solved the problem as follows: > hostapd calculates the common mask of the bssids in the game correctly, but it > seems that the firmware only accepts a mask of FF:*:F8 for the package > acceptance. This mask does not cover my testcase *:F6 (mac adress) plus bssids > *:F7 and *:F8 :( . Staying in the three bit mask and defining bssid *:F0 instead > of the last one let me work fine with 3 ssids. Yep, that's a hw (not driver) limitation. rt2800 devices can only distinguish BSSIDs by the last 4 bits. Helmut
================================================================================ --- driver_nl80211.c.orig 2012-02-27 11:15:56.000000000 +0100 +++ driver_nl80211.c 2012-02-24 15:26:26.000000000 +0100 @@ -4927,8 +4927,10 @@ struct i802_bss *tbss = &drv->first_bss; while (tbss) { - if (tbss->next != bss) + if (tbss->next != bss) { + tbss = tbss->next; continue; + } tbss->next = bss->next; os_free(bss);