From: Janusz Dziedzic Date: Thu, 20 Feb 2014 12:52:16 +0000 (+0100) Subject: cfg80211: regulatory: introduce NL80211_RRF_AUTO_BW rule flag X-Git-Tag: v3.15-rc1~113^2~159^2^2~131^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0dfd2ea12d92b49639ad84f24ddd00c7ac144b5;p=pandora-kernel.git cfg80211: regulatory: introduce NL80211_RRF_AUTO_BW rule flag Introduce NL80211_RRF_AUTO_BW rule flag. If this flag set maximum available bandwidth should be calculated base on contiguous rules and wider channels will be allowed to cross multiple contiguous/overlapping frequency ranges. In case of old kernels maximum bandwidth from regulatory rule will be used, while there is no NL80211_RRF_AUTO_BW flag. This fixes the previous commit 9752482083066af7ac18a5ca376f ("cfg80211: regulatory introduce maximum bandwidth calculation") which was found to be a problem for userspace API compatibility. Signed-off-by: Janusz Dziedzic [edit commit log, use sizeof()] Signed-off-by: Johannes Berg Signed-off-by: Johannes Berg --- Reading git-diff-tree failed