Skip to contentSkip to conversation

ath9k master mode in Debian Lenny

ath9k-devel David Brinovec 1 participant 2 messages Aug 13, 2010

lore
Share & tools
lore
#0 lore raw

Hello,
I am running Debian 5.0 Lenny with a 2.6.32 kernel. I have a D-Link DWA-552 which is being reported as an Atheros AR9280+AR5133 in my dmesg output. I think it's a newer version of the DWA-552 because I see the DWA-552 listed with the 5416 Atheros chip on your site.

I had hoped to use this wireless adapter in master mode, but when I run:
iwconfig wlan0 mode master

I get the following error:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

I have been able to switch the adapter into Managed, Monitor, and Ad-Hoc modes. Secondary mode gives the same error as master. Repeater gives "Operation not supported".

Looking through your site it sounds like master mode is supported. Am I doing something wrong?

Here is some output I thought you might want:

dmesg:

	[   11.445470] ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
	[   11.445532] ath9k 0000:01:07.0: PCI INT A -> Link[APC4] -> GSI 19 (level, high) -> IRQ 19
	[   13.000199] ath: EEPROM regdomain: 0x10 [   13.000201] ath: EEPROM indicates we should expect a direct regpair map
	[   13.000205] ath: Country alpha2 being used: CO
	[   13.000207] ath: Regpair used: 0x10
	[   13.549886] phy0: Selected rate control algorithm 'ath9k_rate_control'
	[   13.550827] Registered led device: ath9k-phy0::radio
	[   13.550896] Registered led device: ath9k-phy0::assoc
	[   13.553544] cfg80211: Calling CRDA for country: CO
	[   13.554392] Registered led device: ath9k-phy0::tx
	[   13.554463] Registered led device: ath9k-phy0::rx
	[   13.554531] phy0: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=0xe0f80000, irq=19

lspci:
01:07.0 Network controller [0280]: Atheros Communications Inc. Device [168c:0029] (rev 01)
Subsystem: D-Link System Inc Device [1186:3a7a]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory@e5000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ath9k
Kernel modules: ath9k

Thanks,
David Brinovec

#1 lore raw

Hello again,
So of course 5 minutes after I sent you that message asking for help I figured out what I needed to do. Needed to use hostapd. Well, sorry to have bothered you. Keep up the good work on the ath9k driver.

Thanks again,
David Brinovec

Quoted 46 lines · David Brinovec

Hello,
I am running Debian 5.0 Lenny with a 2.6.32 kernel. I have a D-Link DWA-552 which is being reported as an Atheros AR9280+AR5133 in my dmesg output. I think it's a newer version of the DWA-552 because I see the DWA-552 listed with the 5416 Atheros chip on your site.

I had hoped to use this wireless adapter in master mode, but when I run:
iwconfig wlan0 mode master

I get the following error:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

I have been able to switch the adapter into Managed, Monitor, and Ad-Hoc modes. Secondary mode gives the same error as master. Repeater gives "Operation not supported".

Looking through your site it sounds like master mode is supported. Am I doing something wrong?

Here is some output I thought you might want:

dmesg:

	[   11.445470] ACPI: PCI Interrupt Link [APC4] enabled at IRQ 19
	[   11.445532] ath9k 0000:01:07.0: PCI INT A -> Link[APC4] -> GSI 19 (level, high) -> IRQ 19
	[   13.000199] ath: EEPROM regdomain: 0x10 [   13.000201] ath: EEPROM indicates we should expect a direct regpair map
	[   13.000205] ath: Country alpha2 being used: CO
	[   13.000207] ath: Regpair used: 0x10
	[   13.549886] phy0: Selected rate control algorithm 'ath9k_rate_control'
	[   13.550827] Registered led device: ath9k-phy0::radio
	[   13.550896] Registered led device: ath9k-phy0::assoc
	[   13.553544] cfg80211: Calling CRDA for country: CO
	[   13.554392] Registered led device: ath9k-phy0::tx
	[   13.554463] Registered led device: ath9k-phy0::rx
	[   13.554531] phy0: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=0xe0f80000, irq=19

lspci:
01:07.0 Network controller [0280]: Atheros Communications Inc. Device [168c:0029] (rev 01)
Subsystem: D-Link System Inc Device [1186:3a7a]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory at e5000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ath9k
Kernel modules: ath9k

Thanks,
David Brinovec