zephyr/modules/hostap/src
Jukka Rissanen ec21dab31a hostap: Avoid warning of different enum mapping
Even if the enum contains the same values, the values might
change if the wpa_supplicant sources change or Zephyr values
change. In order to avoid weird errors later and prevent the
following warning, add a conversion functions for the enums.

modules/hostap/src/supp_api.c:1172:23: warning: implicit conversion
from enumeration type 'enum mfp_options' to different enumeration
type 'enum wifi_mfp_options' [-Wenum-conversion]
                status->mfp = ssid->ieee80211w; /* Same mapping */

modules/hostap/src/supp_api.c:1190:30: warning: implicit conversion
from enumeration type 'enum wpas_mode' to different enumeration
type 'enum wifi_iface_mode' [-Wenum-conversion]
                status->iface_mode = ssid->mode;

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
..
supp_api.c hostap: Avoid warning of different enum mapping 2024-10-23 17:00:45 +02:00
supp_api.h modules: hostap: fix DPP build error 2024-10-17 09:43:08 +02: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 hostap: Remove not found hostapd functions 2024-10-23 17:00:45 +02:00
supp_main.h hostap: Add needed include files to fix compilation 2024-10-23 17:00:45 +02:00
wpa_cli.c hostap: add hostapd cli shell command 2024-09-18 09:57:27 +02:00