[lkml]   [2011]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 2/5] OMAP2+: add cpu id register to MAC address helper
On 03/18/2011 08:52 AM, Somebody in the thread at some point said:

>> + /* mark it as not multicast and outside official 80211 MAC namespace */
>> +
>> + mac[0] = (mac[0]& ~1) | 2;

> so here lies the answer to my question "From where do you get the MAC" :)
> Is there a guarantee that this MAC will work in all Ethernet setups?

Yeah it's in 80211 spec. You have to buy the spec, I can't point you to
it directly, but here is the wikipedia article showing the structure

the random mac addresses generated by the kernel also use this scheme.


 \ /
  Last update: 2011-03-18 10:15    [W:0.048 / U:2.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site