**diff options**

Diffstat (limited to 'tests/power/ms_power_loop_test.ok')

-rw-r--r-- | tests/power/ms_power_loop_test.ok | 46 |

1 files changed, 39 insertions, 7 deletions

diff --git a/tests/power/ms_power_loop_test.ok b/tests/power/ms_power_loop_test.ok index 5fea4747..09e19ad4 100644 --- a/tests/power/ms_power_loop_test.ok +++ b/tests/power/ms_power_loop_test.ok @@ -53,25 +53,25 @@ lchan_ms_pwr_ctrl(RxLvl=-40 dBm) returns 1 (expected 1) Starting test case 'test_pf_algo_ewma' lchan_ms_pwr_ctrl(RxLvl=-75 dBm) returns 0 (expected 0) MS current power 15 -> 15 (expected 15) - Avg[t] is -75.00 dBm (expected -75.00 dBm) + Avg[t] is RxLev 35.00 (expected 35.00) lchan_ms_pwr_ctrl(RxLvl=-90 dBm) returns 1 (expected 1) MS current power 15 -> 13 (expected 13) - Avg[t] is -78.00 dBm (expected -78.00 dBm) + Avg[t] is RxLev 32.00 (expected 32.00) lchan_ms_pwr_ctrl(RxLvl=-90 dBm) returns 1 (expected 1) MS current power 13 -> 11 (expected 11) - Avg[t] is -80.40 dBm (expected -80.40 dBm) + Avg[t] is RxLev 29.60 (expected 29.60) lchan_ms_pwr_ctrl(RxLvl=-70 dBm) returns 1 (expected 1) MS current power 11 -> 9 (expected 9) - Avg[t] is -78.40 dBm (expected -78.40 dBm) + Avg[t] is RxLev 31.60 (expected 31.60) lchan_ms_pwr_ctrl(RxLvl=-50 dBm) returns 0 (expected 0) MS current power 15 -> 15 (expected 15) - Avg[t] is -50.00 dBm (expected -50.00 dBm) + Avg[t] is RxLev 60.00 (expected 60.00) lchan_ms_pwr_ctrl(RxLvl=-50 dBm) returns 0 (expected 0) MS current power 15 -> 15 (expected 15) - Avg[t] is -50.00 dBm (expected -50.00 dBm) + Avg[t] is RxLev 60.00 (expected 60.00) lchan_ms_pwr_ctrl(RxLvl=-110 dBm) returns 1 (expected 1) MS current power 15 -> 13 (expected 13) - Avg[t] is -92.00 dBm (expected -92.00 dBm) + Avg[t] is RxLev 18.00 (expected 18.00) Starting test case 'test_power_hysteresis' lchan_ms_pwr_ctrl(RxLvl=-75 dBm) returns 0 (expected 0) @@ -144,4 +144,36 @@ lchan_ms_pwr_ctrl(RxLvl=-90 dBm) returns 0 (expected 0) lchan_ms_pwr_ctrl(RxLvl=-90 dBm) returns 0 (expected 0) MS current power 11 -> 11 (expected 11) + +Starting test case 'test_power_loop_ci' +lchan_ms_pwr_ctrl(RxLvl=-60 dBm) returns 0 (expected 0) + MS current power 15 -> 15 (expected 15) +lchan_ms_pwr_ctrl(RxLvl=-100 dBm) returns 1 (expected 1) + MS current power 15 -> 13 (expected 13) +lchan_ms_pwr_ctrl(RxLvl=-100 dBm) returns 1 (expected 1) + MS current power 13 -> 11 (expected 11) +lchan_ms_pwr_ctrl(RxLvl=-60 dBm) returns 1 (expected 1) + MS current power 11 -> 12 (expected 12) +lchan_ms_pwr_ctrl(RxLvl=-60 dBm) returns 1 (expected 1) + MS current power 12 -> 13 (expected 13) +lchan_ms_pwr_ctrl(RxLvl=-100 dBm) returns 1 (expected 1) + MS current power 13 -> 11 (expected 11) +lchan_ms_pwr_ctrl(RxLvl=-100 dBm) returns 1 (expected 1) + MS current power 11 -> 12 (expected 12) +lchan_ms_pwr_ctrl(RxLvl=-60 dBm) returns 1 (expected 1) + MS current power 12 -> 13 (expected 13) +lchan_ms_pwr_ctrl(RxLvl=-60 dBm) returns 1 (expected 1) + MS current power 13 -> 14 (expected 14) + +Starting test case 'test_good_threshold_convergence' +lchan_ms_pwr_ctrl(RxLvl=-78 dBm) returns 0 (expected 0) + MS current power 9 -> 10 (expected 10) +lchan_ms_pwr_ctrl(RxLvl=-78 dBm) returns 0 (expected 0) + MS current power 10 -> 10 (expected 10) +lchan_ms_pwr_ctrl(RxLvl=-78 dBm) returns 0 (expected 0) + MS current power 9 -> 10 (expected 10) +lchan_ms_pwr_ctrl(RxLvl=-78 dBm) returns 0 (expected 0) + MS current power 10 -> 10 (expected 10) +lchan_ms_pwr_ctrl(RxLvl=-78 dBm) returns 0 (expected 0) + MS current power 9 -> 10 (expected 10) Power loop test OK |