From 950b67b29ce7dd9174efab80e1df6c5c4f0cbf3e Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Thu, 24 May 2018 15:00:08 +0200 Subject: mwifiex: mwifiex module options Add module load options for MWiFiEx driver, so the driver will create both uAP and station interfaces on boot. Signed-off-by: Dominik Sliwa Acked-by: Marcel Ziswiler --- recipes-bsp/mwifiexap/mwifiexap/mwifiex.conf | 1 + recipes-bsp/mwifiexap/mwifiexap_1.0.bb | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 recipes-bsp/mwifiexap/mwifiexap/mwifiex.conf create mode 100644 recipes-bsp/mwifiexap/mwifiexap_1.0.bb diff --git a/recipes-bsp/mwifiexap/mwifiexap/mwifiex.conf b/recipes-bsp/mwifiexap/mwifiexap/mwifiex.conf new file mode 100644 index 0000000..ccbeae4 --- /dev/null +++ b/recipes-bsp/mwifiexap/mwifiexap/mwifiex.conf @@ -0,0 +1 @@ +options mwifiex driver_mode=0x3 diff --git a/recipes-bsp/mwifiexap/mwifiexap_1.0.bb b/recipes-bsp/mwifiexap/mwifiexap_1.0.bb new file mode 100644 index 0000000..43bb386 --- /dev/null +++ b/recipes-bsp/mwifiexap/mwifiexap_1.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "MWiFiEx AP mode" +DESCRIPTION = "Currently wifi chip fw \ +doesn't support mode changes, this creates\ +multiple interfaces on boot" + +inherit systemd + +LICENSE = "CLOSED" + +SRC_URI = "file://mwifiex.conf \ + " + +do_install () { + install -d ${D}/etc/modprobe.d/ + install -m 0755 ${WORKDIR}/mwifiex.conf ${D}/etc/modprobe.d/mwifiex.conf +} + -- cgit v1.2.3