[rdkb][common][bsp][Add hostapd ucode support]

[Description]
Add hostapd ucode support for wifi7

[Release-log]

Change-Id: Ic4c3cca4a36a11fc3f9f9fdc94842b66a00721bf
diff --git a/recipes-wifi/hostapd/hostapd_2.10.3.bb b/recipes-wifi/hostapd/hostapd_2.10.3.bb
index b97c3b5..6351b22 100644
--- a/recipes-wifi/hostapd/hostapd_2.10.3.bb
+++ b/recipes-wifi/hostapd/hostapd_2.10.3.bb
@@ -28,8 +28,10 @@
     file://hostapd.uc \
     file://common.uc \
     file://wdev.uc \
+    file://wpa_supplicant.uc \
     file://src-${PV} \
     file://002-rdkb-add-ucode-support.patch;apply=no \
+    file://003-rdkb-uc-script-support.patch;apply=no \
 "
 require files/patches-${PV}/patches.inc
 
@@ -79,6 +81,9 @@
     cd ${S}
         if [ ! -e patch_applied ]; then
             patch -p1 < ${WORKDIR}/002-rdkb-add-ucode-support.patch
+            cd ${WORKDIR}
+            patch -p1 < ${WORKDIR}/003-rdkb-uc-script-support.patch
+            cd ${S}
             touch patch_applied
         fi
 }
@@ -107,6 +112,7 @@
          install -m 0755 ${WORKDIR}/hostapd.uc ${D}${datadir}/hostap
          install -m 0755 ${WORKDIR}/wdev.uc ${D}${datadir}/hostap
          install -m 0755 ${WORKDIR}/common.uc ${D}${datadir}/hostap
+         install -m 0755 ${WORKDIR}/wpa_supplicant.uc ${D}${datadir}/hostap
 }
 
 FILES_${PN} += " \
@@ -121,4 +127,5 @@
                 ${datadir}/hostap/hostapd.uc \
                 ${datadir}/hostap/wdev.uc \
                 ${datadir}/hostap/common.uc \
+                ${datadir}/hostap/wpa_supplicant.uc \
 "