Search Linux Wireless

Re: [PATCH] cfg80211: export multiple MAC addresses in sysfs

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

 



On Wed, Jan 20, 2010 at 10:10 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 2010-01-20 at 10:05 -0800, Luis R. Rodriguez wrote:
>> On Wed, Jan 20, 2010 at 3:02 AM, Johannes Berg
>> <johannes@xxxxxxxxxxxxxxxx> wrote:
>> > If a device has multiple MAC addresses, userspace will
>> > need to know about that. Similarly, if it allows the
>> > MAC addresses to vary by a bitmask.
>> >
>> > If a driver exports multiple addresses, it is assumed
>> > that it will be able to deal with that many different
>> > addresses, which need not necessarily match the ones
>> > programmed into the device; if a mask is set then the
>> > device should deal addresses within that mask based
>> > on an arbitrary "base address".
>> >
>> > To test it all and show how it is used, add support
>> > to hwsim even though it can't actually deal with
>> > addresses different from the default.
>> >
>> > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
>>
>> Any reason to not export this via nl80211?
>
> Laziness, and the fact that we only exported it in sysfs before.
>
>> Can we say, use this on Atheros devices for storage of the bssid mask?
>
> That was the intention of the mask, yes.

Neat thanks :)

  Luis
--
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