This commit is contained in:
Jiro 2026-04-20 21:53:53 +10:00 committed by GitHub
commit 58eef2e792
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 143 additions and 17 deletions

View file

@ -143,6 +143,10 @@ protected:
void logTx(mesh::Packet* pkt, int len) override;
void logTxFail(mesh::Packet* pkt, int len) override;
int calcRxDelay(float score, uint32_t air_time) const override;
uint32_t getCADFailMaxDuration() const override {
if (_radio->isJapanMode()) return UINT32_MAX; // JP LBT: no forced TX — channel must be free per ARIB STD-T108
return Dispatcher::getCADFailMaxDuration();
}
uint32_t getRetransmitDelay(const mesh::Packet* packet) override;
uint32_t getDirectRetransmitDelay(const mesh::Packet* packet) override;