blob: f0b28ec87a868363154e78092cf95241cf8e6e92 [file] [log] [blame]
developer1f43a7f2023-01-12 15:05:10 +08001FILESEXTRAPATHS_append := "${THISDIR}/files:"
2
developerab246d42023-01-16 18:35:39 +08003CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS -D_WIFI_AX_SUPPORT_ "
developer1f43a7f2023-01-12 15:05:10 +08004
5SRC_URI_append += " \
6 file://fix_guardInterval_set_issue.patch;apply=no \
7 file://Fix-dmcli-can-not-set-password.patch;apply=no \
8"
9
10# we need to patch to code for ccsp-wifi-agent
11do_filogic_patches() {
12 cd ${S}
13 if [ ! -e filogic_patch_applied ]; then
14 patch -p1 < ${WORKDIR}/fix_guardInterval_set_issue.patch ${S}/source/TR-181/sbapi/cosa_wifi_apis.c
15 patch -p1 < ${WORKDIR}/Fix-dmcli-can-not-set-password.patch ${S}/source/TR-181/ml/cosa_wifi_dml.c
16 touch filogic_patch_applied
17 fi
18}
19addtask filogic_patches after do_unpack before do_configure
20
21
22