-
Notifications
You must be signed in to change notification settings - Fork 719
[Backport v4.0.99-ncs1-branch] Configure Enterprise mode in Wi-Fi credentials #2807
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
Merged
carlescufi
merged 12 commits into
v4.0.99-ncs1-branch
from
backport-2771-to-v4.0.99-ncs1-branch
Apr 23, 2025
Merged
[Backport v4.0.99-ncs1-branch] Configure Enterprise mode in Wi-Fi credentials #2807
carlescufi
merged 12 commits into
v4.0.99-ncs1-branch
from
backport-2771-to-v4.0.99-ncs1-branch
Apr 23, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add support to read identity and private key password if configured in Enterprise mode. Signed-off-by: Triveni Danda <[email protected]> (cherry picked from commit 589333e) (cherry picked from commit a90c3f7)
Fix the kconfig check for enterprise crypto support in AP mode. Also, remove the unnecessary Hostapd enterprise crypto check in credentials code. Signed-off-by: Triveni Danda <[email protected]> (cherry picked from commit b3ea4f8) (cherry picked from commit 75d5c70)
Based on few tests, it was observed that WPA supplicant's maximum usage for connection and disconnection is 4360. This would save ~4K which is huge as we have a crunch for RAM. This was missed when hostap was upstreamed from NCS. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 83592e8) (cherry picked from commit 88c6921)
When connecting to a WPA3 connection, the max stack size observed was 5456, fix the SoF by increasing by 200bytes (cushion added). Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 24cbc88) (cherry picked from commit 2861e27)
During experiments it was observed that workqueue uses a maximum of 3872 bytes, so, with cushion added set it to 4096. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 96dc3d3) (cherry picked from commit ef18ad8)
In case interface is UP, the interface is added to WPA supplicant in the iface_wq itself and the max stack size is 4264, so, increase the stack size of the iface_wq. If the interface is added via net_mgmt thread then it works fine. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit e2bf746) (cherry picked from commit e785ded)
…tion Increase stack size of supplicant thread to fix crash seen during enterprise mode connection. Increase heap requirement of hostap to handle TLS processing failures. Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit d073e62) (cherry picked from commit ae37a77)
… security Add support for configuring enterprise mode security. Fixes SHEL-3573. Upstream PR #: 88653 Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit 5ebd033)
Enable Wi-Fi credentials support. Update the heap sizes as required for enterprise mode. Upstream PR #: 88653 Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit b2c3f2c)
… overflow Inclusion of CONFIG_WIFI_SHELL_RUNTIME_CERTIFICATES causes build time RAM overflow issues. Decrease NRF_WIFI_DATA_HEAP_SIZE to accommodate the RUNTIME_CERTIFICATES feature. Upstream PR #:88861 Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit a4b75c0)
These are QSPI related which is part of buslib. Upstream PR #: 88897 Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit ad17ea8)
These are applicable for Wi-Fi over QSPI (nRF7002DK) or Flash over QSPI (nRF52/53 + nRF7002EK) and as most Wi-Fi samples run on 128MHz (for performance), disable the anomalies for both. Upstream PR #: 88897 Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 63c239c)
|
sachinthegreen
approved these changes
Apr 23, 2025
carlescufi
approved these changes
Apr 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Backport 63c239c~12..63c239c from #2771.