From eed14d4f190452f985f94916d779571a44f1f9b9 Mon Sep 17 00:00:00 2001 From: Patrick Walther Date: Mon, 24 Jul 2023 11:38:40 +0200 Subject: [PATCH] ADD: [iw] enbale FTM support id: 414273 --- recipes-connectivity/iw/iw/404-ftm.patch | 13 +++++++++++++ recipes-connectivity/iw/iw_5.19.bb | 1 + 2 files changed, 14 insertions(+) create mode 100644 recipes-connectivity/iw/iw/404-ftm.patch diff --git a/recipes-connectivity/iw/iw/404-ftm.patch b/recipes-connectivity/iw/iw/404-ftm.patch new file mode 100644 index 0000000..914817a --- /dev/null +++ b/recipes-connectivity/iw/iw/404-ftm.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 29f1d8f..f022e07 100644 +--- a/Makefile ++++ b/Makefile +@@ -23,7 +23,7 @@ _OBJS := $(sort $(patsubst %.c,%.o,$(wildcard *.c))) + VERSION_OBJS := $(filter-out version.o, $(_OBJS)) + OBJS := $(VERSION_OBJS) version.o + +-OBJS_FULL = ocb offch cqm wowlan coalesce roc p2p vendor mgmt ap sha256 nan bloom measurements ftm ++OBJS_FULL = ocb offch cqm wowlan coalesce roc p2p vendor mgmt ap sha256 nan bloom + ifdef IW_FULL + CFLAGS += -DIW_FULL + else diff --git a/recipes-connectivity/iw/iw_5.19.bb b/recipes-connectivity/iw/iw_5.19.bb index 516faed..8066430 100644 --- a/recipes-connectivity/iw/iw_5.19.bb +++ b/recipes-connectivity/iw/iw_5.19.bb @@ -19,6 +19,7 @@ SRC_URI = "http://www.kernel.org/pub/software/network/iw/${BP}.tar.xz \ file://401-wlan-indoor-channel.patch \ file://402-show-ant-gain.patch \ file://403-clockbootime.patch \ + file://404-ftm.patch \ " SRC_URI[sha256sum] = "f167bbe947dd53bb9ebc0c1dcef5db6ad73ac1d6084f2c6f9376c5c360cc4d4e"