Commit graph

61 commits

Author SHA1 Message Date
Nonoo bbcde03608 Restructure status log handling 2020-10-28 18:03:35 +01:00
Nonoo 0939fe2bb4 Send the deauth packet multiple times, as there will be no time for a retransmit during deinit 2020-10-28 16:37:08 +01:00
Nonoo d9d1c9522b Add realtime status line 2020-10-28 10:15:13 +01:00
Nonoo 826576ba75 Further increase connect reliability 2020-10-28 10:14:06 +01:00
Nonoo ffd14d6a2a Make the connection process more reliable 2020-10-28 09:47:18 +01:00
Nonoo bb1b04caae Cleanup 2020-10-27 09:25:36 +01:00
Nonoo b86459b244 Cleanup 2020-10-26 19:46:08 +01:00
Nonoo d3ddee359a Report packet loss percentage in status 2020-10-26 15:17:16 +01:00
Nonoo d43350b59d Print used bandwidth in status 2020-10-26 14:59:49 +01:00
Nonoo 1ea0400d8d Lower reauth interval 2020-10-26 11:33:42 +01:00
Nonoo 765fa761f7 Display auth timeout warning 2020-10-26 11:32:21 +01:00
Nonoo c0ee75d80d Lower reauth interval 2020-10-26 10:49:54 +01:00
Nonoo f42efc1f04 Use some constants 2020-10-26 10:33:24 +01:00
Nonoo 18b6e1f827 Speed up connecting 2020-10-26 09:28:47 +01:00
Nonoo 187449b8cb Fix unneeded error reporting 2020-10-26 09:26:21 +01:00
Nonoo 49d6fcab4b Restructure stream inits 2020-10-26 09:13:30 +01:00
Nonoo d2efa14e9c Move log into the main package 2020-10-26 09:09:30 +01:00
Nonoo 1372598279 Convert some loglevels 2020-10-26 09:01:39 +01:00
Nonoo d764108359 Move common stuff 2020-10-26 08:56:30 +01:00
Nonoo f28a0b46cb Completely handle retransmit requests 2020-10-25 20:18:24 +01:00
Nonoo 20d9c287d3 Deinit audio last because it is the most problematic deinit (pulseaudio...) 2020-10-25 15:39:41 +01:00
Nonoo 3731871cc7 Add detection of radio poweroff 2020-10-25 10:55:05 +01:00
Nonoo 334583ce44 Move pkt0 out of the control stream module 2020-10-25 10:53:46 +01:00
Nonoo 3521a26908 Always send a control stream deauth if we can on deinit 2020-10-24 09:29:56 +02:00
Nonoo c2a62fada1 Remove unused var 2020-10-23 23:42:40 +02:00
Nonoo 7327ff3215 Use previous SIDs if we get an unexpected serial/audio req. success 2020-10-23 23:41:56 +02:00
Nonoo efd81c9568 Don't double send non-important packets 2020-10-23 23:21:30 +02:00
Nonoo bbddf769b0 Add deauth on disconnect 2020-10-23 23:18:37 +02:00
Nonoo 89c57a6a6e Make the login process more reliable 2020-10-23 22:52:14 +02:00
Nonoo 1d1ea6ea44 Rework login 2020-10-23 18:36:47 +02:00
Nonoo e9d71de2c4 Add delayed deinit 2020-10-23 16:20:09 +02:00
Nonoo f79d23f755 Add support for restarting the whole process on failure 2020-10-23 14:00:59 +02:00
Nonoo 9dbd5760ce Use radio name for pulse dev description 2020-10-21 16:09:10 +02:00
Nonoo 6f512cfaf3 Readd mistakenly removed func 2020-10-21 15:44:16 +02:00
Nonoo fc0a7ba29d Move disconnect send to the common stream close function 2020-10-21 15:42:59 +02:00
Nonoo ee7a180292 Update magic byte in the serial/audio stream open packet 2020-10-21 15:27:47 +02:00
Nonoo 06c8e900cb Use a slower login method 2020-10-21 15:27:40 +02:00
Nonoo 53097212f6 Duplicate each control packet sent to the radio 2020-10-21 15:05:28 +02:00
Nonoo 7324124545 Only report status if serial and audio streams are open 2020-10-21 14:03:11 +02:00
Nonoo 8943ff3627 Add serial stream 2020-10-20 23:26:05 +02:00
Nonoo 35c0a40b1c Fix null pointer access 2020-10-20 22:16:19 +02:00
Nonoo 0678ac84bb Turn off ping timeout checks 2020-10-20 19:47:25 +02:00
Nonoo fee78c2172 Make radio init more reliable 2020-10-20 19:46:20 +02:00
Nonoo 91166ca937 Use the exit handler 2020-10-19 09:45:49 +02:00
Nonoo daadeacdfa Use different initial auth inner send seqnum 2020-10-18 23:36:40 +02:00
Nonoo ff4a4e32b5 Fix audio stream disconnect 2020-10-18 23:36:26 +02:00
Nonoo 6f2826c134 Cleanup 2020-10-18 21:35:36 +02:00
Nonoo 5037ce56f2 Send disconnect on startup if stream is still active 2020-10-18 18:34:22 +02:00
Nonoo dec1be0c41 Move pkt7 handling to a separate file 2020-10-18 14:21:58 +02:00
Nonoo 4612aaeba3 Rewrite missing packet calculation 2020-10-18 13:52:38 +02:00