* Store prime type in param
* set tethering metric based on prime type
* update existing connections
* returning zero is fine
* always set
* add callback on activate
* call systemctl
* match server enum
* add delay
* assume field is there
* snake case
old-commit-hash: 4e4cb07297
* Change APN from settings
* subtext
* one function
* bring connection down and up
* fix adapter type
* trim input
* fix scrolling in scanning state
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d898841e87
* roaming toggle
* clean up
* only tici
* fix order
* move to wifiManager
* should be working
* clean up
clean up
* use map icon
* move to advanced settings
* clean up
* temporarily change home-only
* keep setting for now
* set both to defaults in case ui doesn't start
* knownConnections stores conn names
* Revert "knownConnections stores conn names"
This reverts commit 4466a029a3.
* save lteConnectionPath instead
* use the if statement
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6fad0055b4
* debug known connections
* print type
* on mobile if no wifi and a sim card
* clean up
* debug primary connection
* network type
* not specifying current suggests you can pass it a path
* debug
debug
Revert "debug"
This reverts commit fe4748aa4df77449e1887685aa958ae2b89b88d0.
hotspot check
This reverts commit 5d2fc5f3bba45c87af8322766e426e8adee64ead.
Revert "Revert "Revert "debug"""
This reverts commit 6115204d5013ae5d613add92c1dded7a8f5cadbc.
hotspot check
* fixes
old-commit-hash: 905138054b
* refresh on show event
* setup fix
* show scanning message if no networks nearby
* setup isn't ready in 1 second, use signal again
* clean up
* clean up
* Update selfdrive/ui/qt/offroad/networking.cc
* Update selfdrive/ui/qt/offroad/networking.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cdc386d5bb
* Revert "Qt logging through cloudlog (#21452)"
This reverts commit c8c9177899ab187bc8f6c1216d0d80c37f2a7a28.
* set activeAp after scan so it's not blocking
* Revert "Revert "Qt logging through cloudlog (#21452)""
This reverts commit d9689a5505.
* clean up
* move to another PR
old-commit-hash: 648639787c
* populate password from hotspot connection
move to setup()
populate tethering password
fix password editing
setup tethering when editing password or enabling
fix
* fixes
* last fix, don't activate when adding
* check before
* if not
old-commit-hash: 146973da7f
* wait for adapter to initialize wifimanager
* clean up
* formatting
* don't try to use adapter when not available
* Revert "don't try to use adapter when not available"
This reverts commit 3887fc87eb.
* only tetheringEnabled for now
* request scan once adapter is up (prev behavior)
* populate introspection cache when we need it
populate introspection cache when we need it
old-commit-hash: 924e8d5c28
* Quicker refreshing and use connection signals
* Android remembers connections with incorrect passwords
* forget network on password incorrect
* knownConnections is already filled here
old-commit-hash: 01773c11f0
* refresh on UI init
* scan and wait for signal from networkmanager to update
* fixes incorrectPassword never triggering on known connections
* Update UI on connect state change
* pause timer on leaving networking
* no need to update adapter state on init
* uses AccessPoints signal
clean up
clean up
* Revert "uses AccessPoints signal"
This reverts commit 534219857a10dc200f979e1a66705ac13ca68698.
* perform non-blocking scan on first start only
* suggestions
* forgetNetwork already checks this
* Prevent double refresh on connect interaction and revert timer change
* Should fix nm is inactive error
* Revert "Should fix nm is inactive error"
This reverts commit 36a7ad098b713ae7e17cf1a8d717455ecdd29e2b.
* Fixup original timer code. could be cleaned up, but works
* use WifiManager's firstScan
* no more force!
* fix after rebase
fix after rebase
* scan for next update (seems clearer this way)
* see how responsive device is at scanning, PC is taking up to 15 seconds
* clean up and check ifVisible for scanning and UI updating
* explicitly define relationship since it's not called in Networking any more
old-commit-hash: a3a8fa9eac
* remember previous connections
* minor
* remove ssid_from_path
* abstract into function
* forgot one
* const
* add path_from_ssid function
* more clear what these do
* fix
* more clear
* structured binding test
* remove ssid_from_path
* fix name
* disconnect if connected
* let's just match the activate function in naming
* return if empty
* revert and clean up
old-commit-hash: 305786f0da
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570