Search Linux Wireless

RE: question on "mac80211_hwsim: support any address in userspace"

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

 



> >> We could also set the address at creation time easily enough.  Then
> >> it could still be unique across many machines if you managed it.
> >
> > I actually apply a patch for that. I have added a module parameter
> > which is used as the MAC address for the first radio, and I increment
> > the final octet for each additional radio. This is so that my users do
> > not have to manually reset the MAC address to get a unique one. I
> > apply the address to both addresses mentioned above though I only use
> > the netlink datapath.
> >
> > If there is interest in this I can submit it as an RFC patch tomorrow.
> 
> I'd rather see support for specifying an arbitrary MAC upon creation
> with a netlink attribute than a module parameter...

I can see the usefulness in your suggestion as you would be able to specify non-sequential addresses to the radios. I hadn't thought of that since I load the module with one radio and do not use the netlink API to add or remove radios.
	
Adam

--
��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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