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

Migrate from libiw to libnl for wireless support #1001

Open
nullr0ute opened this issue Aug 29, 2020 · 6 comments · May be fixed by #1879
Open

Migrate from libiw to libnl for wireless support #1001

nullr0ute opened this issue Aug 29, 2020 · 6 comments · May be fixed by #1879
Labels
feature New feature PR or issue good first issue Great issues for first-time contributors networking Issue or PR related to networking support

Comments

@nullr0ute
Copy link

Issue

The wireless extensions interface to support WiFi has been long obsolete and doesn't support a lot of the new 802.11 functionality in the kernel. There's also discussion in the kernel community about removing it as it's been long obsolete.

Information

The new interface for dealing with 802.11 wireless interfaces on Linux is the nl80211 interface which can be used via libnl from a API PoV and the iw command line tool. The advantage is there's a lot more information and support for newer wireless technologies. A lot of distros are also starting to disable the old kernel wext support.

Information for iw is available here: https://wireless.wiki.kernel.org/en/users/Documentation/iw
Information for libnl3 is at: http://www.infradead.org/~tgr/libnl/

@brndnmtthws brndnmtthws added the enhancement Issue that suggests an enhancement label Sep 2, 2020
@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

@github-actions github-actions bot added the Stale Issue/PR that requires attention because it hasn't been updated in over a year label Jan 28, 2023
@nullr0ute
Copy link
Author

This is still relevant, in fact even more so because newer wifi (at least wifi 7) will be blocked from the old wireless extensions so won't appear.

@github-actions github-actions bot removed the Stale Issue/PR that requires attention because it hasn't been updated in over a year label Jan 30, 2023
@AAnzel
Copy link

AAnzel commented May 8, 2023

I agree with @nullr0ute. This issue should have high priority.

@Caellian Caellian added good first issue Great issues for first-time contributors feature New feature PR or issue networking Issue or PR related to networking support and removed enhancement Issue that suggests an enhancement labels May 1, 2024
@Caellian
Copy link
Collaborator

Caellian commented May 1, 2024

Attaching details from my other issue:

the version of conky available in the fedora repository does not support wifi.

Conky uses an old library to access wifi data from your system. This library is now deprecated in fedora.

hence fedora packages conky without wireless support since fedora 36 :(

Originally posted by @ernesto1 in #1664 (comment)

Related build options: BUILD_WLAN

Old include is libiw.h, new structures are:

Developer guide: https://www.kernel.org/doc/html/v4.9/80211/index.html

@Caellian Caellian linked a pull request May 1, 2024 that will close this issue
13 tasks
@raviksharma
Copy link

libiw-dev (wireless-tools) is being removed from Ubuntu 24.10. You can use libnl3 as a replacement. Here is Ubuntu 24.10 schedule for reference.

@ilf
Copy link

ilf commented Nov 13, 2024

Current kernels emit a warning:

kernel: warning: `conky' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211

#1588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature PR or issue good first issue Great issues for first-time contributors networking Issue or PR related to networking support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants