-
Notifications
You must be signed in to change notification settings - Fork 3k
WifiConnectionManager: Scan timer reconfig connect #11078
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
WifiConnectionManager: Scan timer reconfig connect #11078
Conversation
a016578 to
d3b1868
Compare
0c08eb7 to
ddf6274
Compare
ddf6274 to
a86ede0
Compare
|
@ardbiesheuvel You had comments on the other PR #11039 for this issue that was closed and this alternate approach was implemented. Do you have comments on this approach? |
501b1d8 to
7f6190c
Compare
When the Wifi network is enabled the connection manager will trigger a network scan without a profile to use. If there is a connected network or attempting a connection, the scan will interrupt and break the connection. Fix - The Wifi Connection Manager will register the scan on timer tick but will not set the timer. This timer will only be set when the user enters or selects a profile for connection in the BIOS menu. If the user does not select a profile there is no need to start a scan timer. Additionally the scan on timer tick will check for a profile to connect and if no profile found then cancel the timer and exit. When the driver loads it will check for a profile and if one is found then the scan timer will be set. If no profile is found then the driver will not set the scan timer and will not attempt to scan. This will prevent the driver from scanning and breaking a connection if the user does not select a profile. Signed-off-by: Zachary Clark-Williams <[email protected]>
1457958 to
357046c
Compare
|
This pull request makes several changes to the WiFi Connection Manager in the EDK II project, with a focus on improving timer management, connection logic, and error handling. Here’s a concise review of the changes: Summary of Changes1. Logic Fixes for Connection Flow
2. Improved Timer Management
3. Refined Scan and Connection State Logic
Code Quality / Style
Impact
Suggestions
VerdictPositive: If you need a deeper review of the specific logic or want to discuss edge cases, let me know! |
Description
When the Wifi network is enabled the connection
manager will trigger a network scan without a
profile to use. If there is a connected network
or attempting a connection, the scan will
interrupt and break the connection.
Fix - The Wifi Connection Manager will register
the scan on timer tick but will not set the timer. This timer will only be set when the user enters or selects a profile for connection in the BIOS menu. If the user does not select a profile there is no
need to start a scan timer. Additionally the scan
on timer tick will check for a profile to connect
and if no profile found then cancel the timer and
exit.
How This Was Tested
This change was tested on platforms with Wifi connections established and tested if this fixes the break in the current connect as well if this change breaks anything when the platform is supposed to scan correctly.
Integration Instructions
N/A