From 1d6a30df5a2ff1bcb6efd96b023f61c45ecfdc8a Mon Sep 17 00:00:00 2001 From: bhmanda Date: Thu, 5 Sep 2024 14:44:08 +0530 Subject: [PATCH] Cleanup task priority macros --- src/platform/silabs/wifi/wfx_host_events.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/platform/silabs/wifi/wfx_host_events.h b/src/platform/silabs/wifi/wfx_host_events.h index 89d83ad8ea84a0..086074f334e705 100644 --- a/src/platform/silabs/wifi/wfx_host_events.h +++ b/src/platform/silabs/wifi/wfx_host_events.h @@ -26,6 +26,7 @@ #include "task.h" #include "timers.h" +#define WLAN_TASK_PRIORITY (1) typedef struct __attribute__((__packed__)) sl_wfx_get_counters_cnf_body_s { uint32_t status; @@ -108,7 +109,7 @@ typedef struct __attribute__((__packed__)) sl_wfx_mib_req_s #include "sl_wifi_device.h" #define SL_WIFI_ALLOCATE_COMMAND_BUFFER_WAIT_TIME_MS 1000 -#endif +#endif //(SLI_SI91X_MCU_INTERFACE | EXP_BOARD) /* Wi-Fi events*/ #define SL_WFX_STARTUP_IND_ID (1) @@ -117,7 +118,7 @@ typedef struct __attribute__((__packed__)) sl_wfx_mib_req_s #define SL_WFX_SCAN_COMPLETE_ID (4) #endif /* WF200 */ -#if SLI_SI91X_MCU_INTERFACE +#if (SLI_SI91X_MCU_INTERFACE | EXP_BOARD) // MAX SSID LENGTH excluding NULL character #define WFX_MAX_SSID_LENGTH (32) // MAX PASSKEY LENGTH including NULL character @@ -286,17 +287,6 @@ typedef struct wfx_wifi_scan_ext uint32_t overrun_count; } wfx_wifi_scan_ext_t; -#if WF200_WIFI -#define WLAN_TASK_PRIORITY (1) -#elif (SLI_SI91X_MCU_INTERFACE | EXP_BOARD) -// #define WLAN_DRIVER_TASK_PRIORITY (2) -// #define BLE_DRIVER_TASK_PRIORITY (2) -#else // RS9116 -#define WLAN_TASK_PRIORITY (1) -#define WLAN_DRIVER_TASK_PRIORITY (1) -#define BLE_DRIVER_TASK_PRIORITY (1) -#endif // WF200_WIFI - #ifdef RS911X_WIFI /* * This Sh%t is here to support WFXUtils - and the Matter stuff that uses it