wpa_cli: Add support to process DPP action events in action script

Signed-off-by: Disha Das <dishad@codeaurora.org>
This commit is contained in:
Disha Das 2019-06-20 11:02:23 +05:30 committed by Jouni Malinen
parent 64e37be945
commit 5a511924b1

View file

@ -4021,6 +4021,22 @@ static void wpa_cli_action_process(const char *msg)
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, HS20_T_C_ACCEPTANCE)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_CONF_RECEIVED)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_CONFOBJ_AKM)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_CONFOBJ_SSID)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_CONNECTOR)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_CONFOBJ_PASS)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_CONFOBJ_PSK)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_C_SIGN_KEY)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, DPP_EVENT_NET_ACCESS_KEY)) {
wpa_cli_exec(action_file, ifname, pos);
} else if (str_starts(pos, WPA_EVENT_TERMINATING)) {
printf("wpa_supplicant is terminating - stop monitoring\n");
wpa_cli_quit = 1;