netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Woodard <woodard@redhat.com>
To: netdev@vger.kernel.org
Subject: WiFi and changed MAC addrs
Date: Wed, 05 Sep 2007 08:20:44 -0700	[thread overview]
Message-ID: <46DEC94C.9010301@redhat.com> (raw)

I just spent basically a day of my weekend grappling with this problem 
http://wiki.xensource.com/xenwiki/XenWifi
before I understood it well enough to realize that the fact that Xen 
changed the MAC addr for my WiFi card was the root cause of the problem. 
This got me thinking:

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

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?

-ben

             reply	other threads:[~2007-09-05 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 15:20 Ben Woodard [this message]
2007-09-05 15:34 ` WiFi and changed MAC addrs Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DEC94C.9010301@redhat.com \
    --to=woodard@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).