This MR adds a unixlib component to wlanapi containing DBus + NetworkManager implementations for
* WlanEnumInterfaces * WlanGetAvailableNetworkList * WlanGetNetworkBssList * WlanScan * WlanSetProfile * WlanConnect * WlanGetProfileList * WlanDisconnect
-- v13: wlanapi: Add NetworkManager backed implementation for WlanDisconnect. wlanapi/tests: Add unit tests for WlanDisconnect. wlanapi: Add NetworkManager backed implementation for WlanSetProfile. wlanapi/tests: Add tests for WlanSetProfile. wlanapi: Add stub for WlanSetProfile. wlanapi: Add stub for WlanDisconnect. wlanapi: Add an initial NetworkManager backed implementation for WlanConnect. wlanapi/tests: Add unit tests for WlanConnect. wlanapi: Add stub for WlanConnect. wlanapi: Add NetworkManager backed implementation for WlanGetProfileList. wlanapi/tests: Add unit tests for WlanGetProfileList. wlanapi: Add stub for WlanGetProfileList. wlanapi: Add NetworkManager backed implementation for WlanScan. wlanapi/tests: Add unit tests for WlanScan. wlanapi: Add NetworkManager backed implementation for WlanGetNetworkBssList. wlanapi/tests: Add unit test for test_WlanGetNetworkBssList. wlanapi: Add stub for WlanGetNetworkBssList. wlanapi: Add NetworkManager backed implementation for WlanGetAvailableNetworkList. wlanapi/tests: Add unit test for WlanGetAvailableNetworkList. wlanapi: Add NetworkManager backed implementation for WlanEnumInterfaces. wlanapi: Add a basic unixlib implementation.
This merge request has too many patches to be relayed via email. Please visit the URL below to see the contents of the merge request. https://gitlab.winehq.org/wine/wine/-/merge_requests/6505
v2: Added implementations for:
* WlanSetProfile (the commit for this is large because the code also includes parsing the WLAN XML profile, which I'm not sure how to split into smaller commits) * WlanConnect * WlanGetProfileList * WlanDisconnect
On Sat Sep 28 15:59:37 2024 +0000, Vibhav Pant wrote:
It's unclear to me (because I know nothing about these APIs) how the
handles/objects returned by the APIs here can be used on Windows, and whether we're going to get stuck in a dead end or not if we go that way. `wlanapi` handles, being strictly private, seem to be only used within `wlanapi`. I imagine on Windows they likely contain the connection to the WLAN service.
Chromium's wifi code is a good reference to see how this API gets used: https://github.com/chromium/chromium/blob/84f61322f1d8b45d0ef39ecc0a508f72a6...
This merge request was closed by Vibhav Pant.
Closing this for now, to focus on Bluetooth support.