src/lte/model/lte-enb-rrc.cc
changeset 9543 5976c95cf6e3
parent 9541 7811eb81a32c
child 9547 6406f8ed5fc2
--- a/src/lte/model/lte-enb-rrc.cc	Fri Dec 14 13:02:51 2012 +0100
+++ b/src/lte/model/lte-enb-rrc.cc	Fri Dec 14 14:15:23 2012 +0100
@@ -1615,10 +1615,18 @@
 
 
 // from 3GPP TS 36.213 table 8.2-1 UE Specific SRS Periodicity
-const uint8_t SRS_ENTRIES = 9;
-uint16_t g_srsPeriodicity[SRS_ENTRIES] = {0, 2, 5, 10, 20, 40, 80, 160, 320};
-uint16_t g_srsCiLow[SRS_ENTRIES] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
-uint16_t g_srsCiHigh[SRS_ENTRIES] = {0, 1, 6, 16, 36, 76, 156, 316, 636};
+// const uint8_t SRS_ENTRIES = 9;
+// uint16_t g_srsPeriodicity[SRS_ENTRIES] = {0, 2, 5, 10, 20, 40, 80, 160, 320};
+// uint16_t g_srsCiLow[SRS_ENTRIES] = {0, 0, 2, 7, 17, 37, 77, 157, 317};
+// uint16_t g_srsCiHigh[SRS_ENTRIES] = {0, 1, 6, 16, 36, 76, 156, 316, 636};
+
+// same as above, but for more than 10 UEs always go with the max
+// periodicity to avoid triggering too many RRC CONNECTION
+// RECONFIGURATIONs simultaneously 
+const uint8_t SRS_ENTRIES = 5;
+uint16_t g_srsPeriodicity[SRS_ENTRIES] = {0, 2, 5, 10, 320};
+uint16_t g_srsCiLow[SRS_ENTRIES]       = {0, 0, 2, 7,  317};
+uint16_t g_srsCiHigh[SRS_ENTRIES]      = {0, 1, 6, 16, 636};
 
 uint16_t
 LteEnbRrc::GetNewSrsConfigurationIndex ()