hal: add error handling to radio stats loop - #308
Open
rslater-cs wants to merge 2 commits into
Open
Conversation
- Check start_client_monitor return value and log errors on failure - Detect and handle client monitor stream closure gracefully - Add unit and integration tests for error scenarios - Update test suite to include radio driver specification
…ailability check Move backend instantiation to lazy initialization pattern and add explicit path-based command validation. Simplify is_supported() check and update integration test to validate early provider rejection when iw is unavailable.
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
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.
What type of PR is this? (check all applicable)
Description
Previous VM memory testing found that a system without iw will cause the iw event stream to fail creation and, due to an unhandled error, the
watch_clients_opop will hammer in the radio loop. To fix I have added a check for iw in the backend init file, added error checking forstart_client_monitorandwatch_clients_opin the driver.I have added a unit test to check
I have also added a VM check to make sure the backend fails initialisation in an environment with no iw package
Related Issues, Tickets & Documents
#271
Manual test
Manual test description
Run the testing suite both unit and VM
Added tests?
Added to documentation?