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
Quoted 2 lines · Mustafa Yücel
Hi Yoni,
Hi Mustafa,
Quoted 10 lines
I try to get this feature working with hostapd and wl12xx:
http://linuxwireless.org/en/users/Documentation/acscurrently only the noise of the main channel is filled within the
wl1271_op_get_surveyfunction. but to get acs working, in need to fillchannel_time,channel_time_txandchannel_busy_timein 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
Quoted 2 lines
Thanks,
Musti
Quoted 8 lines
Quoted 7 lines
currently only the noise of the main channel is filled within the
wl1271_op_get_surveyfunction. but to get acs working, in need to fillchannel_time,channel_time_txandchannel_busy_timein 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...
Quoted 4 lines
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 doeschannel_time_txexactly 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 channelNL80211_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