36 Commits
Author SHA1 Message Date
Patrick Nicolas 8738131fb1 Native USB networking for Quest
Requires Horizon OS >= 2.6
2026-08-29 12:33:59 +02:00
Patrick Nicolas 26f21348f3 Export current client tab on dbus 2026-03-14 18:20:32 +01:00
Sapphire a3c7a604e0 Pass session and stop token through reconnect flow 2025-12-31 00:59:36 -06:00
Sapphire fb3f7a1599 Update monado 2025-11-15 20:34:57 +01:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
Patrick Nicolas 169e8bf206 Check protocol compatibility on handshake 2025-06-17 09:31:30 +02:00
Guillaume Meunier 5cf1697c5d Fix connection issue when several network interfaces are connected on the same network 2025-04-27 16:03:27 +02:00
Guillaume Meunier 57a0cf1d4b Display the last connection time in dashboard/wivrnctl 2025-03-25 21:15:01 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas 68d59cfa92 Set timeout for pin enter to 2 min 2025-01-05 14:48:54 +01:00
Guillaume Meunier 043a673c59 Add a delay before allowing the next connection if the wrong PIN is entered 2024-12-02 17:54:47 +01:00
Guillaume Meunier fe10178add Check the PIN when pairing 2024-12-01 17:25:28 +01:00
Patrick Nicolas 79b1924b45 Fix tcp-only when initiated by client 2024-11-29 13:35:27 +01:00
Patrick Nicolas 954b5a7038 rename enroll -> pair 2024-11-26 23:59:35 +01:00
Guillaume Meunier 5f39447d38 Show an error message if pairing is disabled and the headset is unknown 2024-11-26 23:59:35 +01:00
Guillaume Meunier 59192bac6c Only allow pairing a headset if no headset is known or if it is explicitly asked for 2024-11-26 23:59:35 +01:00
Guillaume Meunier 2778f7dd7e Allow disabling encryption on the server command line 2024-11-26 23:59:35 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Guillaume Meunier 447b77c35c Add OpenSSL 2024-11-26 23:59:35 +01:00
Patrick Nicolas efe19824c5 Shutdown sockets on connection close 2024-11-14 18:18:59 +01:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
Patrick Nicolas 41994b4e6e Don't set ToS on sockets 2024-07-09 18:08:55 +02:00
Patrick Nicolas 3a5404d191 Reconnection support 2024-06-03 20:59:03 +02:00
Patrick Nicolas 0ce74f5e80 Add an option for TCP-only mode 2024-05-16 17:44:49 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Patrick Nicolas f7a7011e28 Use correct value for expedite forwarding TOS 2024-01-03 11:05:49 +01:00
Patrick Nicolas 94e60d4e8b Use same packet definitions for both sockets 2023-12-16 14:16:47 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas bd8183bbd2 Set send buffer size 2023-11-22 00:00:55 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas 3473f00e0c Add expedited forwarding ToS flag in stream socket 2023-10-20 11:27:23 +02:00
Guillaume Meunier d8811b6b93 Use a different port for the client and the server 2022-11-13 14:45:45 +01:00
Guillaume Meunier 4baf2b17eb move stuff in common, clang-format, update copyright 2022-11-13 11:00:04 +01:00
Guillaume Meunier 294c4f81ba Add server source, originally in monado 2022-11-12 23:59:28 +01:00