All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lekensteyn <lekensteyn@gmail.com>
To: Wey-Yi Guy <wey-yi.w.guy@intel.com>,
	Intel Linux Wireless <ilw@linux.intel.com>
Cc: linux-wireless@vger.kernel.org
Subject: Why "iwlwifi: read multiple MAC addresses"?
Date: Tue, 12 Jun 2012 15:11:20 +0200	[thread overview]
Message-ID: <3586963.qbQ3i1FPTG@penguin> (raw)

Hi Wey-Yi,

I wonder what the following commit is used for:
commit c6fa17ed3fadaf056173c409c0877df428a152ec
Author: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date:   Thu Jul 15 05:58:30 2010 -0700

    iwlwifi: read multiple MAC addresses

    Some devices may have multiple MAC
    addresses in their EEPROM, read them
    and advertise them to cfg80211.

I was trying to debug wireless issues, and noticed that I had two MAC 
addresses with only the last bit being different:

    $ cat /sys/class/ieee80211/phy0/addresses
    00:23:14:xx:xx:x8
    00:23:14:xx:xx:x9

Looking at a dump provided by /sys/kernel/debug/cfg80211/phy0/iwlwifi/data/nvm, 
I see that the 16-bit word at 0x98 contains the value 4. What does this mean? 
Can this break something?

If you are interested, the wireless card I own is a Centrino Advanced-N 6200 
(device ID 422c, rev 35). I can reproduce this behaviour on Linux 3.4.2, 3.5-
rc1 (the wireless testing tree from 2012-06-11) and 3.3.5.

Regards,
Peter

             reply	other threads:[~2012-06-12 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 13:11 Lekensteyn [this message]
2012-06-12 19:58 ` Why "iwlwifi: read multiple MAC addresses"? Johannes Berg
2012-06-12 20:07   ` Lekensteyn
2012-06-13  6:02     ` 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=3586963.qbQ3i1FPTG@penguin \
    --to=lekensteyn@gmail.com \
    --cc=ilw@linux.intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=wey-yi.w.guy@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.