mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-04 13:46:58 -04:00
This change implements the ability to get and set the WiFi back-end, by leveraging a new script created for that purpose. The idea is to be able to use 'wpa_supplicant' (which is the default back-end in NetworkManager upstream) when 'iwd' (the default in SteamOS) does not work for some reason. This change interacts with another feature of steamos-manager, which is to set debug mode for WiFi. Handling debug mode complicates things substantially because those methods write config for 'iwd' and restart the daemons/systemd units, with many interdependencies. Instead of trying to implement all at once and attempt feature-parity between back-ends on this aspect from the start, as a first step the operations are just declared incompatible. As a result, if WifiDebugMode=on the back-end cannot be changed, and conversely the WifiDebugMode cannot be turned on when the back-end is 'wpa_supplicant'. Co-authored-by: Manuel A. Fernandez Montecelo <mafm@igalia.com>
21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
Copyright © 2023 Collabora Ltd.
|
|
Copyright © 2024 Valve Software
|
|
Copyright © 2024 Igalia S.L.
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
this software and associated documentation files (the “Software”), to deal in
|
|
the Software without restriction, including without limitation the rights to
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
of the Software, and to permit persons to whom the Software is furnished to do
|
|
so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|