[rdkb][mt7986][app][Refactor hostapd service]
[Description]
Refactor hostapd service
1. move mac80211.sh from init-filogic to hostapd, and will run before hostapd.service
2. refactor hostapd-init.sh, it will accroding to uci wireless config to gen config and bring up interface
3. remove unused hostapd config, such like hostapd-bhaul2G.conf
4. separate init brlan0 part from hostapd-init.sh and create init-Lanbridge.service to handle
[Release-log]
diff --git a/recipes-connectivity/hostapd/files/init-uci-config.service b/recipes-connectivity/hostapd/files/init-uci-config.service
new file mode 100644
index 0000000..54677c8
--- /dev/null
+++ b/recipes-connectivity/hostapd/files/init-uci-config.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Init UCI wireless config
+DefaultDependencies=no
+Before=hostapd.service
+After=CcspPandMSsp.service
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh /usr/sbin/mac80211.sh
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
+