summaryrefslogtreecommitdiff
path: root/recipes-kernel/rsi-91x/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/rsi-91x/files')
-rw-r--r--recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch26
-rw-r--r--recipes-kernel/rsi-91x/files/fix-rsi-handle-card-ready.patch (renamed from recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch)25
-rw-r--r--recipes-kernel/rsi-91x/files/rsi-91x-config.patch16
-rw-r--r--recipes-kernel/rsi-91x/files/rsi-91x-sta-ap.patch16
-rw-r--r--recipes-kernel/rsi-91x/files/rsi-bt91x-config.patch16
5 files changed, 33 insertions, 66 deletions
diff --git a/recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch b/recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch
deleted file mode 100644
index 5615c78..0000000
--- a/recipes-kernel/rsi-91x/files/0001_concurrent_compilation_fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-rs9116 rsi-91x linux driver fails to compile in Station + AP mode
-
-Silicon labs patch from case 00297277
-
-https://community.silabs.com/5008Y000024DTst
-==================================================
-diff --git a/rsi_91x_per.c b/rsi_91x_per.c
-index 031f3fc..d57b8fa 100644
---- a/rsi_91x_per.c
-+++ b/rsi_91x_per.c
-@@ -145,7 +145,6 @@ int rsi_send_rx_stats_cmd(struct rsi_hw *adapter, struct nlmsghdr *nlh)
- int status = 0;
- #endif
-
-- if (common->driver_mode == E2E_MODE) {
- #ifndef CONFIG_STA_PLUS_AP
- struct ieee80211_vif *vif = adapter->vifs[0];
- bool assoc = vif && vif->bss_conf.assoc;
-@@ -154,6 +153,7 @@ int rsi_send_rx_stats_cmd(struct rsi_hw *adapter, struct nlmsghdr *nlh)
- bool assoc = sta_vif && sta_vif->bss_conf.assoc;
- #endif
-
-+ if (common->driver_mode == E2E_MODE) {
- if (!assoc && adapter->ps_state == PS_ENABLED)
- rsi_disable_ps(adapter);
- goto SEND_STATS_FRAME;
diff --git a/recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch b/recipes-kernel/rsi-91x/files/fix-rsi-handle-card-ready.patch
index aeed2c9..aed069a 100644
--- a/recipes-kernel/rsi-91x/files/0002-fix-rsi_handle_card_ready-card-ready.patch
+++ b/recipes-kernel/rsi-91x/files/fix-rsi-handle-card-ready.patch
@@ -1,18 +1,8 @@
-From 822df5990784ba914a1622e81b2b9ea4e079d5ea Mon Sep 17 00:00:00 2001
-From: Serhii Voloshynov <serhii.voloshynov@globallogic.com>
-Date: Thu, 29 Dec 2022 09:36:07 +0200
-Subject: [PATCH] fix 'rsi_handle_card_ready: card ready indication in invalid
- state 0.' issue
-
----
-rsi_91x_hal.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/rsi_91x_hal.c b/rsi_91x_hal.c
-index c3d5823..e3eeec6 100644
---- a/rsi_91x_hal.c
-+++ b/rsi_91x_hal.c
-@@ -1703,6 +1703,9 @@ int rsi_hal_device_init(struct rsi_hw *adapter)
+diff --git a/rsi/rsi_91x_hal.c b/rsi/rsi_91x_hal.c
+index b9166f6..a94b871 100644
+--- a/rsi/rsi_91x_hal.c
++++ b/rsi/rsi_91x_hal.c
+@@ -1794,6 +1794,9 @@ int rsi_hal_device_init(struct rsi_hw *adapter)
rsi_dbg(ERR_ZONE, "%s: oper_mode = %d, coex_mode = %d\n", __func__, common->oper_mode, common->coex_mode);
@@ -22,7 +12,7 @@ index c3d5823..e3eeec6 100644
switch (adapter->device_model) {
case RSI_DEV_9113:
case RSI_DEV_9116:
-@@ -1714,8 +1717,6 @@ int rsi_hal_device_init(struct rsi_hw *adapter)
+@@ -1805,8 +1808,6 @@ int rsi_hal_device_init(struct rsi_hw *adapter)
default:
return -EINVAL;
}
@@ -31,6 +21,3 @@ index c3d5823..e3eeec6 100644
#if defined(CONFIG_RSI_BT_ALONE) || defined(CONFIG_RSI_COEX_MODE)
adapter->priv->bt_fsm_state = BT_DEVICE_NOT_READY;
---
-2.25.1
-
diff --git a/recipes-kernel/rsi-91x/files/rsi-91x-config.patch b/recipes-kernel/rsi-91x/files/rsi-91x-config.patch
index c711698..448c7b2 100644
--- a/recipes-kernel/rsi-91x/files/rsi-91x-config.patch
+++ b/recipes-kernel/rsi-91x/files/rsi-91x-config.patch
@@ -1,8 +1,8 @@
diff --git a/rsi/Makefile b/rsi/Makefile
-index 64f7742..e74d971 100644
+index 0c610f8..a7ec0cc 100644
--- a/rsi/Makefile
+++ b/rsi/Makefile
-@@ -45,7 +45,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
+@@ -17,7 +17,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
#CONFIG_RSI_BT_ALONE=y
# Uncomment below line for Wi-Fi BT coex mode
@@ -11,7 +11,7 @@ index 64f7742..e74d971 100644
# Uncomment below line for WLAN + Zigbee coex mode
#CONFIG_RSI_ZIGB=y
-@@ -196,10 +196,15 @@ rsi_usb-objs := $(COMMON_USB_OBJS)
+@@ -168,13 +168,18 @@ rsi_usb-objs := $(COMMON_USB_OBJS)
rsi_91x-objs := $(RSI_91X_OBJS)
all:
@@ -19,13 +19,15 @@ index 64f7742..e74d971 100644
+ env
@echo -e "\033[32mCompiling RSI drivers...\033[0m"
make -C$(KERNELDIR)/ M=$(PWD) modules
-- @echo -e "application compilation"
+ chmod 777 start_rs9116.sh
+ chmod 777 osd_common_insert.sh
- make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
-+ # @echo -e "application compilation"
+ # make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
-+
+ @echo -e "\033[32mCompilation done SUCCESSFULLY\033[0m"
+
+modules_install:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
-
++
clean:
make -C$(KERNELDIR)/ M=$(PWD) clean
+ @find . -name 'receive' | xargs rm -rf
diff --git a/recipes-kernel/rsi-91x/files/rsi-91x-sta-ap.patch b/recipes-kernel/rsi-91x/files/rsi-91x-sta-ap.patch
index 73c3e1b..d542ae2 100644
--- a/recipes-kernel/rsi-91x/files/rsi-91x-sta-ap.patch
+++ b/recipes-kernel/rsi-91x/files/rsi-91x-sta-ap.patch
@@ -1,8 +1,8 @@
diff --git a/rsi/Makefile b/rsi/Makefile
-index 64f7742..951b7a1 100644
+index 0c610f8..ad0caaa 100644
--- a/rsi/Makefile
+++ b/rsi/Makefile
-@@ -57,7 +57,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
+@@ -29,7 +29,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
#CONFIG_RSI_P2P=y
# Uncomment below line for using Concurrent mode
@@ -11,7 +11,7 @@ index 64f7742..951b7a1 100644
# Uncomment below line for platforms with no SDIO multiblock support
#CONFIG_RSI_NO_SDIO_MULTIBLOCK=y
-@@ -190,16 +190,21 @@ ifeq ($(OFFLOAD_SCAN_TO_DEVICE), y)
+@@ -162,19 +162,24 @@ ifeq ($(OFFLOAD_SCAN_TO_DEVICE), y)
EXTRA_CFLAGS += -DOFFLOAD_SCAN_TO_DEVICE
endif
@@ -28,13 +28,15 @@ index 64f7742..951b7a1 100644
+ env
@echo -e "\033[32mCompiling RSI drivers...\033[0m"
make -C$(KERNELDIR)/ M=$(PWD) modules
-- @echo -e "application compilation"
+ chmod 777 start_rs9116.sh
+ chmod 777 osd_common_insert.sh
- make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
-+ # @echo -e "application compilation"
+ # make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
-+
+ @echo -e "\033[32mCompilation done SUCCESSFULLY\033[0m"
+
+modules_install:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
-
++
clean:
make -C$(KERNELDIR)/ M=$(PWD) clean
+ @find . -name 'receive' | xargs rm -rf
diff --git a/recipes-kernel/rsi-91x/files/rsi-bt91x-config.patch b/recipes-kernel/rsi-91x/files/rsi-bt91x-config.patch
index 3bda909..3f74f50 100644
--- a/recipes-kernel/rsi-91x/files/rsi-bt91x-config.patch
+++ b/recipes-kernel/rsi-91x/files/rsi-bt91x-config.patch
@@ -1,8 +1,8 @@
diff --git a/rsi/Makefile b/rsi/Makefile
-index 64f7742..bc088b8 100644
+index 0c610f8..7af43f7 100644
--- a/rsi/Makefile
+++ b/rsi/Makefile
-@@ -42,7 +42,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
+@@ -14,7 +14,7 @@ KERNELDIR=/lib/modules/$(KERNELRELEASE)/build
#CONFIG_SDIO_INTR_POLL=y
# Uncomment below line for BT alone (Classic/LE/Dual) mode
@@ -11,7 +11,7 @@ index 64f7742..bc088b8 100644
# Uncomment below line for Wi-Fi BT coex mode
#CONFIG_RSI_COEX_MODE=y
-@@ -190,16 +190,21 @@ ifeq ($(OFFLOAD_SCAN_TO_DEVICE), y)
+@@ -162,19 +162,24 @@ ifeq ($(OFFLOAD_SCAN_TO_DEVICE), y)
EXTRA_CFLAGS += -DOFFLOAD_SCAN_TO_DEVICE
endif
@@ -29,13 +29,15 @@ index 64f7742..bc088b8 100644
+ env
@echo -e "\033[32mCompiling RSI drivers...\033[0m"
make -C$(KERNELDIR)/ M=$(PWD) modules
-- @echo -e "application compilation"
+ chmod 777 start_rs9116.sh
+ chmod 777 osd_common_insert.sh
- make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
-+ # @echo -e "application compilation"
+ # make CC="$(CC)" ROOT_DIR=$(ROOT_DIR) -C $(PWD)/apps
-+
+ @echo -e "\033[32mCompilation done SUCCESSFULLY\033[0m"
+
+modules_install:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
-
++
clean:
make -C$(KERNELDIR)/ M=$(PWD) clean
+ @find . -name 'receive' | xargs rm -rf