[rdkb][common][app][Refactor ccsp-common-library and ccsp-wifi-agent bbappend]

[Description]
Refactor ccsp-common-library and ccsp-wifi-agent bbappend

[Release-log]

Change-Id: I7f03632df5411415d419092f8388c06bbac2a845
diff --git a/recipes-wifi/ccsp/ccsp-common-library.bbappend b/recipes-wifi/ccsp/ccsp-common-library.bbappend
new file mode 100644
index 0000000..963b1cb
--- /dev/null
+++ b/recipes-wifi/ccsp/ccsp-common-library.bbappend
@@ -0,0 +1,10 @@
+

+do_filogic_wifi () {

+    if [ -e "${D}${systemd_unitdir}/system/ccspwifiagent.service" ]; then

+        sed -i "s/After=CcspPandMSsp.service/After=CcspPandMSsp.service hostapd.service/g" ${D}${systemd_unitdir}/system/ccspwifiagent.service

+        sed -i "/EnvironmentFile/a ExecStartPre=/bin/sleep 7" ${D}${systemd_unitdir}/system/ccspwifiagent.service

+    fi

+}

+

+

+addtask filogic_wifi after do_install before do_populate_sysroot
\ No newline at end of file
diff --git a/recipes-wifi/ccsp/ccsp-wifi-agent.bbappend b/recipes-wifi/ccsp/ccsp-wifi-agent.bbappend
index 9b9affb..f0b28ec 100644
--- a/recipes-wifi/ccsp/ccsp-wifi-agent.bbappend
+++ b/recipes-wifi/ccsp/ccsp-wifi-agent.bbappend
@@ -1,6 +1,6 @@
 FILESEXTRAPATHS_append := "${THISDIR}/files:"
 
-CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS"
+CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS -D_WIFI_AX_SUPPORT_ "
 
 SRC_URI_append += " \
     file://fix_guardInterval_set_issue.patch;apply=no \