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]

 



> > Could somebody provide background information on why the decision was
> > made to use a second address for the netlink frames instead of the
> > same address as was used for the non-netlink frames?
> 
> I would be fine with always using the first address instead of the
> second, in case that helps someone.
> 
> 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.

Adam


--
Adam Welle <arwelle@xxxxxxxx>




��.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