Qualify optional 64-symbol fast preamble

This commit is contained in:
mikecarper committed 2026-08-24 16:54:35 -07:00
1 parent ba70c5b3c6
commit da74d7de22
7 files changed
+129 -35

No files matched your search

+4 -3
View File
@@ -250,9 +250,10 @@ a trusted LAN.
The WebConfig **Advanced** card exposes device power saving on WiFi Companion,
repeater, and room-server builds. It also exposes RX power saving on radio chips
that support receive duty cycling. RXPS can select continuous receive, levels
1-10, automatic or explicit 16/32-symbol preambles, or manual receive/sleep
windows. The WebConfig **WiFi** card exposes WiFi modem power saving. All three
settings are persisted across reboots.
1-10, automatic or explicit 16/32-symbol timing assumptions, or manual
receive/sleep windows. The timing assumption does not change the radio's actual
wire preamble. The WebConfig **WiFi** card exposes WiFi modem power saving. All
three settings are persisted across reboots.
The three settings are independent. A WiFi Companion keeps its transports
available while device power saving reduces CPU and GPS idle power. An
+17 -2
View File
@@ -742,7 +742,18 @@ On SX1262+TCXO boards, the tested fast-setting boundaries are:
SF7/BW500, SF6/BW250, and SF5/BW125 are timing-equivalent because each has a
256 us LoRa symbol. SF5/BW250 and SF5/BW500 use `continuous-fast` even with
preamble 32.
preamble 32 in the normal build.
The table's effective preamble is the length RXPS uses for its timing window.
The radio's actual transmitted preamble is a firmware property, not a
`radio.rxps` preference. Normal firmware transmits 32 symbols at SF5-SF8 and
16 symbols at SF9-SF12. A controlled build can set
`-D LORA_FAST_PREAMBLE=64`; this changes the actual SF5-SF8 wire preamble and
lets SF5/BW250 duty-cycle at effective level 8 (`1252 / 6424 us`). That profile
passed a 16/16 on-air qualification at 909.950 MHz. SF5/BW500 remains too fast.
Use the 64-symbol option only when every possible sender to an RXPS receiver
uses the longer preamble; treating a 32-symbol sender as if it sent 64 would
create a receive gap.
---
@@ -798,7 +809,8 @@ Station G2/G3 targets default to `off`.
**Parameters:**
- `rx_us`, `sleep_us`: Receive and sleep durations in microseconds (`1000`-`30000000`).
- `level`: A power-saving level from `1` (most conservative) to `10` (least power saving).
- `preamble`: LoRa preamble length in symbols; `16` or `32`.
- `preamble`: RXPS timing assumption in symbols; `16` or `32`. This does not
change the radio's actual transmitted preamble.
- `state`: `on` or `off`.
**Notes:**
@@ -809,6 +821,9 @@ Station G2/G3 targets default to `off`.
- `on` and `conservative` select level `1` with a 16-symbol preamble; `balanced` selects level `5` with a 16-symbol preamble.
- Fresh Cascade-profile builds start with RXPS on at level `8` and a 16-symbol preamble. Saved operator settings still take precedence after an upgrade.
- Level-based settings automatically recalculate their timings when the spreading factor or bandwidth changes. Custom `<rx_us> <sleep_us>` timings remain fixed.
- `get radio.rxps` reports both the saved timing assumption and any effective
preamble/level selected for the current tuple. A 64-symbol effective preamble
appears only in a firmware build whose actual fast preamble is 64.
- The selected mode is applied immediately, persisted, and restored after reboot.
---
+17 -10
View File
@@ -107,14 +107,16 @@ get radio.rxps
set radio.rxps {off|on|level 1-10 [preamble 16|32]|rx_us sleep_us}
```
Shows or changes LoRa receive duty cycling on supported radios. Fresh Cascade
builds select level 8 with a 16-symbol preamble. A configured level is the
minimum: when faster SF/BW settings shorten the timing window, firmware raises
the effective level only as far as needed, up to level 10. For SF5-SF8 it can
then use the radio's actual 32-symbol transmit preamble if no level is safe
under the legacy 16-symbol assumption. The configured values remain unchanged,
so every radio change recalculates from the saved minimum. A slower tuple
returns to that exact level when it is safe; otherwise firmware keeps using the
smallest safe effective level.
builds select level 8 with a 16-symbol timing assumption. The `preamble`
argument controls the RXPS calculation; it does not change the physical wire
preamble. A configured level is the minimum: when faster SF/BW settings shorten
the timing window, firmware raises the effective level only as far as needed,
up to level 10. For SF5-SF8 the normal build can then use the radio's actual
32-symbol transmit preamble if no level is safe under the legacy 16-symbol
assumption. The configured values remain unchanged, so every radio change
recalculates from the saved minimum. A slower tuple returns to that exact level
when it is safe; otherwise firmware keeps using the smallest safe effective
level.
If neither adjustment leaves enough time for the radio to wake, RXPS stays
logically enabled but receives continuously instead of rejecting the radio
@@ -135,8 +137,13 @@ RXPS boundary profiles (CR does not change the RXPS preamble timing):
| 5 | 125 | 32 | 7 | 2731 / 6101 us |
| 5 | 62.5 | 16 | 10 | 4096 / 6272 us |
SF5/BW250 and SF5/BW500 remain too fast for a true TCXO duty cycle even with
preamble 32, so they use `continuous-fast`.
SF5/BW250 and SF5/BW500 remain too fast for a true TCXO duty cycle in the
normal 32-symbol build, so they use `continuous-fast`. A controlled build with
`-D LORA_FAST_PREAMBLE=64` changes the actual SF5-SF8 wire preamble. SF5/BW250
then uses effective level 8 and `1252 / 6424 us`; that combination passed a
16/16 on-air qualification at 909.950 MHz. SF5/BW500 still uses
`continuous-fast`. Deploy a longer physical preamble consistently across all
senders that may reach an RXPS receiver.
```
get wifi.powersave