-
Notifications
You must be signed in to change notification settings - Fork 7.5k
drivers: wifi: siwx91x: Fix AP stability bugs #91915
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
base: main
Are you sure you want to change the base?
drivers: wifi: siwx91x: Fix AP stability bugs #91915
Conversation
For the first commit, can you add For the second commit, I understand |
973061e
to
9bb395b
Compare
Fixes: commit a73f202 ("drivers: wifi: siwx91x: Fix boot_config") Disabled the 160 MHz feature due to stability issues (mode change) Signed-off-by: Muzaffar Ahmed <[email protected]>
Raising event from driver itself after successful AP start, instead of waiting for an event from SDK/TA FW. TA used to send an asynchronous event earlier but currently does not. Signed-off-by: Muzaffar Ahmed <[email protected]>
Copy only WIFI_MAC_ADDR_LEN bytes to sta_info.mac instead of dynamic length Signed-off-by: Muzaffar Ahmed <[email protected]>
9bb395b
to
968a503
Compare
|
@@ -885,14 +885,15 @@ static sl_status_t siwx91x_on_ap_sta_connect(sl_wifi_event_t event, void *data, | |||
uint32_t data_length, void *arg) | |||
{ | |||
ARG_UNUSED(event); | |||
ARG_UNUSED(data_length); |
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.
To avoid any further mistake, it would probably make sense to explain what value is represented by data_length
. Maybe the code should be:
struct ??? *station = arg;
[...]
ASSERT(data_length == sizeof(struct ???));
... and I assume the first field of struct ???
is the mac address of the station.
Uh oh!
There was an error while loading. Please reload this page.