Commit Graph
52 Commits
Author SHA1 Message Date
Francis Tsui f42933f7d9 Deprecate kEnableWifiLanAddressCandidates flag.
PiperOrigin-RevId: 871447144
2026-02-17 12:38:45 -08:00
Francis Tsui fc510085e6 Increase Wi-Fi connection timeout to 700ms.
PiperOrigin-RevId: 865597140
2026-02-04 15:05:56 -08:00
Francis Tsui bf6ed702db Add reg key to disable mDNS advertising.
PiperOrigin-RevId: 852976950
2026-01-06 16:18:04 -08:00
Francis Tsui 1b557236f7 Log interface count and IPv6 only interface count during wifi upgrade.
PiperOrigin-RevId: 852845375
2026-01-06 10:45:13 -08:00
Francis Tsui ffa760663b Change NetworkInfo to use SocketAddress.
PiperOrigin-RevId: 850164819
2025-12-29 14:44:35 -08:00
Francis Tsui e8d639028f Deprecate enable_mdns_ipv6 flag.
PiperOrigin-RevId: 846835528
2025-12-19 12:55:17 -08:00
Francis Tsui d53613f38e Update SocketAddress
PiperOrigin-RevId: 845291189
2025-12-16 08:42:23 -08:00
Francis Tsui b8d9389673 Deprecate enable_ipv6_dual_stack flag.
PiperOrigin-RevId: 844925341
2025-12-15 14:40:21 -08:00
Francis Tsui d262f64219 Fix issue with Wifi lan upgarde when EnableWifiLanAddressCandidates flag is not enabled.
PiperOrigin-RevId: 843349061
2025-12-11 13:23:21 -08:00
Francis Tsui 03ae6b1be1 Switch various WifiLanMedium connect methods to use ServiceAddress.
PiperOrigin-RevId: 843241925
2025-12-11 08:52:53 -08:00
Francis Tsui cffc8b2c57 Fix include files.
PiperOrigin-RevId: 842876174
2025-12-10 14:15:58 -08:00
Francis Tsui 4652aef48c WifiLan::Change GetUpgradeAddressCandidates to use ServiceAddress.
PiperOrigin-RevId: 842257461
2025-12-09 08:48:31 -08:00
Francis Tsui fcee77457f Add flag to control sending address candidates in WifiLan upgrade message.
PiperOrigin-RevId: 831563192
2025-11-12 15:29:37 -08:00
Francis Tsui 600eb80df0 Add connect timeout to NearbyClientSocket.
PiperOrigin-RevId: 828703670
2025-11-05 17:55:12 -08:00
Francis Tsui e5de080c6a Remove unused code.
PiperOrigin-RevId: 826748749
2025-10-31 22:28:20 -07:00
Francis Tsui 9739bc9caf Do not clear our own mDNS instance name when advertising is stopped.
PiperOrigin-RevId: 825684191
2025-10-29 13:29:12 -07:00
Francis Tsui 8622fe7bf5 Provide IP address candidate list for LAN upgrade.
PiperOrigin-RevId: 825584250
2025-10-29 09:37:19 -07:00
Francis Tsui 59a038a0c3 Add flag to enable using IPv6 mDNS addresses
PiperOrigin-RevId: 823151853
2025-10-23 12:51:25 -07:00
Francis Tsui bd21843464 Read IPv6 address from mDNS record.
PiperOrigin-RevId: 822743670
2025-10-22 14:35:56 -07:00
Francis Tsui ca82b68dfe Switch to SocketAddress in Windows impl.
PiperOrigin-RevId: 820862441
2025-10-17 16:11:07 -07:00
Francis Tsui 7ccc8ff57e Add flag to enable ipv6 dual stack support.
PiperOrigin-RevId: 820773346
2025-10-17 11:45:38 -07:00
Guogang Li 1093ee2794 Avoid discovering itself on Wi-Fi
PiperOrigin-RevId: 805093445
2025-09-09 15:49:05 -07:00
Francis Tsui b17a83ae34 Fix IP address in wifi lan upgrade path info.
PiperOrigin-RevId: 803636066
2025-09-05 16:06:41 -07:00
Francis Tsui beaab63d4b Cleanup blocking socket flag.
PiperOrigin-RevId: 803211100
2025-09-04 16:06:01 -07:00
Francis Tsui d25872b2e0 Listen to incoming lan connection on all interfaces.
PiperOrigin-RevId: 803177100
2025-09-04 14:31:15 -07:00
Francis Tsui b255a7c63f Remove unnecessary log statements.
PiperOrigin-RevId: 800233284
2025-08-27 17:34:58 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Guogang Li b8246abbe4 Fixed the potential advertising issue in Wi-Fi LAN
PiperOrigin-RevId: 774961389
2025-06-23 16:05:39 -07:00
Guogang Li e047aeb341 Handle failure to stop mDNS
PiperOrigin-RevId: 748865989
2025-04-17 17:36:13 -07:00
Guogang Li 4b8ea5db74 Support blocking socket in Wi-Fi LAN medium
PiperOrigin-RevId: 717979860
2025-01-21 10:40:00 -08:00
Guogang Li 37d7dc19de Change the method to stop Wi-Fi LAN advertising
PiperOrigin-RevId: 684905306
2024-10-11 11:40:34 -07:00
Eiden Kim 25d4aca219 Update wstring converter
PiperOrigin-RevId: 682112846
2024-10-03 18:32:59 -07:00
Guogang Li 47f2dfec28 Removed platform types dependency from windows platform codes
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
Guogang Li e4c1f9aa24 Fixed the issue of using CancellationFlagListener
PiperOrigin-RevId: 526154394
2023-04-21 15:41:43 -07:00
Guogang Li 3432c829e1 Fixed crash during devices scanning
PiperOrigin-RevId: 522457603
2023-04-06 15:47:45 -07:00
Guogang Li 78145f4433 Fixed crash during devices scanning
PiperOrigin-RevId: 518127975
2023-03-20 18:03:49 -07:00
Guogang Li 350e76e690 Add flag to control connection timeout feature
PiperOrigin-RevId: 500822176
2023-01-09 15:26:59 -08:00
Guogang Li 06713fe918 Log Bluetooth connection status change
PiperOrigin-RevId: 500228494
2023-01-06 15:09:34 -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 73c1fba668 Added connection timeout for Wi-Fi Lan and hotspot
PiperOrigin-RevId: 495155204
2022-12-13 16:25:16 -08:00
Guogang Li 43fab95a3a Refactor Wi-Fi discovery
PiperOrigin-RevId: 493417873
2022-12-06 14:47:34 -08:00
Guogang Li da4ac95e82 Check connectivity before report Wi-Fi discovery
PiperOrigin-RevId: 492570605
2022-12-02 15:10:31 -08:00
hai007 88d5cb9fdd Support multiple simultaneous server sockets for WLAN
PiperOrigin-RevId: 490596563
2022-11-23 15:31:38 -08:00
Guogang Li c499d18af6 Parse remote device IP address from text attributes first
PiperOrigin-RevId: 490324278
2022-11-22 13:37:21 -08:00
hai007 6b5251f8d2 Don't add WIFI_LAN device if it's device info is incomplete or has error
PiperOrigin-RevId: 474162548
2022-09-13 17:16:53 -07:00
guogang 5df9ef5eca Removed API mutex from platform implementation.
PiperOrigin-RevId: 465635705
2022-08-05 13:31:05 -07:00
hai007 6ebf3731c8 Add WifiLan validation check
PiperOrigin-RevId: 452402734
2022-06-01 15:51:06 -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
hai007 eadc972af3 Fix BWU crash problem because WIFI_LAN create socket based on IPV6.
PiperOrigin-RevId: 432222945
2022-03-03 10:16:22 -08:00
guogang e0bb166c62 Use 4 bytes string as IP address in NsdServiceInfo
PiperOrigin-RevId: 431543437
2022-02-28 15:44:41 -08:00