Skip to content

Commit

Permalink
wifi fixes for soc and ncp devices (#34132)
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-silabs committed Jul 2, 2024
1 parent a475d54 commit 0b39d3b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/platform/silabs/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ extern "C" {
#include <CHIPProjectConfig.h>

#include <stdint.h>
#include <stdio.h>

#ifdef SLI_SI91X_MCU_INTERFACE
#include "si91x_device.h"
Expand Down
3 changes: 2 additions & 1 deletion examples/platform/silabs/SiWx917/SiWx917/sl_wlan_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
#define RSI_CONFIG_H

#include "ble_config.h"
#if SLI_SI91X_MCU_INTERFACE
#include "rsi_wisemcu_hardware_setup.h"
#include "rsi_wlan_defines.h"
#endif // SLI_SI91X_MCU_INTERFACE
#include "sl_wifi_device.h"

//! Enable feature
Expand Down
2 changes: 1 addition & 1 deletion src/platform/silabs/BLEManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class BLEManagerImpl final : public BLEManager, private BleLayer, private BlePla

#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
#if (SLI_SI91X_ENABLE_BLE || RSI_BLE_ENABLE)
static void HandleC3ReadRequest(void);
static void HandleC3ReadRequest(rsi_ble_read_req_t * rsi_ble_read_req);
#else
#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
static void HandleC3ReadRequest(volatile sl_bt_msg_t * evt);
Expand Down
9 changes: 9 additions & 0 deletions src/platform/silabs/CHIPDevicePlatformConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS 1
#endif

/**
* CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID_LENGTH
*
* Unique ID length in bytes. The value should be 16-bytes or longer.
*/
#ifndef CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID_LENGTH
#define CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID_LENGTH 32
#endif

#if CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS
/**
* @brief Fallback value for the basic information cluster's Vendor name attribute
Expand Down

0 comments on commit 0b39d3b

Please sign in to comment.