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

Use netlink instead of Wireless Extensions #1879

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

Use netlink instead of Wireless Extensions #1879

wants to merge 18 commits into from

Conversation

Caellian
Copy link
Collaborator

@Caellian Caellian commented May 1, 2024

This PR removes deprecated iwlib related code and replaces it with netlink library.

State

  • change/setup dependencies
    • update CI & Docker files
  • implement some basic code that can handle some of the existing stats
    • dispatch new requests when requests aren't in_flight already
  • simplify changes for future contributors
    • improve documentation
  • reduce diff

Testing

  • nl cache works
  • test commands
    • wireless_ap
    • wireless_bitrate
    • wireless_channel
    • wireless_essid
    • wireless_freq
    • wireless_link_qual
    • wireless_link_qual_max
    • wireless_mode
  • test default command values
  • ensure correct interface data is returned
  • ensure correct network info is returned
  • check delay between command issuing and finish callback to determine ideal handling (eager vs. lazy)
  • test what happens when conky only renders once

Signed-off-by: Tin Švagelj <[email protected]>
@Caellian Caellian linked an issue May 1, 2024 that may be closed by this pull request
@github-actions github-actions bot added sources PR modifies project sources dependencies Issue or PR that affects dependencies networking Issue or PR related to networking support labels May 1, 2024
Copy link

netlify bot commented May 1, 2024

Deploy Preview for conkyweb canceled.

Name Link
🔨 Latest commit 46aeafb
🔍 Latest deploy log https://app.netlify.com/sites/conkyweb/deploys/67004ef22181d20008621958

@brndnmtthws brndnmtthws added the feature New feature PR or issue label May 1, 2024
Signed-off-by: Tin Švagelj <[email protected]>
@github-actions github-actions bot added 3rdparty Issue or PR that suggests changes to 3rd party dependencies gh-actions Issue or PR that suggest changing GitHub actions build system Issues and PRs related to build system (CMake) and process labels May 1, 2024
@Caellian Caellian force-pushed the dev/netlink branch 10 times, most recently from a18dc06 to cd43e19 Compare May 1, 2024 16:00
Update linux headers

Signed-off-by: Tin Švagelj <[email protected]>
Signed-off-by: Tin Švagelj <[email protected]>
Replace define with a wrapper struct.

Signed-off-by: Tin Švagelj <[email protected]>
Signed-off-by: Tin Švagelj <[email protected]>
Signed-off-by: Tin Švagelj <[email protected]>
src/netlink-conky.h Outdated Show resolved Hide resolved
@Caellian
Copy link
Collaborator Author

Caellian commented May 5, 2024

Ok, got interface information to update, so this PR is ~70% done with regards to figuring stuff out:

image

@github-actions github-actions bot added the display: x11 Issue related to X11 backend label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rdparty Issue or PR that suggests changes to 3rd party dependencies build system Issues and PRs related to build system (CMake) and process dependencies Issue or PR that affects dependencies display: x11 Issue related to X11 backend feature New feature PR or issue gh-actions Issue or PR that suggest changing GitHub actions networking Issue or PR related to networking support os: macos Issue or PR related to MacOS sources PR modifies project sources
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from libiw to libnl for wireless support
2 participants