On 02/17/2014 09:05 PM, Matti Laakso wrote: > This patch adds a config option to enable DFS in ath9k and ath10k > drivers (with ath10k you need the AP-branch firmware). I'm not entirely > sure about the regulatory compliance issues, though. As far as I > understand, enabling the DFS_CERTIFIED config options implies that the > device is certified for DFS. No doubt the original firmware has obtained > such a certification, but not with the open source drivers. I suppose > that as long as this is disabled in default builds (like ATH_USER_REGD) > everything should be fine, but it would be nice to have out-of-the-box > OpenWrt support for DFS. I'm also not sure whether the description of > the configuration option should say something about regulatory compliance. > > Signed-off-by: Matti Laakso <[email protected]> > --- > > Index: trunk/package/kernel/mac80211/Makefile > =================================================================== > --- trunk/package/kernel/mac80211/Makefile (revision 39585) > +++ trunk/package/kernel/mac80211/Makefile (working copy) > @@ -39,6 +39,7 @@ > CONFIG_PACKAGE_MAC80211_DEBUGFS \ > CONFIG_PACKAGE_MAC80211_MESH \ > CONFIG_PACKAGE_ATH_DEBUG \ > + CONFIG_PACKAGE_ATH_DFS \ > CONFIG_PACKAGE_B43_DEBUG \ > CONFIG_PACKAGE_B43_PIO \ > CONFIG_PACKAGE_B43_N_PHY \ > @@ -509,6 +510,15 @@ > help > Say Y, if you want to debug atheros wireless drivers. > Right now only ath9k makes use of this. > + > + config PACKAGE_ATH_DFS > + bool "Enable DFS support" > + help > + Dynamic frequency selection (DFS) is required for most of the > 5 GHz band > + channels in Europe, US, and Japan. > + > + Select this option if you want to use such channels. > + > endif > endef > > @@ -1358,6 +1368,7 @@ > > config-$(call config_package,ath) += ATH_CARDS ATH_COMMON > config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG > +config-$(CONFIG_PACKAGE_ATH_DFS) += CFG80211_CERTIFICATION_ONUS > ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED > > config-$(call config_package,ath9k) += ATH9K > config-$(call config_package,ath9k-common) += ATH9K_COMMON >
Any comments on this (and http://patchwork.openwrt.org/patch/4880/ as well)? I've been using DFS-channels successfully for 2 months now with ath10k. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
