cfg80211: regulatory: allow getting DFS CAC time from userspace
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 21 Feb 2014 18:46:12 +0000 (19:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 25 Feb 2014 16:29:25 +0000 (17:29 +0100)
commit089027e57cfa79337feffdd7252c8ba0be352afa
tree076b28e399d4ae3eca61a5e1dea50057e1ebb1c0
parentfb5c96368fa306dae0f79d0078d2d4e505278204
cfg80211: regulatory: allow getting DFS CAC time from userspace

Introduce DFS CAC time as a regd param, configured per REG_RULE and
set per channel in cfg80211. DFS CAC time is close connected with
regulatory database configuration. Instead of using hardcoded values,
get DFS CAC time form regulatory database. Pass DFS CAC time to user
mode (mainly for iw reg get, iw list, iw info). Allow setting DFS CAC
time via CRDA. Add support for internal regulatory database.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
[rewrap commit log]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/net/regulatory.h
include/uapi/linux/nl80211.h
net/wireless/genregdb.awk
net/wireless/nl80211.c
net/wireless/reg.c