[Description] After starting a DPP soft ap, enter 'wifi ap status'. Security is shown as 'UNKNOW'. [Root Cause] 1. Start a DPP soft ap: wifi ap enable -s xxx -c x -p xxx -k 11 The parameter '-k 11' corresponds to zephyr security type 'WIFI_SECURITY_TYPE_DPP'. 2. hapd_config_network() will be called to config a new hostap bss. 3. Filed 'bss->wpa_key_mgmt' is set to WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_DPP. 4. When try to get security type of DPP soft ap, there is no corresponding zephyr security type. [Fix] Add enhance code to convert the security type to zephyr DPP security type. Signed-off-by: Qiankun Li <qiankun.li@nxp.com> |
||
|---|---|---|
| .. | ||
| hapd_api.c | ||
| hapd_api.h | ||
| hapd_events.c | ||
| hapd_events.h | ||
| hapd_main.c | ||
| hapd_main.h | ||
| supp_api.c | ||
| supp_api.h | ||
| supp_events.c | ||
| supp_events.h | ||
| supp_main.c | ||
| supp_main.h | ||
| wpa_cli.c | ||