All of lore.kernel.org
 help / color / mirror / Atom feed
From: Holger Schurig <hs4233@mail.mn-solutions.de>
To: linux-wireless@vger.kernel.org
Cc: bcm43xx-dev@lists.berlios.de
Subject: mac80211 regression: doesn't associate automatically
Date: Thu, 22 Nov 2007 09:12:10 +0100	[thread overview]
Message-ID: <200711220912.10452.hs4233@mail.mn-solutions.de> (raw)

I'm on wireless-2.6, branch everything, git commit
7446b6c0e3b18fd2c5f9c406bb20841e6193d058

When I insert a b43 based card, I don't get associated
automatically. This happens:


$ # Insert the card
pccard: CardBus card inserted into slot 0
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:03:00.0 to 64
ssb: SPROM revision 1 detected.
ssb: Sonics Silicon Backplane found on PCI device 0000:03:00.0
b43-phy0: Broadcom 4306 WLAN found
b43-phy0 debug: Found PHY: Analog 2, Type 2, Revision 2
b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 2
phy0: Selected rate control algorithm 'simple'

$ ifconfig eth1 up
b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
b43-phy0 debug: Chip initialized
b43-phy0 debug: 30-bit DMA initialized
b43-phy0 debug: Wireless interface started
b43-phy0 debug: Adding Interface type 2

$ iwconfig eth1 essid BLAHMUMPF
HW CONFIG: channel=1 freq=2412 phymode=2
HW CONFIG: channel=2 freq=2417 phymode=2
HW CONFIG: channel=3 freq=2422 phymode=2
HW CONFIG: channel=4 freq=2427 phymode=2
HW CONFIG: channel=5 freq=2432 phymode=2
HW CONFIG: channel=6 freq=2437 phymode=2
HW CONFIG: channel=7 freq=2442 phymode=2
HW CONFIG: channel=8 freq=2447 phymode=2
HW CONFIG: channel=9 freq=2452 phymode=2
HW CONFIG: channel=10 freq=2457 phymode=2
HW CONFIG: channel=11 freq=2462 phymode=2
HW CONFIG: channel=1 freq=2412 phymode=2

$ iwconfig eth1 key s:11111
b43-phy0 debug: Using hardware based encryption for keyidx: 0, mac: ff:ff:ff:ff:ff:ff

$ iwconfig eth1
eth1      IEEE 802.11g  ESSID:"BLAHMUMPF"
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:3131-3131-31
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

As you can see, I'm not associated. However, this sequence used
to work with non-mac80211 based WLAN drivers. However, I can actually
associate if I reverse the essid/key, e.g. first set the key, then
the ssid.


Note that the same happens if I let Debian manage the card. An excerpt
from my /etc/network/interfaces shows:

allow-hotplug eth1
iface eth1 inet static
        address 10.2.1.3
        netmask 255.255.255.0
        wireless-essid BLAHMUMPF
        wireless-key1 s:11111

(the test above has been made completely manually, without this entry)

             reply	other threads:[~2007-11-22  8:11 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22  8:12 Holger Schurig [this message]
2007-11-22 13:05 ` mac80211 regression: doesn't associate automatically Johannes Berg
2007-11-22 13:26   ` John W. Linville
2007-11-23  0:23     ` Pavel Roskin
     [not found]       ` <47462A72.8010303@wetwork.net>
2007-11-23  1:26         ` Pavel Roskin
2007-11-23  8:06       ` Holger Schurig
2007-11-23  8:22         ` Pavel Roskin
2007-11-23  9:03           ` Holger Schurig
2007-11-26 15:34             ` Dan Williams
2007-11-22 14:14   ` Holger Schurig
2007-11-22 14:41     ` Johannes Berg
2007-11-22 15:05       ` Holger Schurig
2007-11-22 15:13         ` Johannes Berg
2007-11-22 15:43           ` Holger Schurig
2007-11-22 15:41         ` Johannes Berg
2007-11-22 15:46           ` Johannes Berg
2007-11-22 15:58             ` Holger Schurig
2007-11-23 12:15               ` Johannes Berg
2007-11-22 16:19           ` Holger Schurig
2007-11-22 20:32             ` Will Dyson
2007-11-23  8:44               ` Holger Schurig
2007-11-23 12:48               ` Johannes Berg
2007-11-23 19:34                 ` Will Dyson
2007-11-23 20:22                   ` Johannes Berg
2007-11-23 12:46             ` Johannes Berg
2007-11-23 13:23               ` Holger Schurig
2007-11-24 21:36                 ` Johannes Berg
2007-11-24 22:39                   ` Will Dyson
2007-11-25 10:53                     ` Johannes Berg
2007-11-26  7:27                       ` Holger Schurig
2007-11-22 15:45     ` Holger Schurig

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=200711220912.10452.hs4233@mail.mn-solutions.de \
    --to=hs4233@mail.mn-solutions.de \
    --cc=bcm43xx-dev@lists.berlios.de \
    --cc=linux-wireless@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 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.