Change in osmo-pcu[master]: bts: Add counters for successful 1, 2 phase pkt access

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.org
Tue Nov 2 17:51:45 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/26077 )


Change subject: bts: Add counters for successful 1,2 phase pkt access
......................................................................

bts: Add counters for successful 1,2 phase pkt access

These counters relate to succPDTCHAssProcsPerCause
(B.2.1.50 Successful Packet Channel Assignment Procedures, per cause).

Related: SYS#4878
Change-Id: I494afab337f2557ffa38e4c7ff2c15a1647a1e04
---
M src/bts.cpp
M src/bts.h
2 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/77/26077/1

diff --git a/src/bts.cpp b/src/bts.cpp
index f158b0b..9fcacca 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -145,6 +145,8 @@
 	{ "spb:downlink_first_segment", "First seg of DL SPB  "},
 	{ "spb:downlink_second_segment","Second seg of DL SPB "},
 	{ "immediate:assignment_UL",	"Immediate Assign UL  "},
+	{ "immediate:assignment_ul:one_phase",	"Immediate Assign UL (one phase packet access)"}, /* TS 52.402 B.2.1.50 */
+	{ "immediate:assignment_ul:two_phase",	"Immediate Assign UL (two phase packet access)"}, /* TS 52.402 B.2.1.50 */
 	{ "immediate:assignment_rej",   "Immediate Assign Rej "},
 	{ "immediate:assignment_DL",	"Immediate Assign DL  "},
 	{ "channel:request_description","Channel Request Desc "},
@@ -937,6 +939,7 @@
 		sb_fn = sba->fn;
 		LOGP(DRLCMAC, LOGL_DEBUG, "Allocated a single block at "
 		     "SBFn=%u TRX=%u TS=%u\n", sb_fn, pdch->trx->trx_no, pdch->ts_no);
+		bts_do_rate_ctr_inc(bts, CTR_IMMEDIATE_ASSIGN_UL_TBF_2_PHASE);
 	} else {
 		GprsMs *ms = bts_alloc_ms(bts, 0, chan_req.egprs_mslot_class);
 		tbf = tbf_alloc_ul_ccch(bts, ms);
@@ -948,6 +951,7 @@
 		tbf->set_ta(ta);
 		pdch = &tbf->trx->pdch[tbf->first_ts];
 		usf = tbf->m_usf[pdch->ts_no];
+		bts_do_rate_ctr_inc(bts, CTR_IMMEDIATE_ASSIGN_UL_TBF_1_PHASE);
 	}
 	trx = pdch->trx;
 
diff --git a/src/bts.h b/src/bts.h
index fe43447..7fdab40 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -137,6 +137,8 @@
 	CTR_SPB_DL_FIRST_SEGMENT,
 	CTR_SPB_DL_SECOND_SEGMENT,
 	CTR_IMMEDIATE_ASSIGN_UL_TBF,
+	CTR_IMMEDIATE_ASSIGN_UL_TBF_1_PHASE,
+	CTR_IMMEDIATE_ASSIGN_UL_TBF_2_PHASE,
 	CTR_IMMEDIATE_ASSIGN_REJ,
 	CTR_IMMEDIATE_ASSIGN_DL_TBF,
 	CTR_CHANNEL_REQUEST_DESCRIPTION,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/26077
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I494afab337f2557ffa38e4c7ff2c15a1647a1e04
Gerrit-Change-Number: 26077
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/20211102/bb890a57/attachment.htm>


More information about the gerrit-log mailing list