Commit Graph
40 Commits
Author SHA1 Message Date
Francis Tsui beaab63d4b Cleanup blocking socket flag.
PiperOrigin-RevId: 803211100
2025-09-04 16:06:01 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Guogang Li 681284c576 Cleanup enable_wifi_hotspot_native flag
PiperOrigin-RevId: 747546014
2025-04-14 13:30:38 -07:00
Guogang Li 0575cbd155 Make sure got IP from hotspot
PiperOrigin-RevId: 721907499
2025-01-31 14:39:59 -08:00
Guogang Li b0be56bec8 Support blocking socket in Wi-Fi hotspot medium
PiperOrigin-RevId: 718006644
2025-01-21 11:42:56 -08:00
Guogang Li 5bceb997c8 Fixed the transfer speed issue from Android to Windows
PiperOrigin-RevId: 716297509
2025-01-16 10:55:32 -08:00
Guogang Li 694a722d2c Keep existing Wi-Fi hotspot device when having new connection comes in
PiperOrigin-RevId: 714130787
2025-01-10 12:09:02 -08:00
Guogang Li 0a69343ca1 Support Wi-Fi hotspot client using native API
PiperOrigin-RevId: 703131016
2024-12-05 08:56:06 -08:00
hai007 9b4a4da7d2 [Nearby Windows][Hotspot] Store the Hotspot SSID to a file in case the APP get close unexpected.
PiperOrigin-RevId: 676945569
2024-09-20 13:10:21 -07:00
Guogang Li 6707efeed8 internal refactor
PiperOrigin-RevId: 676552917
2024-09-19 13:58:21 -07:00
Guogang Li 47f2dfec28 Removed platform types dependency from windows platform codes
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
hai007 601ca32370 [Nearby Windows][Hotspot] Fix the issue that the Hotspot profile is not deleted correctly in client side after the Hotspot connection.
PiperOrigin-RevId: 675771020
2024-09-17 17:38:03 -07:00
hai007 744219b1e6 Fix Intel PIE bugs and update test code
PiperOrigin-RevId: 598965857
2024-01-16 14:54:48 -08:00
hai007 6ebe52a418 Add Intel PIE based API to set Hotspot client scan channel
PiperOrigin-RevId: 586019580
2023-11-28 10:09:16 -08:00
hai007 42043ee856 Add more log for Intel PIE API calling
PiperOrigin-RevId: 578409693
2023-10-31 23:20:48 -07:00
hai007 d477a2d174 Apply GO frequency to NC that queries from Intel PIE SDK
PiperOrigin-RevId: 569558266
2023-09-29 12:25:01 -07:00
Guogang Li 0c1d5e7e23 Applied flags to Wi-Fi Hotspot parameters
PiperOrigin-RevId: 540432082
2023-06-14 18:00:52 -07:00
Guogang Li 5ae556499b Fixed the deadlock issue in hotspot
PiperOrigin-RevId: 540283852
2023-06-14 08:52:59 -07:00
Guogang Li e4c1f9aa24 Fixed the issue of using CancellationFlagListener
PiperOrigin-RevId: 526154394
2023-04-21 15:41:43 -07:00
hai007 4e5f5ed341 Refactor WinRT socket to Win32 socket for Hotspot Server Socket for lower latency
PiperOrigin-RevId: 516905639
2023-03-15 13:00:02 -07:00
Guogang Li 0c336e12b9 Log more information for connection error in Wi-Fi hotspot
PiperOrigin-RevId: 505840790
2023-01-30 17:18:18 -08:00
Guogang Li 79834a0ee0 Reduce IP check interval and put more logs for Wi-Fi hotspot
PiperOrigin-RevId: 502698293
2023-01-17 15:04:01 -08:00
Guogang Li 350e76e690 Add flag to control connection timeout feature
PiperOrigin-RevId: 500822176
2023-01-09 15:26:59 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Guogang Li ad9c26ec90 Adjust the timeout value for Wi-Fi hotspot
PiperOrigin-RevId: 495389634
2022-12-14 12:44:27 -08:00
Guogang Li 73c1fba668 Added connection timeout for Wi-Fi Lan and hotspot
PiperOrigin-RevId: 495155204
2022-12-13 16:25:16 -08:00
hai007 9425ba7fd6 Add Try/Catch for Hotspot methods
PiperOrigin-RevId: 490397928
2022-11-22 20:14:19 -08:00
hai007 dba1deab3c Check if the stored WIFI network is exist before restore WIFI connection
PiperOrigin-RevId: 487585021
2022-11-10 10:59:13 -08:00
hai007 219f9b75e1 Restore the WIFI connection when connecting to Hotspot fails.
PiperOrigin-RevId: 486809154
2022-11-07 17:44:06 -08:00
Eiden Kim 7350643c36 Update Prng usage so that it can generate random values on different threads.
PiperOrigin-RevId: 478025630
2022-09-30 10:31:27 -07:00
hai007 ad93e1f47b Retry the Hotspot IP address query procedure
PiperOrigin-RevId: 477592843
2022-09-28 17:26:17 -07:00
hai007 01a4daffd2 Check the WiFiDirect support with Win32 API
Close the WiFi Handle after open it

PiperOrigin-RevId: 469602395
2022-08-23 18:02:15 -07:00
hai007 fa92234b7c Restore the previous WIFI connection for client after disconnect from Hotspot.
PiperOrigin-RevId: 467009808
2022-08-11 11:42:28 -07:00
hai007 2d979fd86c Create a Device Object for Hotspot Client to avoid being disconnected by Hotspot.
Without creating a Device Object for the connection from a Hotspot Client, [Microsoft-Windows-WLAN-AutoConfig] may think it is a malign device and will disconnect it after 2 minutes, which will also causes Hotspot being deleted eventually.

PiperOrigin-RevId: 466395817
2022-08-09 10:18:50 -07:00
guogang 698b04184a Fixed a few issues found during test
PiperOrigin-RevId: 457604581
2022-06-27 17:30:37 -07:00
xlythe 62fc7e1e24 [Connections] Fix typo in log
PiperOrigin-RevId: 453992571
2022-06-09 13:00:55 -07:00
hai007 1aeb1093a9 Delete temporary Hotspot profiles after the session is done.
Reduce max rescan from 3 to 2 times. Experiment shows if second time scan fail, it always fail to find the Hotspot.

PiperOrigin-RevId: 453729656
2022-06-08 11:39:32 -07:00
hai007 fe27ea822a Change comment "WIFI" to "WiFi"
PiperOrigin-RevId: 451659534
2022-05-28 14:48:55 -07:00
hai007 37b0c31319 Add Wifi Hotspot AP and Client validation check
PiperOrigin-RevId: 451492039
2022-05-27 15:20:36 -07:00
hai007 93f203dc0b WIFI Hotspot implementation (3)
Part 3: WIFI Hotspot platform code for Windows

PiperOrigin-RevId: 441826092
2022-04-14 12:31:07 -07:00