Changeset 40692


Ignore:
Timestamp:
2014-05-03T23:14:56+02:00 (4 years ago)
Author:
nbd
Message:

ath: Add config option for DFS support

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 <malaakso@…>
Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/Makefile

    r40688 r40692  
    4040        CONFIG_PACKAGE_MAC80211_MESH \ 
    4141        CONFIG_PACKAGE_ATH_DEBUG \ 
     42        CONFIG_PACKAGE_ATH_DFS \ 
    4243        CONFIG_PACKAGE_B43_DEBUG \ 
    4344        CONFIG_PACKAGE_B43_PIO \ 
     
    511512                  Say Y, if you want to debug atheros wireless drivers. 
    512513                  Right now only ath9k makes use of this. 
     514 
     515        config PACKAGE_ATH_DFS 
     516                bool "Enable DFS support" 
     517                help 
     518                  Dynamic frequency selection (DFS) is required for most of the 5 GHz band 
     519                  channels in Europe, US, and Japan. 
     520 
     521                  Select this option if you want to use such channels. Only EU (ETSI) DFS 
     522                  is supported at the moment. 
     523 
    513524  endif 
    514525endef 
     
    13811392config-$(call config_package,ath) += ATH_CARDS ATH_COMMON 
    13821393config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG 
     1394config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED 
    13831395 
    13841396config-$(call config_package,ath9k) += ATH9K 
Note: See TracChangeset for help on using the changeset viewer.