On Wed, Oct 2, 2013 at 10:44 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Wed, 2013-10-02 at 09:43 +0200, Helmut Schaa wrote: >> In some cases its not only required to know the maximum transmit power >> the hw is capable of. Instead, userspace (hostapd) might want to know >> the maximum transmit power as defined in the current regulatory domain >> (for example for 802.11d country IEs). > > Why wouldn't it use (the equivalent of) "iw reg get" for that? Might be the more sane approach. I noticed that hostapd generates 11d IEs based on the channel list it reads from the kernel. Thus restricting STAs to the max tx power the hw is capable of. Just adding the max regulatory tx power looked like an easy solution :) Jouni, would you be ok with using the kernels regulatory domain for 11d IEs in hostapd? Thanks, Helmut -- 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