Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add band served relay backoff #6754

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/band/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ type SharedParameters struct {
RelayForwardDelay time.Duration
// RelayReceiveDelay is the default RxR window timing in seconds.
RelayReceiveDelay time.Duration
// ServedRelayBackoff is the default number of wake on radio attempts before sending the uplink message directly
// by a served relay device.
ServedRelayBackoff uint32
}

var (
Expand All @@ -68,6 +71,7 @@ var (
parameters := universalSharedParameters
parameters.RelayForwardDelay = 50 * time.Millisecond
parameters.RelayReceiveDelay = 18 * time.Second
parameters.ServedRelayBackoff = 8
return parameters
}()
)
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_2_RP002_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_2_RP002_V1_0_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_2_RP002_V1_0_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_2_RP002_V1_0_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 50000000,
"RelayReceiveDelay": 18000000000
"RelayReceiveDelay": 18000000000,
"ServedRelayBackoff": 8
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_3_RP002_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_3_RP002_V1_0_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_3_RP002_V1_0_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_3_RP002_V1_0_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 50000000,
"RelayReceiveDelay": 18000000000
"RelayReceiveDelay": 18000000000,
"ServedRelayBackoff": 8
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_4_RP002_V1_0_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_4_RP002_V1_0_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 50000000,
"RelayReceiveDelay": 18000000000
"RelayReceiveDelay": 18000000000,
"ServedRelayBackoff": 8
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_PHY_V1_0_2_REV_A.json
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_PHY_V1_0_2_REV_B.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_PHY_V1_0_3_REV_A.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_PHY_V1_1_REV_A.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_PHY_V1_1_REV_B.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_RP002_V1_0_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_RP002_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_RP002_V1_0_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_RP002_V1_0_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AS_923_RP002_V1_0_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 50000000,
"RelayReceiveDelay": 18000000000
"RelayReceiveDelay": 18000000000,
"ServedRelayBackoff": 8
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_PHY_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_PHY_V1_0_2_REV_A.json
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_PHY_V1_0_2_REV_B.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_PHY_V1_0_3_REV_A.json
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_PHY_V1_1_REV_A.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_PHY_V1_1_REV_B.json
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_RP002_V1_0_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_RP002_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_RP002_V1_0_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_RP002_V1_0_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/AU_915_928_RP002_V1_0_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 50000000,
"RelayReceiveDelay": 18000000000
"RelayReceiveDelay": 18000000000,
"ServedRelayBackoff": 8
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_A_RP002_V1_0_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_A_RP002_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_A_RP002_V1_0_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_A_RP002_V1_0_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_A_RP002_V1_0_4.json
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 50000000,
"RelayReceiveDelay": 18000000000
"RelayReceiveDelay": 18000000000,
"ServedRelayBackoff": 8
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_B_RP002_V1_0_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
3 changes: 2 additions & 1 deletion pkg/band/testdata/CN_470_510_20_B_RP002_V1_0_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@
"MinRetransmitTimeout": 1000000000,
"MaxRetransmitTimeout": 3000000000,
"RelayForwardDelay": 0,
"RelayReceiveDelay": 0
"RelayReceiveDelay": 0,
"ServedRelayBackoff": 0
}
}
Loading
Loading