On Wed, 2007-09-05 at 08:20 -0700, Ben Woodard wrote: > If a particular piece of hardware will refuse to send frames after the > MAC address has been changed, then shouldn't the card's driver refuse to > allow a change of the MAC address and return an error in response to the > IOCTL that tries to change it?
Yes. > I can't think of a situation where this > wouldn't be the right thing to do. However, before I submit a patch to > fix this, does anyone else know of any special cases that I might need > to deal with? That wouldn't make sense now, would it? > Also is behavior of refusing to send frames with a non-hardware > specified MAC address part of the WiFi spec or is it particular to > certain WiFi cards? IOW at what level do I need to fix it? Should I just > fix it for the Intel cards that I've tested or do I need to fix it for > all WiFi cards? Most wifi cards don't care at all what MAC address you send, in fact allowing you to send with various MAC addresses. So this is something intel specific. Oh are we talking about iwlwifi? If so, please report to their maintainers immediately, they're lazy bastards and don't even upload the new MAC address to the card even if they could. johannes
signature.asc
Description: This is a digitally signed message part