-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Silabs] Changes the WiFi initialization for RCP modules #37135
base: master
Are you sure you want to change the base?
[Silabs] Changes the WiFi initialization for RCP modules #37135
Conversation
PR #37135: Size comparison from 8370039 to e489f7b Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #37135: Size comparison from 8370039 to 43cd521 Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes allows us to unify the wifi init in MatterConfig. The changes should be done in this PR.
@@ -45,11 +45,12 @@ | |||
#include "MemMonitoring.h" | |||
#endif | |||
|
|||
// TODO: We shouldn't need any platform specific includes in this file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are removing TODOs without resolving them.
@@ -320,10 +321,9 @@ CHIP_ERROR SilabsMatterConfig::InitWiFi(void) | |||
wfx_bus_start(); | |||
#endif // WF200_WIFI | |||
|
|||
// TODO: Platform specific init should not be required here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that init structure between all our Wi-Fi implementations are similar, we can unify the inits here behind a common init the WifiInterface header.
Please create a function in the WifiInterface.h
, that is implemented by all the WifiInterfaceImpl
including the WF200.
@@ -646,15 +638,20 @@ void ProcessEvent(WifiPlatformEvent event) | |||
} | |||
} | |||
|
|||
void MatterWifiTask(void * arg) | |||
sl_status_t InitSiWxWifi(void) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this function is used by the rs911x WifiInterfaceImpl, the name needs to be updated.
Testing
Manually build the RCP combinations for RS9116 and RCP 917 with EFR32MG24.