Search Linux Wireless

Re: Multi-bss operation issue with rt2x00 and hostapd on rt305x platform

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

 



On Sun, Nov 25, 2012 at 10:44 PM, Helmut Schaa
<helmut.schaa@xxxxxxxxxxxxxx> wrote:
> On 11/25/2012 08:00 PM, Petr Štetiar wrote:
>
> Hi,
>
> first of all, I apologize for cross posting. Please kindly keep me in the Cc
> loop as I'm not subscribed to the mailing lists.
>
> For the past week I'm trying to get multi-bss working on ramips platform,
> it's
> a Carambola(from 8Devices) board with rt3050 SOC, which use rt2x00 driver
> for
> wireless. I use OpenWRT, which currently have 3.3.8 kernel and
> compat-wireless
> from 2012-09-07. On top of this I've applied following patches (otherwise
> it's
> not even possible to create the wlan0-1 and wlan0-2 interfaces):
>
> 3e4c4151e56ff367fb1487ea79134eea7410407	[PATCH] rt2x00: Deprecate
> max_sta_intf field of struct rt2x00_ops
> 55d2e9da744ba11eae900b4bfc2da72eace3c1e1 [PATCH] rt2x00: Replace open coded
> interface checking with interface combinations
>
> It's kind of working now, but not completly. I've setup with 3 VAPs:
>
> wlan0:   SSID "wlan0-bad"
> wlan0-1: SSID "wlan01-ok"
> wlan0-2: SSID "wlan02-ok"
>
> just basic configuration and no encryption, attached is complete hostapd's
> config file. As you can guess from the SSID names, the first one always
> doesn't work, client assoc ends with the following error:
>
>
> Mind to use different MAC addresses? The rt2800 hw can only be programmed
> with a MAC address mask
> that spans the last 3 bits. In your config this would be

Ooops, seems I messed up my mailclient :)

You're using the following MAC addresses for the virtual APs:

bssid=c4:93:00:11:01:88
bssid=c6:93:00:11:01:89
bssid=c6:93:00:11:01:8a

rt2800 hw can only be configured to mask the last three bits of the
programmed MAC addresses. In your case the first MAC differs from the
other in the first byte. Please try if it works when using the same
first byte.

HTH,
Helmut
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux