mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-07-22 06:28:43 -04:00
Added interference avoidance option
This commit is contained in:
parent
434f55b240
commit
6e7370acdc
6 changed files with 104 additions and 17 deletions
2
Config.h
2
Config.h
|
@ -96,6 +96,8 @@
|
|||
#define CSMA_BAND_1_MAX_AIRTIME 7
|
||||
#define CSMA_BAND_N_MIN_AIRTIME 85
|
||||
#define CSMA_INFR_THRESHOLD_DB 12
|
||||
bool interference_detected = false;
|
||||
bool avoid_interference = true;
|
||||
int csma_slot_ms = CSMA_SLOT_MIN_MS;
|
||||
unsigned long difs_ms = CSMA_SIFS_MS + 2*csma_slot_ms;
|
||||
unsigned long difs_wait_start = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue