Skip to content

Commit

Permalink
Added changes accroding to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shgutte committed Jan 10, 2024
1 parent e388bd2 commit 74e381e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 30 deletions.
23 changes: 0 additions & 23 deletions examples/platform/silabs/efr32/rs911x/rs9117.gni
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,6 @@ rs9117_inc_plat = [
"${examples_plat_dir}/rs911x",
"${examples_plat_dir}/rs911x/hal",
"${wifi_sdk_root}/components/si91x/ble/inc",

# si91x component
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/ble/inc",
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/inc",
"${wifi_sdk_root}/components/common/inc",
"${wifi_sdk_root}/components/si91x/memory",
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/sl_net/inc",

# wifi component
"${wifi_sdk_root}/components/protocol/wifi/inc",

# si91x_support component
"${wifi_sdk_root}/components/si91x_support/inc",

# wifi_resources component
"${wifi_sdk_root}/resources/certificates",
"${wifi_sdk_root}/resources/defaults",
"${wifi_sdk_root}/resources/other",

# network_manager component
"${wifi_sdk_root}/components/service/network_manager/inc",

"${wifi_sdk_root}/components/protocol/wifi/si91x",
]

rs911x_cflags = [ "-Wno-empty-body" ]
Expand Down
6 changes: 0 additions & 6 deletions src/platform/silabs/rs911x/rsi_ble_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@
#define RSI_FAILURE -1
#endif

#define WIFI_ENABLE_SECURITY_WPA3_TRANSITION 0

#ifndef CHIP_DEVICE_CONFIG_ENABLE_IPV4
#define CHIP_DEVICE_CONFIG_ENABLE_IPV4 0
#endif

#define RSI_BLE_CONN_EVENT (0x01)
#define RSI_BLE_DISCONN_EVENT (0x02)
#define RSI_BLE_GATT_WRITE_EVENT (0x03)
Expand Down
6 changes: 5 additions & 1 deletion third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,15 @@ template("efr32_sdk") {

if (use_SiWx917) {
_include_dirs += [
# si91x component
"${wifi_sdk_root}/components/si91x/memory",
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/inc",
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/sl_net/inc",
"${wifi_sdk_root}/components/device/silabs/si91x/mcu/drivers/rom_driver/inc",
"${wifi_sdk_root}/components/device/silabs/si91x/mcu/core/chip/inc",
"${wifi_sdk_root}/components/common/inc",
"${wifi_sdk_root}/components/device/silabs/si91x/mcu/core/config",
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/inc",
"${wifi_sdk_root}/components/device/silabs/si91x/wireless/ble/inc",

# wifi component
"${wifi_sdk_root}/components/protocol/wifi/inc",
Expand All @@ -234,6 +236,8 @@ template("efr32_sdk") {

# network_manager component
"${wifi_sdk_root}/components/service/network_manager/inc",

"${wifi_sdk_root}/components/protocol/wifi/si91x",
]
}
if (use_rs9116 || use_SiWx917) {
Expand Down

0 comments on commit 74e381e

Please sign in to comment.