This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16480 )
Change subject: bts: Update transmitted MS power as requested by BTS
......................................................................
bts: Update transmitted MS power as requested by BTS
New generic ms power loop algo takes into account the MS Power sent by
MS over L1 SACCH Header. As a result, the test infra must now update its
transmitted value according to what is requested by the BTS as if it was
a real MS in order for algo to output expected results.
Change-Id: I287761202093fbc1064f9868efe6f7f6155253ca
---
M bts/BTS_Tests.ttcn
1 file changed, 23 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/80/16480/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 779f7c3..4ba8f55 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -2016,9 +2016,11 @@
T2.start;
alt {
[] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
- if( not(oct2int(l1_dl.payload.data_ind.payload[0]) > (pwr_var+6))){
+ /* Update sent MS power to follow what BTS requests */
+ f_L1CTL_PARAM(L1CTL, g_pars.l1_pars.ms_actual_ta, oct2int(l1_dl.payload.data_ind.payload[0]));
+ if (oct2int(l1_dl.payload.data_ind.payload[0]) < (pwr_var + 6)) {
repeat;
- }
+ }
T2.stop;
}
[] L1CTL.receive { repeat; }
@@ -2035,9 +2037,11 @@
T4.start;
alt {
[] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
- if( not(oct2int(l1_dl.payload.data_ind.payload[0]) <= (pwr_var))){
+ /* Update sent MS power to follow what BTS requests */
+ f_L1CTL_PARAM(L1CTL, g_pars.l1_pars.ms_actual_ta, oct2int(l1_dl.payload.data_ind.payload[0]));
+ if (oct2int(l1_dl.payload.data_ind.payload[0]) > pwr_var) {
repeat;
- }
+ }
T4.stop;
setverdict(pass, "Power level in L1 decreased/increased as expected");
}
@@ -2077,7 +2081,11 @@
timer T1 := 10.0;
T1.start;
alt {
- [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl { repeat; }
+ [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
+ /* Update sent MS power to follow what BTS requests */
+ f_L1CTL_PARAM(L1CTL, g_pars.l1_pars.ms_actual_ta, oct2int(l1_dl.payload.data_ind.payload[0]));
+ repeat;
+ }
[] L1CTL.receive { repeat; }
[] T1.timeout {
if( oct2int(l1_dl.payload.data_ind.payload[0]) != pwr_var){
@@ -2119,7 +2127,11 @@
timer T1 := 10.0;
T1.start;
alt {
- [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl { repeat; }
+ [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
+ /* Update sent MS power to follow what BTS requests */
+ f_L1CTL_PARAM(L1CTL, g_pars.l1_pars.ms_actual_ta, oct2int(l1_dl.payload.data_ind.payload[0]));
+ repeat;
+ }
[] L1CTL.receive { repeat; }
[] T1.timeout {
var int8_t rcv := oct2int(l1_dl.payload.data_ind.payload[0]);
@@ -2166,7 +2178,11 @@
timer T1 := 10.0;
T1.start;
alt {
- [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl { repeat; }
+ [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
+ /* Update sent MS power to follow what BTS requests */
+ f_L1CTL_PARAM(L1CTL, g_pars.l1_pars.ms_actual_ta, oct2int(l1_dl.payload.data_ind.payload[0]));
+ repeat;
+ }
[] L1CTL.receive { repeat; }
[] T1.timeout {
if( f_power_level_is_lowest_dbm(oct2int(l1_dl.payload.data_ind.payload[0])) ){
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16480
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I287761202093fbc1064f9868efe6f7f6155253ca
Gerrit-Change-Number: 16480
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191204/ad4a8d1c/attachment.htm>