Search Linux Wireless

Re: [virtual-sta 3/3] mac80211: Allow multiple STA on same BSS.

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

 



On 09/10/2010 03:44 PM, Felix Fietkau wrote:
On 2010-09-10 3:04 PM, greearb@xxxxxxxxxxxxxxx wrote:
From: Ben Greear<greearb@xxxxxxxxxxxxxxx>

When adding an STA, the old code checked if there was already
an STA with the same BSS.  Instead, check to see if there is
exactly the same STA in order to allow multiple STA to be
associated with the same AP.
I think that's misleading. sta_info_get_bss does not check if there is a
STA with the same BSS. Like sta_info_get it looks for a STA with the
given address, but unlike sta_info_get, it also accepts it if it's on a
different interface than the provided sdata, but part of the same BSS as
the sdata's.
Because of that, this change seems bogus to me.

W/out this change, I cannot get a second STA to associate with
the AP because that code returns EBUSY, because the
first STA and second STA point to the same bss.

There could be a better way to do what I'm trying to do,
but that one-line patch made it work for me.  I'll be happy
to try alternative suggestions.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux