Skip to contentSkip to conversation

ACS and Hostapd

DISCUSSION Luis R. Rodriguez 3 participants 5 messages Dec 11, 2012 – Jun 27, 2013 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · Yogesh Ashok Powar

Hi Luis,

I was looking at your patches on the linux-wireless mailing list regarding ACS feature addition in hostapd.

It is seen that you went till v8 patches and still the patches are not seen upstream?

Correct.

Quoted 1 line

Is there any specific reason for this patches not being accepted?

It didn't get good test coverage and by the time I got results from Jouni on his test I already lost interest on the code. If anyone wants to work on it and enhance it feel free to do so.

Quoted 6 lines

I am refering http://marc.info/?l=linux-wireless&m=131257363303693 seems like all in one patch. But I have trouble finding correct git base for it; since patch doens't apply cleanly even when I take hostap.git back to Jul end of 2011. For v7, 1 through 3 apply cleanly but not 4th.

Or I am I looking at some wrong hostapd git?

It should have been the same date / tag around when I submitted it. Sorry I do not recall the exact commit.

Luis

#2 lore raw
Quoted 21 lines · Luis R. Rodriguez
Quoted 7 lines · Yogesh Ashok Powar

Hi Luis,

I was looking at your patches on the linux-wireless mailing list regarding ACS feature addition in hostapd.

It is seen that you went till v8 patches and still the patches are not seen upstream?

Correct.

Quoted 1 line

Is there any specific reason for this patches not being accepted?

It didn't get good test coverage and by the time I got results from Jouni on his test I already lost interest on the code. If anyone wants to work on it and enhance it feel free to do so.

Quoted 6 lines

I am refering http://marc.info/?l=linux-wireless&m=131257363303693 seems like all in one patch. But I have trouble finding correct git base for it; since patch doens't apply cleanly even when I take hostap.git back to Jul end of 2011. For v7, 1 through 3 apply cleanly but not 4th.

Or I am I looking at some wrong hostapd git?

Quoted 8 lines

It should have been the same date / tag around when I submitted it. Sorry I do not recall the exact commit.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hello Yogesh,
I myself was curious about the status of ACS. Thank you for
following up about it. I have interest in this functionality and I would be happy to help test and assist with the implementation. I have devices which use ath5k, ath9k, and some misc broadcom chips.

Thanks,
Jonathan Bither

#3 lore raw
Quoted 28 lines · Jonathan Bither
Quoted 21 lines · Luis R. Rodriguez
Quoted 7 lines · Yogesh Ashok Powar

Hi Luis,

I was looking at your patches on the linux-wireless mailing list regarding ACS feature addition in hostapd.

It is seen that you went till v8 patches and still the patches are not seen upstream?

Correct.

Quoted 1 line

Is there any specific reason for this patches not being accepted?

It didn't get good test coverage and by the time I got results from Jouni on his test I already lost interest on the code. If anyone wants to work on it and enhance it feel free to do so.

Quoted 5 lines

I am refering http://marc.info/?l=linux-wireless&m=131257363303693 seems like all in one patch. But I have trouble finding correct git base for it; since patch doens't apply cleanly even when I take hostap.git back to Jul end of 2011. For v7, 1 through 3 apply cleanly but not 4th.

Quoted 5 lines
Quoted 1 line

Or I am I looking at some wrong hostapd git?

It should have been the same date / tag around when I submitted it. Sorry I do not recall the exact commit.

Luis

Quoted 8 lines

Hello Yogesh,
I myself was curious about the status of ACS. Thank you for
following up about it. I have interest in this functionality and I would be happy to help test and assist with the implementation. I have devices which use ath5k, ath9k, and some misc broadcom chips.

Thanks,
Jonathan Bither

Hi Jouni/Luis,

It seems that, we have some resources that can be utilized to test this feature of ACS for hostapd.

Before we begin on this work of Luis and optimize/enhance it further, would you like to recommend some immediate changes from the last test results?

Thanks
Yogesh

#4 lore raw
Quoted 7 lines · Yogesh Powar

Hi Jouni/Luis,

It seems that, we have some resources that can be utilized to test this feature of ACS for hostapd.

Before we begin on this work of Luis and optimize/enhance it further, would you like to recommend some immediate changes from the last test results?

By my part:

The algorithm I wrote was pretty complex and although I did review it with some folks who liked it and it made sense the algorithm can be simplified by taking the input elements and using a multiplier for each one and letting the user configure the multiplier. In other words all the log stuff I did and linearizing it some way was not all that necessary except for mental masturbation.

Apart from that its just a matter of testing and proving it works.

Luis

#5 lore raw
Quoted 11 lines · Luis R. Rodriguez
Quoted 7 lines · Yogesh Powar

Hi Jouni/Luis,

It seems that, we have some resources that can be utilized to test this feature of ACS for hostapd.

Before we begin on this work of Luis and optimize/enhance it further, would you like to recommend some immediate changes from the last test results?

By my part:

Quoted 8 lines

The algorithm I wrote was pretty complex and although I did review it with some folks who liked it and it made sense the algorithm can be simplified by taking the input elements and using a multiplier for each one and letting the user configure the multiplier. In other words all the log stuff I did and linearizing it some way was not all that necessary except for mental masturbation.

Apart from that its just a matter of testing and proving it works.

Hi Luis,
We tried your code of ACS from hostapd mailing list archieve, after
resolving some merge conflicts, on latest hostapd. Following are some of our observations

a) The code can work for the drivers that dont support offchannel-tx. For such drivers, setting channel_time_tx to zero will make interference factor to depend only on busy time from passive listener's point of view.
b) HT 40 Mhz might have some issues with current ACS. When primary channel with least interference factor is selected secondary channel is set to offset from the primary instead of actual secondary channel.

Apart from the existing complex logic, explained here
http://wireless.kernel.org/en/users/Documentation/acs, can simple scan based ACS algorithm feasible?

Lets say one just scans all the channel and gathers the beacons. Based on the information based on collected beacons one can find out which channel has least number of APs residing. One can even look into detail IE informations in the beacons for detail study of wireless environment.

This could help drivers that do not have access to parameters needed for interference factor calculation.

Thanks
Yogesh