Skip to content

Commit

Permalink
Merge branch 'master' into ble-notification-fallback-support
Browse files Browse the repository at this point in the history
  • Loading branch information
swan-amazon authored Mar 3, 2023
2 parents 1f5c3a6 + af3fdc5 commit 43f3cfd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
17 changes: 16 additions & 1 deletion examples/chef/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,31 @@

#include <app-common/zap-generated/ids/Attributes.h>
#include <app/ConcreteAttributePath.h>
#include <app/clusters/network-commissioning/network-commissioning.h>
#include <lib/support/logging/CHIPLogging.h>
#include <platform/Linux/NetworkCommissioningDriver.h>

#include <lib/shell/Engine.h>

#include <ChipShellCollection.h>

using namespace chip;
using namespace chip::Shell;
using namespace chip::app;

void ApplicationInit() {}
#if CHIP_DEVICE_CONFIG_ENABLE_WPA
namespace {
DeviceLayer::NetworkCommissioning::LinuxWiFiDriver sLinuxWiFiDriver;
Clusters::NetworkCommissioning::Instance sWiFiNetworkCommissioningInstance(0, &sLinuxWiFiDriver);
} // namespace
#endif

void ApplicationInit()
{
#if CHIP_DEVICE_CONFIG_ENABLE_WPA
sWiFiNetworkCommissioningInstance.Init();
#endif
}

int main(int argc, char * argv[])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

/* QSPI clock config params */
#define INTF_PLL_500_CTRL_VALUE 0xD900
#define INTF_PLL_CLK 160000000 /* PLL out clock 160MHz */
#define INTF_PLL_CLK 80000000 /* PLL out clock 80 MHz */

#define PMU_GOOD_TIME 31 /*Duration in us*/
#define XTAL_GOOD_TIME 31 /*Duration in us*/
Expand Down
1 change: 1 addition & 0 deletions examples/platform/silabs/efr32/rs911x/rsi_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ void wfx_rsi_task(void * arg)
WFX_RSI_LOG("Inside else");
ap.security = scan->security_mode;
ap.rssi = (-1) * scan->rssi_val;
ap.chan = scan->rf_channel;
memcpy(&ap.bssid[0], &scan->bssid[0], BSSID_MAX_STR_LEN);
(*wfx_rsi.scan_cb)(&ap);
}
Expand Down
4 changes: 1 addition & 3 deletions third_party/silabs/SiWx917_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ template("efr32_sdk") {
"HARD_FAULT_LOG_ENABLE",
"CORTEXM3_EFM32_MICRO",
"SILABS_LOG_ENABLED=1",

#Matter required at least 40960 but SiWx917 SoC requires an extra 20k to resolve nvm3_open() error, Need to be checked.
"NVM3_DEFAULT_NVM_SIZE=73728",
"NVM3_DEFAULT_NVM_SIZE=40960",
"NVM3_DEFAULT_MAX_OBJECT_SIZE=4092",
"KVS_MAX_ENTRIES=${kvs_max_entries}",
"EFR32_OPENTHREAD_API",
Expand Down

0 comments on commit 43f3cfd

Please sign in to comment.