Commit Graph

23 Commits

Author SHA1 Message Date
Alexandre Nobuharu Sato 427a61ab12 fix Wi-FI typo on networking.cc (#35350) 2025-05-26 13:07:56 -07:00
Shane Smiskol f38a98fc09 Metered Wi-Fi toggle (#35293)
* draft

* here too

* fixes

* fix

* ugh more fix, wifiManager is craze

* more

* be optimistic and let refresh happen naturally, the immediate refresh causes some paths/active connect to temporarily be unavailable

selfdrive/ui/qt/network/wifi_manager.cc: DBus call error: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the re
ply timeout expired, or the network connection was broken."
selfdrive/ui/qt/network/wifi_manager.cc: DBus call error: "Object path cannot be empty"

* nm is slow -- it takes 2s to commit to disk, and dbus errors are raised if you try again while previous is running (this is an ubuntu 24.04 bug)

* nice experience

* rm

* minor

* clean up

* self-explanatory

* rename

* rm this too

* revert

* draft

* Revert "draft"

This reverts commit 15283d977880fc60b8f9732772256e8337d6ac8e.

* Reapply "draft"

This reverts commit 8629921b0086ca71b88746d77ec7b8d3af3cd289.

* rm colors

* trinary, bit more code

* choose default when disabled

* only if enabling, wait for disable as normal

* remove original binary toggle

* clean up

* collapse

* clean up wifimanager

* update comment

* lite is a word
2025-05-21 20:45:47 -07:00
Cameron Clough ec208f2d3d cleanup selfdrive/assets (#35241)
* remove unused assets

* these are icons

* these are images

* fix

* fix

* Revert "remove unused assets"

This reverts commit 95d1a800de7e830df15d88e8e329aeadd4548b2f.

* move these too
2025-05-16 00:26:13 +01:00
Shane Smiskol 2619732d9f Fix tethering connection disabling internet (#35075)
* fix

* this is ignored in this networkmanager

* whoop
2025-04-25 16:49:09 -07:00
Dean Lee d40fd1956d wifimanager: use asyncCall to avoid timeout when adding connections (#34273)
* use asyncCall to avoid timeout when adding Wi-Fi connections

* use async call for addTetheringConnection

* only this change

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-12-17 14:48:08 -08:00
Shane Smiskol 857133635c ui: wait for lte connection to update before reactivating (#34275)
async
2024-12-17 14:35:43 -08:00
Shane Smiskol f149083e4a ui: initialize tethering connection on startup (#34274)
* initialize hotspot connection on init

* better place

* fix
2024-12-17 14:25:31 -08:00
Alexandre Nobuharu Sato 72a88c9319 Add Developer Panel in Settings (#33828)
* hello world

* hello btn

* add ssh toggles

* split out developer panel code

* test this

* fix

* add ZMQ button

* add developer panel case to bot autogen screenshots

* give up bridge

* fix CI (generate screenshots)

* change from btn to toggles and interlock protection

* duplicated

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-10-25 17:37:15 -07:00
Dean Lee 3c5d8da469 ui: show tethering status in sidebar (#33786)
show tethering status on sidebar
2024-10-14 14:48:26 -07:00
Dean Lee 343de54030 ui: consolidate prime state management into PrimeState Class (#33473)
new class PrimeState
2024-09-09 14:34:11 -07:00
Dean Lee a529422db0 ui: add prefix PRIME_TYPE_ to PrimeType enum values (#33371)
Add Prefix PRIME_TYPE_ to PrimeType Enum Values
old-commit-hash: 4bb00a042a7f0e60f42d4311805921b41395de83
2024-08-25 09:44:18 -07:00
Dean Lee e93860f844 ui/network: add error handing for dbus call (#32164)
old-commit-hash: d7d378aeefb10b9194e14534b075615216b117af
2024-04-24 20:16:02 -07:00
Dean Lee e4d0f6da24 ui/network: add error handling for refreshFinished (#32167)
old-commit-hash: 3bcb6f82afa47405d70a3cfd6bfe7eab2fceb1b4
2024-04-24 20:15:37 -07:00
Dean Lee 2fa5b234b7 ui/network: simplify getActiveConnections (#32174)
old-commit-hash: 6de5e0d71a60d307513b3eb3cfdadcb8f8ae145c
2024-04-16 22:25:17 -07:00
Dean Lee 31f5956c49 ui/network: initialize raw_adapter_state to NM_DEVICE_STATE_UNKNOWN (#32175)
old-commit-hash: e9965c87d31af7dc5ea3b2fc28574eaf523b574e
2024-04-14 17:52:59 -07:00
Dean Lee 164ae65250 ui/network: update known connections after adding tethering connection. (#32166)
update known connections
old-commit-hash: 40b061cd51078c3ca3a0f58ccfce6a9078fb08ef
2024-04-14 17:52:20 -07:00
Dean Lee 841e39042c ui/network: fix typos (#32163)
old-commit-hash: e66ded444c643a9e0c875751a601f00a2d85b50a
2024-04-11 10:43:20 -07:00
Mauricio Alvarez Leon 790c336218 Add autoconnect support for hidden WiFi networks (#31789)
* add autoconnect to WifiManager::connect

* set wifi/hidden to true

* typo

* add condition to only set connection[wireless][hidden] to true when connecting to a hidden network

* default false value for is_hidden
old-commit-hash: 1b6178a77d723fc4b96c5010f0d37164f98ecd27
2024-03-10 10:11:41 -07:00
royjr 244396e23c networking: add hidden network option (#30808)
* init

* once

* match

* fix

* maybe

* maybe

* Revert "maybe"

This reverts commit 8386a0a381d5cfe94d7bbf0187d5e311d4b4e9c3.

* Revert "maybe"

This reverts commit 3abf7b19836e5f353fbb94c9bee52b185bd3fc17.

* Revert "fix"

This reverts commit 09e0146f4deeac07b9c26e916a75b70c7dcff1f1.

* Revert "match"

This reverts commit 39a90c6cf88f310623d5e9058152d025ee7213ea.

* fix not at bottom

* padding

* match

* Update networking.cc

* min chars

* translations

* shouldn't need

* need!

* just in case

* Revert "just in case"

This reverts commit a3c1e090682e30400ba9c20b04407b9e5677ad7a.

* finish translations

* not secret

* optional

* allow open networks

* fix

* try

* working

* add divider

* update translations

* fix

* better name

* translate hidden network

* auto

* v2

* remove v1

* fix

* fix translations
old-commit-hash: 96c91c486e9b39c11632691fe5761975d9aa53b6
2024-01-11 19:42:20 -08:00
Andrei Radulescu 2c7427c203 wifiManager: fix for lteConnectionPath not set on boot (#30517)
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b75cdd15422d8716390ff981102fdbd290770b75
2023-12-17 11:07:48 -08:00
Jason Wen 389fd34859 ui: Always display Wi-Fi list when navigating to Network panel (#30333)
* ui: Display Wi-Fi list when navigate to Network panel

* pertain to PR description
old-commit-hash: 0eea00e887e9e480ea976ccc2eeed1671b2a494d
2023-10-29 07:06:34 -10:00
Dean Lee d5dba43885 ui/networkmanager: add #pragma once (#29678)
#pragma once
old-commit-hash: a49dfa2969df29d49e7bd1d9dbfeb2627c5c398c
2023-08-28 11:40:51 -07:00
Dean Lee 875b160fc6 ui/network: move to selfdrive/ui/qt/network/ (#29656)
* move to ui/qt/network

* wifimanager->wifi_manager
old-commit-hash: 125bd2cd9ef930f23c8d435ccf2a76b91228abe8
2023-08-27 15:23:19 -07:00