History

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.

Johannes Berg committed 9 years ago

Commit 1ea4ff31 parent 007f6c54 files · +81 −20Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+4−0
@@ -990,6 +990,8 @@ · 989 unmodified lines
990 * &NL80211_CMD_CONNECT or &NL80211_CMD_ROAM. If the 4 way handshake failed990 * &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 number995 * @NL80211_CMD_MAX: highest used command number
994 * @__NL80211_CMD_AFTER_LAST: internal use996 * @__NL80211_CMD_AFTER_LAST: internal use
995 */997 */
@@ -1194,6 +1196,8 @@ enum nl80211_commands { · 198 unmodified lines
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 */