Skip to content
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

samples: wifi: wfa_qt_app: Fix SVD failures #15427

Merged
merged 5 commits into from
May 31, 2024

Conversation

krish2718
Copy link
Contributor

@krish2718 krish2718 commented May 21, 2024

Hostap now uses more stack, so, calibrate and increase stack sizes.

Fixes SHEL-2754.

Hostap now uses more stack, so, calibrate and increase stack sizes.

Fixes SHEL-2754.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 requested review from a team and tejlmand as code owners May 21, 2024 17:54
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label May 21, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented May 21, 2024

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-sdk-wifi X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@krish2718 krish2718 added the DNM label May 21, 2024
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@ioannisg
Copy link
Contributor

Side comment @krish2718 and @sachinthegreen : it would be nice if we could document (e.g. as part of the architecture documentation, SDK docs, etc.) which core threads are expected to invoke WPA supplicant calls, and hence are sensitive to the stack requirements of the hostap. This is very useful for application developers, so they can do proper selection of stack sizes.

krish2718 added 3 commits May 28, 2024 23:27
The memory for format is leaked. Instead of fixing the leak, move away
from malloc based implementation it is overkill for logging and also
protect the prints using a mutex, this should have been done even with
malloc/free for thread safety (apart from inherent malloc/free thread
safety).

Fixes SHEL-2274.

Signed-off-by: Chaitanya Tata <[email protected]>
The response handler doesn't check for failures and they will be
ignored, add a check for failures and return failure.

Signed-off-by: Chaitanya Tata <[email protected]>
Now that the memory leak has been fixed, we don't need 100K heap for QT
app.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 changed the base branch from v2.6-branch to main May 28, 2024 18:06
@NordicBuilder
Copy link
Contributor

NordicBuilder commented May 28, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
wfa-qt-control-app nrfconnect/sdk-wi-fiquicktrack-controlappc@d649bd1 nrfconnect/sdk-wi-fiquicktrack-controlappc@9f91589 (main) nrfconnect/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@krish2718 krish2718 removed the DNM label May 28, 2024
@krish2718 krish2718 changed the title samples: wifi: wfa_qt_app: Fix stack sizes samples: wifi: wfa_qt_app: Fix SVD failures May 29, 2024
Fixes heap corruption seen in SVD test suites.

Signed-off-by: Chaitanya Tata <[email protected]>
@rlubos rlubos merged commit aabae14 into nrfconnect:v2.6-branch May 31, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. manifest manifest-wfa-qt-control-app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants