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 adds or removes dependencies, or suggests alternatives networking related to network information reporting 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 suggest addition of new functionality that isn't currently supported in any way label May 1, 2024
Signed-off-by: Tin Švagelj <[email protected]>
@github-actions github-actions bot added 3rdparty suggests changes to 3rd party dependencies gh-actions suggest changing GitHub actions build system related to build system (CMake) and/or building process/assumptions 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
Caellian added 2 commits May 1, 2024 20:57
Update linux headers

Signed-off-by: Tin Švagelj <[email protected]>
Signed-off-by: Tin Švagelj <[email protected]>
Caellian added 3 commits May 1, 2024 23:14
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
@github-actions github-actions bot added the os: macos related to MacOS label May 2, 2024
Caellian added 3 commits May 3, 2024 16:17
Signed-off-by: Tin Švagelj <[email protected]>
@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rdparty suggests changes to 3rd party dependencies build system related to build system (CMake) and/or building process/assumptions dependencies adds or removes dependencies, or suggests alternatives display: x11 related to X11 backend feature suggest addition of new functionality that isn't currently supported in any way gh-actions suggest changing GitHub actions networking related to network information reporting os: macos related to MacOS sources PR modifies project sources
Projects
None yet
2 participants