Hi Thomas :) On Wed, May 29, 2013 at 5:54 AM, Thomas Wagner <[email protected]> wrote: > Hi, > > I am working on a AuthSAE integreation for OpenWRT
Have you come across http://pastebin.com/54m3fEtS? > The wifi channel, band and ht-mode are set by the OpenWRT UCI system. > Using AuthSAE it is set twice. Once by UCI and once by meshd-nl8021. Then your patch can handle this? ie. don't set the channel if we'll use meshd-nl80211. > It would be nice if when channel, band and htmode are not mentioned in the > config file that they left as they are. > Alternativ: a "don't change" option: > meshd: > { > band = "nochange"; > channel ="nochange" ; > htmode = "nochange"; > }; Authsae still needs to know the band and htmode for setting basic rates / advertising the right IEs in peering frames. Luckily all that should be in the NL80211_CMD_NEW_WIPHY response. So the idea would be: 1. if "band", "channel", and "htmode" not in the config file, fine. 2. handle_wiphy() gets the above if not already specified and sets some flag indicating it shouldn't set the channel in init()? 3. set channel (or don't) specified in meshd_config in init(). Again, it seems if you are worried about setting the channel twice, just don't set it the first time? :P If you find it useful, a patch implementing the above would be appreciated. > The readme file says that default values where channel 6, band 11b, ht-mode > none. > But on my tests channel 1 and band 11g was selected if I did not set > band/channel in the config file. OK. I would like to see a patch for this as well, if you feel like it. -- Thomas _______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
