Skip to content

Commit

Permalink
Cleanup task priority macros
Browse files Browse the repository at this point in the history
  • Loading branch information
bhmanda-silabs committed Sep 5, 2024
1 parent 02bb228 commit 1d6a30d
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/platform/silabs/wifi/wfx_host_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1d6a30d

Please sign in to comment.