2010-04-27 10:55:29

by Joerg

[permalink] [raw]
Subject: Re: [PATCH] ath9k: remove usage of deprecated noise value

Benoit PAPILLAULT <benoit.papillault@...> writes:
> Before removing noise reporting and all related code, wouln't it be
> better to have a replacement API?

I thought this is what NL80211_CMD_GET_SURVEY is supposed to do...
See
http://osdir.com/ml/linux-wireless/2009-11/msg00977.html



2010-04-28 20:06:28

by Benoit Papillault

[permalink] [raw]
Subject: Re: AW: [PATCH] ath9k: remove usage of deprecated noise value

Joerg Pommnitz a ?crit :
> ----- Urspr?ngliche Mail ----
>
>
>> From: Benoit PAPILLAULT <[email protected]>
>> I'll try then to implement it for ath5k (already done?), ar9170,
>> zd1211rw (if possible), rt2800usb/pci.
>>
> For ath5k see
> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=commit;h=55ee82b500551f80720de57a00d2990d56cf08a8
>
>
>
>
Thanks. I've used that for the ath9k variant.

Regards,
Benoit


2010-04-27 19:23:11

by Benoit Papillault

[permalink] [raw]
Subject: Re: [PATCH] ath9k: remove usage of deprecated noise value

Joerg Pommnitz a ?crit :
> Benoit PAPILLAULT <benoit.papillault@...> writes:
>
>> Before removing noise reporting and all related code, wouln't it be
>> better to have a replacement API?
>>
>
> I thought this is what NL80211_CMD_GET_SURVEY is supposed to do...
> See
> http://osdir.com/ml/linux-wireless/2009-11/msg00977.html
>
>
Thanks Joerg! I tried : iw dev wlan0 survey dump and nothing show up.
What drivers are supposed to have this feature implemented?

Anyway, I really like to have it implemented for ath9k before removing
the deprecated noise value. If it's not currently implemented, I'll try
my best to send a patch in the next couple of days. I'll try then to
implement it for ath5k (already done?), ar9170, zd1211rw (if possible),
rt2800usb/pci.

BTW, on rt2800usb/pci, it seems the noise is reported on a per packet
basis by HW. Kinda strange isn't it? :-]

Regards,
Benoit


2010-04-28 19:38:25

by Joerg

[permalink] [raw]
Subject: AW: [PATCH] ath9k: remove usage of deprecated noise value

----- Urspr?ngliche Mail ----

> From: Benoit PAPILLAULT <[email protected]>
> I'll try then to implement it for ath5k (already done?), ar9170,
> zd1211rw (if possible), rt2800usb/pci.
For ath5k see
http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=commit;h=55ee82b500551f80720de57a00d2990d56cf08a8