From 23de03a0c8bf8a564cc0442f49d050ed11e372b8 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 29 Jun 2026 11:36:57 +0100 Subject: New upstream version 6.0.25.33.1+repack --- asmstrucs.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'asmstrucs.h') diff --git a/asmstrucs.h b/asmstrucs.h index 0fd608a..5e7fb29 100644 --- a/asmstrucs.h +++ b/asmstrucs.h @@ -243,6 +243,8 @@ typedef struct ROUTE int SRTT; // Smoothed RTT int NeighbourSRTT; // Other End SRTT int RTTIncrement; // Average of Ours and Neighbours SRTT in 10 ms - smoothed neighbor transport time (SNTT) in spec + int TXRTTIncrement; // RTT to add before sending RIF. Zero if latest code, RTTIncrenent if older + int STTAtLastChange; // Last value used to update Node TTs int BCTimer; // Time to next L3RTT Broadcast int Timeout; // Lost Response Timer int Retries; // Lost Response Count @@ -517,8 +519,8 @@ typedef struct DEST_LIST int DEST_RTT; // SMOOTHED ROUND TRIP TIMER int DEST_COUNT; // FRAMES SENT + USHORT LastTT; // Last INP3 Value sent. This is our value, which we now send - uint16_t * RouteLastTT; // Last time sent should be saved for each neighbour. Area is mallod'ed as needed } dest_list; @@ -640,10 +642,10 @@ typedef struct PORTCONTROL UCHAR AVSENDING; // LAST MINUTE UCHAR AVACTIVE; - char PktFlags[64]; // Decode stts rom QtSM + char PktFlags[64]; // Decode stats from QtSM char PORTTYPE; // H/W TYPE - // 0 = ASYNC, 2 = PC120, 4 = DRSI + // 0 = ASYNC, 2 = LORA, 4 = DRSI // 6 = TOSH, 8 = QUAD, 10 = RLC100 // 12 = RLC400 14 = INTERNAL 16 = EXTERNAL @@ -740,12 +742,24 @@ typedef struct PORTCONTROL int QtSMPort; BOOL QtSMConnected; + int QtSMFreq; // From KISS reporting of QtSM info + char QtSMModem[21]; + unsigned char Version[4]; + unsigned char fx25Flags; + unsigned char il2pFlags; + unsigned char il2pcrc; + int StatsPointer; UCHAR * TX; // % Sending UCHAR * BUSY; // % Active (Normally DCD active or TX) int Hardware; // TNC H_TYPE. Copied here for access from application context int isRF; // For API reporting. -1 is unspecified + + int FREQ; // Lora config + int BW; + int SF; + int CR; int SENDRIFTIMER; time_t LastRIFTime; -- cgit v1.2.3