fix: airtime LDRO threshold must track driver (was BW-blind sf>=11)

getEstAirtimeFor() set LDRO from `sf >= 11`, correct only at BW125. Now
matches the driver's should_enable_ldro() (t_sym > 16.38 ms) so the
estimate's DE tracks hardware DE on every SF/BW. Also drop dead
calcRxDelay() + unused MAX_RX_DELAY_MILLIS.
This commit is contained in:
liquidraver committed 2026-05-29 15:48:48 +02:00
1 parent ea27b93ac5
commit 7d7a64ff5a
4 files changed
+6 -20

No files matched your search

-1
View File
@@ -84,7 +84,6 @@ protected:
virtual const char *getLogDateTime() { return ""; }
virtual uint8_t getDutyCyclePercent() const;
static bool isAdminPacket(const Packet *pkt);
virtual int calcRxDelay(float score, uint32_t air_time) const;
virtual uint32_t getCADFailRetryDelay() const;
virtual uint32_t getCADFailMaxDuration() const;
virtual int getInterferenceThreshold() const { return 0; }