On Mon, Dec 29, 2008 at 10:27:36AM -0800, Pavel Roskin wrote: > On Mon, 2008-12-29 at 08:18 -0800, Luis R. Rodriguez wrote: > > > I think this wouldn't be hackish, but do we actually _know_ when crda has finished > > > uploading regulatory information? Does it do it all in one step? > > > > It would go in through another nl80211 command, NL80211_CMD_SET_REG. nl80211 eventually > > calls set_regdom() and this will set it, so if all goes well we can remove the timer > > at the end if its active (other means can call CRDA like for 802.11d or the wireless core > > upon initialization). > > Can we have a command to _get_ regulatory settings? I think it would be > useful. Then hostapd could wait until the correct settings are active. > If it doesn't happen after some time, hostapd should exit with an error. Yeah, I've been meaning to get to that but haven't yet, we should have a nl80211 command which lets userspace get the entire rd structure, and maybe some info from last_request. > It would be even better if hostapd could wait for an event notifying of > the regulatory settings change. Whatever works. But as can be seen this just requires a bit of work. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html