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

Implement access point discovery operations for Linux using netlink #85

Merged
merged 34 commits into from
Dec 30, 2023

Conversation

abeltrano
Copy link
Contributor

@abeltrano abeltrano commented Dec 30, 2023

Type

  • Bug fix
  • Feature addition
  • Feature update
  • Documentation
  • Build Infrastructure

Side Effects

  • Breaking change
  • Non-functional change

Goals

  • Allow automatic detection of wi-fi interfaces to be used in the API.

Technical Details

  • Add libnl as dependencies (core, genl, route and modules plus debug package) with cmake targets and availability in Docker development container.
  • Ensure all Linux CMake presets use the Ninja Multi-Config generator and set default configure and build presets to use the Debug configuration.
  • Add generic scope-exit RAII helper to notstd library.
  • Add libnl helper library libnl-helpers to aid in netlink resource management for struct nl_socket and struct nl_msg.
  • Add test/utility program apmonitor on Linux to monitor access point presence changes.
  • Add IAccessPointDiscoveryAgentOperations implementation AccessPointDiscoveryAgentOperationsNetlink for discovering and monitoring access point presence on Linux using netlink.
  • Add unit tests for AccessPointManager and AccessPointDiscoveryAgentOperationsNetlink on Linux.

Test Results

  • All unit tests pass.

Reviewer Focus

  • None

Future Work

Checklist

  • Build target all compiles cleanly.
  • clang-format and clang-tidy deltas produced no new output.
  • Newly added functions include doxygen-style comment block.

@abeltrano abeltrano requested a review from a team as a code owner December 30, 2023 00:26
@abeltrano abeltrano changed the title Apdiscoveryagentlinux Implement access point discovery operations for Linux using netlink Dec 30, 2023
@abeltrano abeltrano merged commit cda9454 into develop Dec 30, 2023
2 of 4 checks passed
@abeltrano abeltrano deleted the apdiscoveryagentlinux branch December 30, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant