2012-04-25 00:44:15

by Aseem Sharma

[permalink] [raw]
Subject: Re: Survey dump does not seem to work with SONY USB Wireless LAN Adapter UWA-BR100

Hello,

I was previously using Cisco Aironet wireless adapter (it uses ath5k
driver); using which I was able to get the survey dump using the following
command:

root@as75:~# iw phy phy0 interface add mon0 type monitor
root@as75:~# ifconfig mon0 up
root@as75:~# iw dev mon0 survey dump

Survey data from mon0
??????? frequency:????????????????????? 2412 MHz
??????? noise:????????????????????????? -95 dBm
??????? channel active time:??????????? 11813 ms
??????? channel busy time:????????????? 300 ms
??????? channel receive time:?????????? 237 ms
??????? channel transmit time:????????? 0 ms

However, when I run the same commands after?connecting SONY USB Wireless
LAN Adapter UWA-BR100 (which internally uses ath9k_htc driver) I do not seem
to get any output. Also, the command is successful (as I am running echo $?
which returns ?0?)

My questions:
1. Is there any other command or proc/sys interface from where I can
retreive this information?
2. Is there any other command option that I can use to retreive this
information?
3. Is there a patch for the above said driver that I can use?

Any help will be really appreciated.

Thanks in advance,
Aseem
(Newbie with Linux drivers)


2012-04-25 01:51:30

by Sujith Manoharan

[permalink] [raw]
Subject: Re: Survey dump does not seem to work with SONY USB Wireless LAN Adapter UWA-BR100

Aseem Sharma wrote:
> Hello,
>
> I was previously using Cisco Aironet wireless adapter (it uses ath5k
> driver); using which I was able to get the survey dump using the following
> command:
>
> root@as75:~# iw phy phy0 interface add mon0 type monitor
> root@as75:~# ifconfig mon0 up
> root@as75:~# iw dev mon0 survey dump
>
> Survey data from mon0
>         frequency:                      2412 MHz
>         noise:                          -95 dBm
>         channel active time:            11813 ms
>         channel busy time:              300 ms
>         channel receive time:           237 ms
>         channel transmit time:          0 ms
>
> However, when I run the same commands after connecting SONY USB Wireless
> LAN Adapter UWA-BR100 (which internally uses ath9k_htc driver) I do not seem
> to get any output. Also, the command is successful (as I am running echo $?
> which returns ‘0’)

ath9k_htc currently doesn't support survey dump.

Sujith

2012-04-25 05:05:25

by Sujith Manoharan

[permalink] [raw]
Subject: Re: Survey dump does not seem to work with SONY USB Wireless LAN Adapter UWA-BR100

Aseem Sharma wrote:
> Is there a plan to add this functionality in ath9k_htc driver?

Currently, no.

> If yes, it would be great if you can share a tentative date by when
> this functionality will be available.
> If no, then is there any other way of retrieving this information.

You can always write a patch. :)

Sujith

2012-04-25 04:48:27

by Aseem Sharma

[permalink] [raw]
Subject: Re: Survey dump does not seem to work with SONY USB Wireless LAN Adapter UWA-BR100

Sujith,

Appreciate the quick response.
Is there a plan to add this functionality in ath9k_htc driver?
If yes, it would be great if you can share a tentative date by when
this functionality will be available.
If no, then is there any other way of retrieving this information.

Thanks once again.

-Aseem





On Tue, Apr 24, 2012 at 6:50 PM, Sujith Manoharan
<[email protected]> wrote:
> Aseem Sharma wrote:
>> Hello,
>>
>> I was previously using Cisco Aironet wireless adapter (it uses ath5k
>> driver); using which I was able to get the survey dump using the following
>> command:
>>
>> root@as75:~# iw phy phy0 interface add mon0 type monitor
>> root@as75:~# ifconfig mon0 up
>> root@as75:~# iw dev mon0 survey dump
>>
>> Survey data from mon0
>> ??????? frequency:????????????????????? 2412 MHz
>> ??????? noise:????????????????????????? -95 dBm
>> ??????? channel active time:??????????? 11813 ms
>> ??????? channel busy time:????????????? 300 ms
>> ??????? channel receive time:?????????? 237 ms
>> ??????? channel transmit time:????????? 0 ms
>>
>> However, when I run the same commands after?connecting SONY USB Wireless
>> LAN Adapter UWA-BR100 (which internally uses ath9k_htc driver) I do not seem
>> to get any output. Also, the command is successful (as I am running echo $?
>> which returns ?0?)
>
> ath9k_htc currently doesn't support survey dump.
>
> Sujith

2012-04-25 06:02:00

by Aseem Sharma

[permalink] [raw]
Subject: Re: Survey dump does not seem to work with SONY USB Wireless LAN Adapter UWA-BR100

Thanks for the help Sujith..

-Aseem

On Tue, Apr 24, 2012 at 10:04 PM, Sujith Manoharan
<[email protected]> wrote:
> Aseem Sharma wrote:
>> Is there a plan to add this functionality in ath9k_htc driver?
>
> Currently, no.
>
>> If yes, it would be great if you can share a tentative date by when
>> this functionality will be available.
>> If no, then is there any other way of retrieving this information.
>
> You can always write a patch. :)
>
> Sujith