DPP2: Controller support in hostapd
Extend hostapd support for DPP Controller to cover the DPP_CONTROLLER_* cases that were previously implemented only in wpa_supplicant. This allows hostapd/AP to be provisioned using DPP over TCP. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
cd17f6877c
commit
4ecb6dd16b
6 changed files with 68 additions and 3 deletions
|
@ -3337,6 +3337,10 @@ int wpas_dpp_controller_start(struct wpa_supplicant *wpa_s, const char *cmd)
|
|||
|
||||
os_memset(&config, 0, sizeof(config));
|
||||
config.allowed_roles = DPP_CAPAB_ENROLLEE | DPP_CAPAB_CONFIGURATOR;
|
||||
config.netrole = DPP_NETROLE_STA;
|
||||
config.msg_ctx = wpa_s;
|
||||
config.cb_ctx = wpa_s;
|
||||
config.process_conf_obj = wpas_dpp_process_conf_obj;
|
||||
if (cmd) {
|
||||
pos = os_strstr(cmd, " tcp_port=");
|
||||
if (pos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue