library/RSL_Types: fix RSL_IE_BS_Power: Power Level is 4 bit long
Unlike the RSL_IE_MS_Power, where power_level is 5 bit long, in
the RSL_IE_BS_Power it's 4 bit long. Fix this.
Change-Id: Ic0cb2275ef585754b9ae5e3d8077ca652afd9365
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index b098fc6..f98419d 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1697,7 +1697,7 @@
boolean toa256_enabled,
MeasElemFS meas_ul,
int16_t timing_offset_256syms,
- uint5_t bs_power_level,
+ uint4_t bs_power_level,
uint5_t ms_power_level,
uint8_t ms_actual_ta
}
@@ -2129,7 +2129,7 @@
f_trxc_fake_toffs256(g_pars.l1_pars.timing_offset_256syms);
}
- var uint5_t pwr_var := 1;
+ var uint4_t pwr_var := 1;
var template (value) RSL_IE_BS_Power bs_power := ts_RSL_IE_BS_Power(pwr_var);
var template (value) RSL_IE pwr := t_RSL_IE(RSL_IE_BS_POWER, RSL_IE_Body:{bs_power := bs_power});
@@ -2152,7 +2152,7 @@
f_trxc_fake_toffs256(g_pars.l1_pars.timing_offset_256syms);
}
- var uint5_t pwr_var := 1;
+ var uint4_t pwr_var := 1;
var template (value) RSL_IE_BS_Power bs_power := ts_RSL_IE_BS_Power(pwr_var);
f_est_dchan();
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 77b4e79..af01c5d 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -386,15 +386,15 @@
coding_alg_rate := alg
}
- /* 9.3.4 */
+ /* 9.3.4 BS Power IE */
type record RSL_IE_BS_Power {
- uint1_t reserved,
+ uint2_t reserved,
boolean epc,
boolean fpc,
- uint5_t power_level
+ uint4_t power_level
}
- template (value) RSL_IE_BS_Power ts_RSL_IE_BS_Power(uint5_t power_level,
+ template (value) RSL_IE_BS_Power ts_RSL_IE_BS_Power(uint4_t power_level,
boolean epc := false, boolean fpc := false) := {
reserved := 0,
epc := epc,