This reverts commit 500d58e5bf59e25ec973c6f635c6cf292c7a65ad.
Revert "ui/network: refresh IP address on connect"
This reverts commit 866c41a9249f98460436bae26def13be8c03a4fc.
old-commit-hash: 74a0a8f7b7
* fix connecting not show
* clear connect state
* pass network by value
* add comment
* move pass by value to anoter pr
* should always use function to set connecting_to_network
* remove connecting when forgetting
* out here
* can't do this :(
* Revert "can't do this :("
This reverts commit e06145202d.
Revert "out here"
This reverts commit 8ca7b47a28.
Revert "remove connecting when forgetting"
This reverts commit 671db0b5e7.
Revert "should always use function to set connecting_to_network"
This reverts commit a220b518fa.
* makes sense to keep this the same
* not in between slots
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9fe3df5d75
* 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
We can now enable tethering on the device. The user still has to reconnect to the wifi network after disabling tethering, the network manager is lazy.
old-commit-hash: ec671d4741
We now detect wrong passwrods and request the correct password from the user. We also write "CONNECTING" if we are actively connecting to a network.
For a tiny usability upgrade, we now display "Refreshing networks" text, while loading the wifi networks available around us.
old-commit-hash: 7d37793434
* qt wifi
Squashed commit of the following:
commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 19:31:30 2020 +0100
try to collect security type
commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 16:06:55 2020 +0100
add a function for refresh
commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date: Fri Oct 30 11:14:23 2020 +0100
allow compilation
commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Wed Oct 21 14:12:05 2020 +0200
dont build keyboard
commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Tue Oct 20 18:22:07 2020 +0200
kind of works
commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Oct 19 11:22:55 2020 +0200
remove button and text field
commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:31:26 2020 +0200
try lineedit
commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:01:18 2020 +0200
add dialog test button
commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:36:10 2020 +0200
Only show one if both 2.4 and 5 Ghz found
commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:24:16 2020 +0200
Sort networks by strength
commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:59:39 2020 +0200
Handle currently connected AP
commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:38:18 2020 +0200
Add todo
commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:37:35 2020 +0200
Implement scan method
commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:29:03 2020 +0200
show list of wifi networks
* add to settings
* no wifi on pc
* refactor get_property
* refactor WiFi, split between UI and network manager stuff
* renaming
* refresh works
* refactor
* forgot to git add
* connecting works again
* print connection error on weird networks
* extract adapter path
* found networks
* Deleting existing connections to SSID we are trying to connect to
* have paths of active connections
* mvp
* fix review
* qt wifi
Squashed commit of the following:
commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 19:31:30 2020 +0100
try to collect security type
commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 16:06:55 2020 +0100
add a function for refresh
commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date: Fri Oct 30 11:14:23 2020 +0100
allow compilation
commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Wed Oct 21 14:12:05 2020 +0200
dont build keyboard
commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Tue Oct 20 18:22:07 2020 +0200
kind of works
commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Oct 19 11:22:55 2020 +0200
remove button and text field
commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:31:26 2020 +0200
try lineedit
commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:01:18 2020 +0200
add dialog test button
commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:36:10 2020 +0200
Only show one if both 2.4 and 5 Ghz found
commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:24:16 2020 +0200
Sort networks by strength
commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:59:39 2020 +0200
Handle currently connected AP
commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:38:18 2020 +0200
Add todo
commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:37:35 2020 +0200
Implement scan method
commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:29:03 2020 +0200
show list of wifi networks
* add to settings
* no wifi on pc
* refactor get_property
* refactor WiFi, split between UI and network manager stuff
* renaming
* refresh works
* refactor
* forgot to git add
* connecting works again
* print connection error on weird networks
* extract adapter path
* found networks
* Deleting existing connections to SSID we are trying to connect to
* have paths of active connections
* mvp
* fix review
* fix bugs
* fix text color
* colors
* wider button
* show connected network first
* fix sorting
* remove hack
* sorting
* auto refresh
* only refresh when widget is visible
* scan once on startup
* dont open dialog on qcom2
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: grekiki <gregor1234567890@gmail.com>
old-commit-hash: f93bca98ae