aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-09-13 10:07:22 -0400
committerJohannes Berg <johannes.berg@intel.com>2017-10-11 07:04:15 -0400
commit1ea4ff3e9f0b8d53e680a2bb9e8e644bf03aeb4d (patch)
tree798b7b73a9bf61aaf2c1ef9c5265d5581f01ef2b /include/uapi/linux/nl80211.h
parent007f6c5e6eb45c81ee89368a5f226572ae638831 (diff)
cfg80211: support reloading regulatory database
If the regulatory database is loaded, and then updated, it may be necessary to reload it. Add an nl80211 command to do this. Note that this just reloads the database, it doesn't re-apply the rules from it immediately. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux/nl80211.h')
-rw-r--r--include/uapi/linux/nl80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 95832ce03a44..f882fe1f9709 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -990,6 +990,8 @@
990 * &NL80211_CMD_CONNECT or &NL80211_CMD_ROAM. If the 4 way handshake failed 990 * &NL80211_CMD_CONNECT or &NL80211_CMD_ROAM. If the 4 way handshake failed
991 * &NL80211_CMD_DISCONNECT should be indicated instead. 991 * &NL80211_CMD_DISCONNECT should be indicated instead.
992 * 992 *
993 * @NL80211_CMD_RELOAD_REGDB: Request that the regdb firmware file is reloaded.
994 *
993 * @NL80211_CMD_MAX: highest used command number 995 * @NL80211_CMD_MAX: highest used command number
994 * @__NL80211_CMD_AFTER_LAST: internal use 996 * @__NL80211_CMD_AFTER_LAST: internal use
995 */ 997 */
@@ -1194,6 +1196,8 @@ enum nl80211_commands {
1194 1196
1195 NL80211_CMD_PORT_AUTHORIZED, 1197 NL80211_CMD_PORT_AUTHORIZED,
1196 1198
1199 NL80211_CMD_RELOAD_REGDB,
1200
1197 /* add new commands above here */ 1201 /* add new commands above here */
1198 1202
1199 /* used to define NL80211_CMD_MAX below */ 1203 /* used to define NL80211_CMD_MAX below */