aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-09-08 09:33:24 +0200
committerOliver Smith <osmith@sysmocom.de>2021-09-17 17:28:03 +0200
commit402451b3087a004e30d5b774c6a6a82cffbfc5d3 (patch)
tree481b6c612da76550fd71a4d6caf1383bb64088d6 /src/tbf.h
parent6c81adda452a2eb9b5e25c3ed36bb61ba46c2c34 (diff)
Add stats: pcu.bts.N.pdch.occupied.gprs/egprs
Add stats needed for performance measurements in 3GPP TS 52.402 ยง B.2.1.54-55. Split m_num_tbfs to count GPRS and EGPRS TBFs separately. Move the code that updates m_num_tbfs and sets the PDCH_OCCUPIED stats to a separate function, as it's mostly the same in the TBF attach and detach. Related: SYS#4878 Change-Id: I0c0a1121b4ae5f031782e7e63a0c28eb0b6c8b42
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 09329333..3aaf9fb0 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -354,12 +354,6 @@ inline bool gprs_rlcmac_tbf::is_egprs_enabled() const
return m_egprs_enabled;
}
-inline void gprs_rlcmac_tbf::enable_egprs()
-{
- m_egprs_enabled = true;
- window()->set_sns(RLC_EGPRS_SNS);
-}
-
inline enum gprs_rlcmac_tbf_direction reverse(enum gprs_rlcmac_tbf_direction dir)
{
return (enum gprs_rlcmac_tbf_direction)