On Wed, 2014-01-29 at 16:41 -0800, Luis R. Rodriguez wrote: > > The only thing I could think of an optimiser doing is combine ranges, > > but then it would lose flags which can't be right. > > One thing is in-kernel rules, another is wireless-regdb. If you are > extending rules in wireless-regdb you may at times run into a > situation where two rules are contiguous and you know you can combine > them and want to, combination for example makes sense if your source > for the db has a set of contiguous frequency rules with the same > power, max eirp, and flags. That's what the optimizer available as a > library does in reglib, part of CRDA. My point mostly is that due to how the rules are interpreted (a single channel must fit into a single frequency range), this isn't just an optimisation, it actually has impact on the behaviour. So calling it an 'optimizer' is misleading, that implies that it's actually always desired to do this, which isn't necessarily the case (it's quite likely the case, and IMHO the old interpretation rules are stupid, but those are what we're stuck with.) johannes -- 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