diff --git a/examples/platform/silabs/efr32/BUILD.gn b/examples/platform/silabs/efr32/BUILD.gn index d1512a2c3cc351..7a249bff8edb21 100644 --- a/examples/platform/silabs/efr32/BUILD.gn +++ b/examples/platform/silabs/efr32/BUILD.gn @@ -287,16 +287,7 @@ source_set("efr32-common") { } if (chip_enable_wifi) { - if (use_rs9116) { - sources += rs911x_src_plat - - # All the stuff from wiseconnect - sources += rs911x_src_sapi - include_dirs += rs911x_inc_plat - - #add compilation flags for rs991x build. This will be addressed directly in wiseconnect sdk in the next version release of that sdk - cflags = rs911x_cflags - } else if (use_SiWx917) { + if (use_rs9116 || use_SiWx917) { sources += rs911x_src_plat # All the stuff from wiseconnect diff --git a/third_party/silabs/efr32_sdk.gni b/third_party/silabs/efr32_sdk.gni index 447f24e2e7c248..26930595607231 100644 --- a/third_party/silabs/efr32_sdk.gni +++ b/third_party/silabs/efr32_sdk.gni @@ -190,18 +190,7 @@ template("efr32_sdk") { ] if (defined(invoker.chip_enable_wifi) && invoker.chip_enable_wifi) { - if (use_rs9116) { - defines += [ - "SL_HEAP_SIZE=32768", - "SL_WIFI=1", - "SL_WFX_USE_SPI", - "EFX32_RS911X=1", - "RS911X_WIFI", - "RSI_WLAN_ENABLE", - "RSI_SPI_INTERFACE", - "RSI_WITH_OS", - ] - } else if (use_SiWx917) { + if (use_rs9116 || use_SiWx917) { defines += [ "SL_HEAP_SIZE=32768", "SL_WIFI=1",