zephyr/modules/hostap/src
Jukka Rissanen 4b83b2346f hostap: Use proper value when generating supplicant event
The previous NET_EVENT_SUPPLICANT_CMD_INT_EVENT is from
"enum net_event_supplicant_cmd" but the supplicant_send_wifi_mgmt_event()
has the event parameter as an "enum net_event_wifi_cmd" and those event
number spaces are different.

This meant that the wrong event value NET_EVENT_SUPPLICANT_CMD_INT_EVENT
maps to NET_EVENT_WIFI_CMD_TWT (from "enum net_event_wifi_cmd") which
fortunately did not cause issue in this case because the
supplicant_send_wifi_mgmt_event() has no handling for this TWT event value.

It is important we fix this as this can cause great confusion in the
future.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-08 18:17:42 +01:00
..
supp_api.c net: wifi: shell: add reg domain support 2024-10-08 06:00:36 -04:00
supp_api.h net: wifi: Fix DPP disabled build 2024-10-07 17:12:16 +01:00
supp_events.c hostap: Use proper value when generating supplicant event 2024-10-08 18:17:42 +01:00
supp_events.h hostap: add AP DPP wpa_msg event handler 2024-09-18 09:57:27 +02:00
supp_main.c modules: hostap: Use net_mgmt context 2024-10-07 17:12:24 +01:00
supp_main.h hostap: add dispatch for hostapd and wpa_supplicant wpa_msg 2024-09-18 09:57:27 +02:00
wpa_cli.c hostap: add hostapd cli shell command 2024-09-18 09:57:27 +02:00