2012-05-14 16:10:15

by Mustafa Yücel

[permalink] [raw]
Subject: wl12xx: extend survey with channel_time_tx, channel_busy_time and channel_time

Hi Yoni,

I try to get this feature working with hostapd and wl12xx:
http://linuxwireless.org/en/users/Documentation/acs

currently only the noise of the main channel is filled within the
wl1271_op_get_survey function. but to get acs working, in need to fill
channel_time, channel_time_tx and channel_busy_time in the survey. is it
somehow possible to get these values (or similar values like a duty
cycle value) from the firmware? the only requirement I see as far, is
that it should measure these values inside a ROC phase...

Thanks,
Musti


2012-05-18 09:51:50

by Mustafa Yücel

[permalink] [raw]
Subject: Re: wl12xx: extend survey with channel_time_tx, channel_busy_time and channel_time

>> currently only the noise of the main channel is filled within the
>> wl1271_op_get_survey function. but to get acs working, in need to fill
>> channel_time, channel_time_tx and channel_busy_time in the survey. is it
>> somehow possible to get these values (or similar values like a duty
>> cycle value) from the firmware? the only requirement I see as far, is
>> that it should measure these values inside a ROC phase...
>>
>
> I checked and currenty I don't see a possiblity to get this parameter,
> I am trying to find out with the firmware team. I don't quite
> understand what the parameter stand for.
> for example what does channel_time_tx exactly mean?

I am not sure if I can help you here much, because I am more familiar
with rf technologies from low-power radios like the TI CC1000 and
CC2500. maybe we dont need channel_time_tx at all as we dont send data
inside the ROC phase, we only have to find out how clear or busy the
channel is (maybe its also possible to differ valid 802.11 frames from
other APs and interference noise like from microwaves). In the terms of
CC1000/CC2500 it would be called "clear channel assessment", in terms of
ethernet "carrier sense multiple access", maybe Wifi have something
similiar to sense the channel...

here is the definition from the nl80211.h header:
NL80211_SURVEY_INFO_CHANNEL_TIME:
amount of time (in ms) that the radio spent on this channel
NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY:
amount of the time the primary channel was sensed busy (either due to
activity or energy detect)
NL80211_SURVEY_INFO_CHANNEL_TIME_TX:
amount of time the radio spent transmitting data

2012-05-17 06:25:33

by Yoni Divinsky

[permalink] [raw]
Subject: Re: wl12xx: extend survey with channel_time_tx, channel_busy_time and channel_time

On Mon, May 14, 2012 at 7:10 PM, Mustafa Y?cel <[email protected]> wrote:
> Hi Yoni,
>
Hi Mustafa,

> I try to get this feature working with hostapd and wl12xx:
> http://linuxwireless.org/en/users/Documentation/acs
>
> currently only the noise of the main channel is filled within the
> wl1271_op_get_survey function. but to get acs working, in need to fill
> channel_time, channel_time_tx and channel_busy_time in the survey. is it
> somehow possible to get these values (or similar values like a duty
> cycle value) from the firmware? the only requirement I see as far, is
> that it should measure these values inside a ROC phase...
>

I checked and currenty I don't see a possiblity to get this parameter,
I am trying to find out with the firmware team. I don't quite
understand what the parameter stand for.
for example what does channel_time_tx exactly mean?

Thanks,
Yoni

> Thanks,
> Musti