Linux wireless drivers development
 help / color / mirror / Atom feed
* Broadcom 4311 and Master Mode
@ 2008-06-02 17:23 Ryan Loebs
  2008-06-02 17:44 ` Pavel Roskin
  0 siblings, 1 reply; 5+ messages in thread
From: Ryan Loebs @ 2008-06-02 17:23 UTC (permalink / raw)
  To: linux-wireless

Hey folks,

I was wondering if it was possible to get the 4311 chipset to switch
into master mode? I've been trying, I'm running 2.6.26-rc4 with the
Johannes Berg patches and the latest git for hostapd.  I read about
success with the nl80211 driver and b43 so I gave that a shot but this
is what came up:

Configuration file: hostapd.conf
Hardware does not support configured mode
wlan0: IEEE 802.11 Hardware does not support configured mode (0)
Could not select hw_mode and channel. (-1)
rmdir[ctrl_interface]: No such file or directory

I hope this doesn't mean I'm SOL...  Any help would be great.

Thanks!
-Ryan Loebs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Broadcom 4311 and Master Mode
  2008-06-02 17:23 Broadcom 4311 and Master Mode Ryan Loebs
@ 2008-06-02 17:44 ` Pavel Roskin
  2008-06-02 17:49   ` Ryan Loebs
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Roskin @ 2008-06-02 17:44 UTC (permalink / raw)
  To: Ryan Loebs; +Cc: linux-wireless

On Mon, 2008-06-02 at 10:23 -0700, Ryan Loebs wrote:
> Hey folks,
> 
> I was wondering if it was possible to get the 4311 chipset to switch
> into master mode? I've been trying, I'm running 2.6.26-rc4 with the
> Johannes Berg patches and the latest git for hostapd.  I read about
> success with the nl80211 driver and b43 so I gave that a shot but this
> is what came up:
> 
> Configuration file: hostapd.conf
> Hardware does not support configured mode
> wlan0: IEEE 802.11 Hardware does not support configured mode (0)
> Could not select hw_mode and channel. (-1)
> rmdir[ctrl_interface]: No such file or directory
> 
> I hope this doesn't mean I'm SOL...  Any help would be great.

So, what are hw_mode and channel in hostapd.conf?  If hostapd complains
about them, would not it be reasonable to show us what it doesn't like?

Maybe you are trying to use 802.11a?  That's not supported in b43 yet.
802.11a is the default in the sample hostapd.conf.  Maybe you forgot to
change it?

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Broadcom 4311 and Master Mode
  2008-06-02 17:44 ` Pavel Roskin
@ 2008-06-02 17:49   ` Ryan Loebs
  2008-06-02 17:50     ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Ryan Loebs @ 2008-06-02 17:49 UTC (permalink / raw)
  To: linux-wireless

Alright, I had it set to hw_mode=b changed it to hw_mode=g and now it
got through... somewhat...

Now  I get this:

Upon startup:
=========================================
Configuration file: hostapd.conf
Failed to update rate sets in kernel module
Could not set passive scanning: Unknown error 4294967295
Mode: IEEE 802.11g  Channel: 5  Frequency: 2432 MHz
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Using interface wlan0 with hwaddr 00:1a:73:a4:44:c8 and ssid 'test'
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
unknown mgmt cb frame subtype 4
=========================================


Nintendo DS attempts to connect and test:
=========================================
wlan0: STA 00:09:bf:63:d9:79 IEEE 802.11: authenticated
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
wlan0: STA 00:09:bf:63:d9:79 IEEE 802.11: associated (aid 1,
accounting session 484431D2-00000000)
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
^CSignal 2 received - terminating
=========================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Broadcom 4311 and Master Mode
  2008-06-02 17:49   ` Ryan Loebs
@ 2008-06-02 17:50     ` Johannes Berg
  2008-06-02 17:56       ` Ryan Loebs
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2008-06-02 17:50 UTC (permalink / raw)
  To: Ryan Loebs; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 2191 bytes --]

On Mon, 2008-06-02 at 10:49 -0700, Ryan Loebs wrote:
> Alright, I had it set to hw_mode=b changed it to hw_mode=g and now it
> got through... somewhat...
> 
> Now  I get this:
> 
> Upon startup:
> =========================================
> Configuration file: hostapd.conf
> Failed to update rate sets in kernel module
> Could not set passive scanning: Unknown error 4294967295
> Mode: IEEE 802.11g  Channel: 5  Frequency: 2432 MHz
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver
> Using interface wlan0 with hwaddr 00:1a:73:a4:44:c8 and ssid 'test'
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> unknown mgmt cb frame subtype 4
> =========================================
> 
> 
> Nintendo DS attempts to connect and test:
> =========================================
> wlan0: STA 00:09:bf:63:d9:79 IEEE 802.11: authenticated
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver
> wlan0: STA 00:09:bf:63:d9:79 IEEE 802.11: associated (aid 1,
> accounting session 484431D2-00000000)
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver

So, what are you expecting to happen? It associated fine, so hostapd's
work is done.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Broadcom 4311 and Master Mode
  2008-06-02 17:50     ` Johannes Berg
@ 2008-06-02 17:56       ` Ryan Loebs
  0 siblings, 0 replies; 5+ messages in thread
From: Ryan Loebs @ 2008-06-02 17:56 UTC (permalink / raw)
  To: linux-wireless

Oh... oh wow :P Heh, I should have just looked down at the DS... It
said it couldn't acquire an IP... I didn't realize it was just a DHCP
thing :)  Sweet!  Thanks for the help :)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-02 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02 17:23 Broadcom 4311 and Master Mode Ryan Loebs
2008-06-02 17:44 ` Pavel Roskin
2008-06-02 17:49   ` Ryan Loebs
2008-06-02 17:50     ` Johannes Berg
2008-06-02 17:56       ` Ryan Loebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox