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.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -990,6 +990,8 @@ · 989 unmodified lines | |||
| 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 { · 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 */ |