2009-10-20 15:42:43

by Kunal Gangakhedkar

[permalink] [raw]
Subject: Test for N-mode from userspace?

Hi,

Is it possible to check for whether the N-mode is alive on the laptop and not
blocked by the OEM (HP)?

I don't have access to an N-mode AP to try to associate and check; but I'm
planning to buy a new AP/router - so, might as well go for one having N-mode
now that it's standardised.

The device I have is AR9285 - which does have N mode support as per the
following iwconfig output:

kunal@plutonium:~$ iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"Kunal-home"
Mode:Managed Frequency:2.432 GHz Access Point: 00:1A:70:EE:8D:62
Bit Rate=5.5 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=70/70 Signal level=-35 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


lspci -v output:
08:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless
Network Adapter (PCI-Express) (rev 01)
Subsystem: Hewlett-Packard Company Device 3040
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d1200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 12-14-24-ff-ff-17-15-00
Capabilities: [170] Power Budgeting <?>
Kernel driver in use: ath9k
Kernel modules: ath9k


iw list output:
Wiphy phy0
Band 1:
HT capabilities: 0x104e
* 20/40 MHz operation
* SM PS disabled
* 40 MHz short GI
* max A-MSDU len 3839
* DSSS/CCK 40 MHz
HT A-MPDU factor: 0x0003 (65535 bytes)
HT A-MPDU density: 0x0006 (8 usec)
HT MCS set: ff 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
HT TX/RX MCS rate indexes supported:
MCS index 0
MCS index 1
MCS index 2
MCS index 3
MCS index 4
MCS index 5
MCS index 6
MCS index 7
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (passive scanning)
* 2472 MHz [13] (20.0 dBm) (passive scanning)
* 2484 MHz [14] (disabled)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point

Thanks,
Kunal


2009-10-21 06:50:00

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [ath9k-devel] Test for N-mode from userspace?

On Wed, Oct 21, 2009 at 2:37 PM, Kunal Gangakhedkar
<[email protected]> wrote:
> On Wednesday 21 Oct 2009 4:50:18 am Luis R. Rodriguez wrote:
>> On Wed, Oct 21, 2009 at 2:28 AM, xxiao <[email protected]> wrote:
>> > interesting, why is MCS range just 0-7, which means no HT?
>>
>> MCS 1-7 is for single stream devices.
>>
>> http://wireless.kernel.org/en/developers/Documentation/ieee80211/802.11n
>
> So, does this mean that I can use N-mode on this device?

Yes, MCS 7 is your highest rate on your card.

Luis

2009-10-20 18:26:40

by Kunal Gangakhedkar

[permalink] [raw]
Subject: Re: [ath9k-devel] Test for N-mode from userspace?

On Tuesday 20 Oct 2009 10:58:31 pm xxiao wrote:
> interesting, why is MCS range just 0-7, which means no HT?
>
> xxiao
>

I have no clue why it's that way - I don't even know what HT means in wireless
context :)

Sorry, I'm just an end-user in this respect ..

Kunal

2009-10-21 14:17:23

by Kunal Gangakhedkar

[permalink] [raw]
Subject: Re: [ath9k-devel] Test for N-mode from userspace?

On Wednesday 21 Oct 2009 12:19:44 pm Luis R. Rodriguez wrote:
> On Wed, Oct 21, 2009 at 2:37 PM, Kunal Gangakhedkar
>
> <[email protected]> wrote:
> > On Wednesday 21 Oct 2009 4:50:18 am Luis R. Rodriguez wrote:
> >> On Wed, Oct 21, 2009 at 2:28 AM, xxiao <[email protected]> wrote:
> >> > interesting, why is MCS range just 0-7, which means no HT?
> >>
> >> MCS 1-7 is for single stream devices.
> >>
> >> http://wireless.kernel.org/en/developers/Documentation/ieee80211/802.11n
> >
> > So, does this mean that I can use N-mode on this device?
>
> Yes, MCS 7 is your highest rate on your card.
>

Great.. that is really sweet :)

Thanks,
Kunal

2009-10-20 23:20:34

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [ath9k-devel] Test for N-mode from userspace?

On Wed, Oct 21, 2009 at 2:28 AM, xxiao <[email protected]> wrote:
> interesting, why is MCS range just 0-7, which means no HT?

MCS 1-7 is for single stream devices.

http://wireless.kernel.org/en/developers/Documentation/ieee80211/802.11n

Luis

2009-10-20 17:35:07

by xxiao

[permalink] [raw]
Subject: Re: [ath9k-devel] Test for N-mode from userspace?

interesting, why is MCS range just 0-7, which means no HT?

xxiao

--- On Tue, 10/20/09, Kunal Gangakhedkar <[email protected]> wrote:

