-
Notifications
You must be signed in to change notification settings - Fork 246
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
pc: update wlan driver #4455
Comments
In case where the ported driver or protocol stack is executed from an already managed environment, e.g. the libc, the execution of the static constructors will be performed at the appropriate time. Issue genodelabs#4455.
Prevent '<warning unsupported format specifier>' when encountering '%hu'. Issue genodelabs#4455.
Needed by the WLAN driver on x86_32. Issue genodelabs#4455.
Those members are access via static inline functions in the network core code and from certain protocols, e.g. AF_NETLINK. Issue genodelabs#4455.
The location of the used 'source.list' file is hard-coded and will not work when the ported driver is implemented as a shared library. For this use-case provide means to set the location differently. Issue genodelabs#4455.
Not needed and breaks 'pc_wlan_drv'. Issue genodelabs#4455.
Various libraries, like libnl and wpa_driver_nl80211, used hardcoded values for the interface index (ifindex) and name (ifname). To accomdate the legacy as well as the upcoming new driver we add functions to query these information where at least the index differs. Issue genodelabs#4455.
Move 'linux-firmware' portion from 'dde_linux' into its own port, while it is used by the upcoming new WLAN driver keep it in place for the legacy one. Issue genodelabs#4455.
The driver falls in line with the previous 'wifi_drv' component where the ported wireless LAN stack and device driver is encapsulated in a library. This library in return is used by the 'Libc::Component' providing the necessary environment for the 'wpa_supplicant'. In constrast to the old driver a 'wlan' VFS plugin is in charge of initalizing the 'Lx_kit::Env' prior to executing any static constructors. Fixes genodelabs#4455.
Sculpt integration will follow next week (the pc_wlan_drv recipe is already available). Since I have not yet tested if rejoining or roaming works, I'll expect one or the other rough edge. |
In case where the ported driver or protocol stack is executed from an already managed environment, e.g. the libc, the execution of the static constructors will be performed at the appropriate time. Issue genodelabs#4455.
Prevent '<warning unsupported format specifier>' when encountering '%hu'. Issue genodelabs#4455.
Needed by the WLAN driver on x86_32. Issue genodelabs#4455.
Those members are access via static inline functions in the network core code and from certain protocols, e.g. AF_NETLINK. Issue genodelabs#4455.
The location of the used 'source.list' file is hard-coded and will not work when the ported driver is implemented as a shared library. For this use-case provide means to set the location differently. Issue genodelabs#4455.
Not needed and breaks 'pc_wlan_drv'. Issue genodelabs#4455.
Various libraries, like libnl and wpa_driver_nl80211, used hardcoded values for the interface index (ifindex) and name (ifname). To accomdate the legacy as well as the upcoming new driver we add functions to query these information where at least the index differs. Issue genodelabs#4455.
In case where the ported driver or protocol stack is executed from an already managed environment, e.g. the libc, the execution of the static constructors will be performed at the appropriate time. Issue #4455.
Prevent '<warning unsupported format specifier>' when encountering '%hu'. Issue #4455.
Needed by the WLAN driver on x86_32. Issue #4455.
Those members are access via static inline functions in the network core code and from certain protocols, e.g. AF_NETLINK. Issue #4455.
The location of the used 'source.list' file is hard-coded and will not work when the ported driver is implemented as a shared library. For this use-case provide means to set the location differently. Issue #4455.
Not needed and breaks 'pc_wlan_drv'. Issue #4455.
Various libraries, like libnl and wpa_driver_nl80211, used hardcoded values for the interface index (ifindex) and name (ifname). To accomdate the legacy as well as the upcoming new driver we add functions to query these information where at least the index differs. Issue #4455.
This is needed because now 'kobject_uevent.c' pulls netlink related code in. Issue #4455.
Move 'linux-firmware' portion from 'dde_linux' into its own port, while it is used by the upcoming new WLAN driver keep it in place for the legacy one. Issue #4455.
Both runtimes were broken due to missing requirement for "Uplink" service and thus unused. Issue #4455
@chelmuth please see answers below:
Yes, we could use the
I did not check how it fares but I guess it will cope with the situation. AFAICT the problems mainly arise from how we interact with the supplicant. My commit accab77 addresses this by ignoring it on our side, which leads to the supplicant doing its thing and rejoining the network.
All in all we should spend some time to rework the wifi management state-machine. |
(Hopefully it plays well with wpa_supplicant's AP auto-select…) Issue genodelabs#4455.
(Hopefully it plays well with wpa_supplicant's AP auto-select…) Issue genodelabs#4455.
Static constructors are no longer implicitly called by Lx_kit::initialize() but must be called explicitly afterwards. Issue genodelabs/genode#4455
The following commits series introduces a new WLAN driver for the PC platform based on the Linux 5.14.2 sources that features support for Intel wireless AX (WIFI-6) devices. It is still WIP as it lacks rfkill support and the management front end integration is not yet properly done. The included wlan-test.run may be executed to test the new driver (so far it was only tested it with a 7265D and AX201 device).
The text was updated successfully, but these errors were encountered: