-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
net: wifi: shell: only process scan events during requested scan #84546
base: main
Are you sure you want to change the base?
Conversation
The scan events are always enabled which means if another software component requests a scan, then the WiFi shell scan printouts will also be sent to the shell. Only enable the network management scan events when a user has requested a scan. Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
The change is ready to merge, but marking as a draft since I have not discussed it with anyone yet. |
In you case, how your software component triggers scan? Call the |
Correct, I use |
The change itself it fine, but can't you just disable Wi-Fi shell |
Yes, I am in field trials at the moment, so just wanted to keep some of the shell commands such as |
The change itself LGTM, only impact to shell is that (re)adding callback for every scan, but IMHO that should be fine. |
The scan events are always enabled which means if another software component requests a scan, then the WiFi shell scan printouts will also be sent to the shell. This change only enables the network management scan events when a user has requested a scan.
Without the change when my application does a scan to find the best channel: