zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.52k stars 6.45k forks source link

wifi: hostap: Relocate source code of AP setup using hostapd to separate files #77383

Open nxf58150 opened 1 month ago

nxf58150 commented 1 month ago

Issue: Originally, setting up AP with wpasupplicant is supported in modules/hostap/src/supp*.c files. Now adding new support of setting up AP with hostapd in same files, controlled by new macro CONFIG_WIFI_NM_HOSTAPD_AP. This implementation is not easy to maintain in the future.

Solution: Relocate the hostapd support source code to new files and place those files under modules/hostap/src. Update CMAKE file so that those files will only be included and compiled when CONFIG_WIFI_NM_HOSTAPD_AP is enabled.

nxf58150 commented 1 month ago

@krish2718 Hi Chaitanya, Created this issue to track the hostapd support relocation task. Could you please help add this issue to Wi-Fi project. Thanks!

Regards, Hui Bai