> From: Kunal Gangakhedkar <[email protected]>
> Subject: [ath9k-devel] Test for N-mode from userspace?
> To: [email protected]
> Cc: "linux-wireless" <[email protected]>
> Date: Tuesday, October 20, 2009, 10:42 AM
> Hi,
>
> Is it possible to check for whether the N-mode is alive on
> the laptop and not
> blocked by the OEM (HP)?
>
> I don't have access to an N-mode AP to try to associate and
> check; but I'm
> planning to buy a new AP/router - so, might as well go for
> one having N-mode
> now that it's standardised.
>
> The device I have is AR9285 - which does have N mode
> support as per the
> following iwconfig output:
>
> kunal@plutonium:~$ iwconfig wlan0
> wlan0? ???IEEE 802.11bgn?
> ESSID:"Kunal-home"
> ? ? ? ? ? Mode:Managed?
> Frequency:2.432 GHz? Access Point: 00:1A:70:EE:8D:62
> ? ? ? ? ? Bit Rate=5.5
> Mb/s???Tx-Power=20 dBm
> ? ? ? ? ? Retry? long
> limit:7???RTS
> thr:off???Fragment thr:off
> ? ? ? ? ? Power Management:on
> ? ? ? ? ? Link Quality=70/70?
> Signal level=-35 dBm
> ? ? ? ? ? Rx invalid nwid:0?
> Rx invalid crypt:0? Rx invalid frag:0
> ? ? ? ? ? Tx excessive
> retries:0? Invalid misc:0???Missed
> beacon:0
>
>
> lspci -v output:
> 08:00.0 Network controller: Atheros Communications Inc.
> AR9285 Wireless
> Network Adapter (PCI-Express) (rev 01)? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ?
> ? ? ? ? Subsystem: Hewlett-Packard
> Company Device 3040
> ? ? ? ? Flags: bus master, fast devsel,
> latency 0, IRQ 17
> ? ? ? ? Memory at d1200000 (64-bit,
> non-prefetchable) [size=64K]
> ? ? ? ? Capabilities: [40] Power
> Management version 3
> ? ? ? ? Capabilities: [50] Message
> Signalled Interrupts: Mask- 64bit-
> Queue=0/0Enable-
> ? ? ? ? Capabilities: [60] Express
> Legacy Endpoint, MSI 00
> ? ? ? ? Capabilities: [100] Advanced
> Error Reporting <?>
> ? ? ? ? Capabilities: [140] Virtual
> Channel <?>
> ? ? ? ? Capabilities: [160] Device
> Serial Number 12-14-24-ff-ff-17-15-00
> ? ? ? ? Capabilities: [170] Power
> Budgeting <?>
> ? ? ? ? Kernel driver in use: ath9k
> ? ? ? ? Kernel modules: ath9k
>
>
> iw list output:
> Wiphy phy0? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ?
> ???
> ? ? ? ? Band 1:? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ?
> ? ? ? ? ? ? ? ? HT
> capabilities: 0x104e? ? ? ? ?
> ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 20/40 MHz operation?
> ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? * SM PS disabled? ?
> ? ? ? ? ? ???
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 40 MHz short GI? ?
> ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? * max A-MSDU len 3839?
> ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? * DSSS/CCK 40 MHz? ?
> ? ? ? ? ? ?
> ? ? ? ? ? ? ? ? HT
> A-MPDU factor: 0x0003 (65535 bytes)???
> ? ? ? ? ? ? ? ? HT
> A-MPDU density: 0x0006 (8 usec)? ?
> ???
> ? ? ? ? ? ? ? ? HT
> MCS set: ff 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
> ? ? ? ? ? ? ? ? HT
> TX/RX MCS rate indexes supported:? ? ? ?
> ? ? ? ? ? ?
> ???
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 0? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 1? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 2? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 3? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 4? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 5? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 6? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? MCS index 7? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ?
> ? ? ? ? ? ? ? ?
> Frequencies:? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? ? ? ?
> ???
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2412 MHz [1] (20.0 dBm)?
> ? ? ? ? ? ? ? ?
> ? ? ? ?
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2417 MHz [2] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2422 MHz [3] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2427 MHz [4] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2432 MHz [5] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2437 MHz [6] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2442 MHz [7] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2447 MHz [8] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2452 MHz [9] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2457 MHz [10] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2462 MHz [11] (20.0 dBm)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2467 MHz [12] (20.0 dBm)
> (passive scanning)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2472 MHz [13] (20.0 dBm)
> (passive scanning)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2484 MHz [14] (disabled)
> ? ? ? ? ? ? ? ?
> Bitrates (non-HT):
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 1.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 2.0 Mbps (short preamble
> supported)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 5.5 Mbps (short preamble
> supported)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 11.0 Mbps (short preamble
> supported)
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 6.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 9.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 12.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 18.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 24.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 36.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 48.0 Mbps
> ? ? ? ? ? ? ? ?
> ? ? ? ? * 54.0 Mbps
> ? ? ? ? max # scan SSIDs: 4
> ? ? ? ? Supported interface modes:
> ? ? ? ? ? ? ?
> ???* IBSS
> ? ? ? ? ? ? ?
> ???* managed
> ? ? ? ? ? ? ?
> ???* AP
> ? ? ? ? ? ? ?
> ???* AP/VLAN
> ? ? ? ? ? ? ?
> ???* monitor
> ? ? ? ? ? ? ?
> ???* mesh point
>
> Thanks,
> Kunal
> _______________________________________________
> ath9k-devel mailing list
> [email protected]
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>

2009-10-21 05:38:06

by Kunal Gangakhedkar

[permalink] [raw]
Subject: Re: [ath9k-devel] Test for N-mode from userspace?

On Wednesday 21 Oct 2009 4:50:18 am Luis R. Rodriguez wrote:
> On Wed, Oct 21, 2009 at 2:28 AM, xxiao <[email protected]> wrote:
> > interesting, why is MCS range just 0-7, which means no HT?
>
> MCS 1-7 is for single stream devices.
>
> http://wireless.kernel.org/en/developers/Documentation/ieee80211/802.11n

So, does this mean that I can use N-mode on this device?
That would be really great, if possible :)

Thanks,
Kunal