summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-08-10 21:31:07 +0200
committerAndreas.Eversberg2010-08-10 21:31:07 +0200
commit6439e4f2796deb1498de7d805757bf2b8f56b1c4 (patch)
tree4c72a2d43eeecaa80a7a3abc82e7e0024864074d /src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
parent[layer23] use gsm48_decode_freq_list() which has been moved into libosmocore (diff)
downloadosmocom-6439e4f2796deb1498de7d805757bf2b8f56b1c4.tar.gz
osmocom-6439e4f2796deb1498de7d805757bf2b8f56b1c4.tar.xz
osmocom-6439e4f2796deb1498de7d805757bf2b8f56b1c4.zip
Added sequence number to L3 messages (see GSM 04.08 Clause 3.1.4.3)
This is required to detect duplicated messages during assignment or handover. Each PDISC uses its own sequence number, but MM+CC+SS share the same. The sequence number is only required in uplink direction. Dieter: Please check, if your tester eats it now. Also try to trace if the sequence number is set correctly.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
index f5d5220..f88d7a9 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
@@ -132,6 +132,9 @@ struct gsm48_rrlayer {
uint8_t cr_ra; /* stores requested ra until confirmed */
struct gsm48_cr_hist cr_hist[3];
+ /* V(SD) sequence numbers */
+ uint16_t v_sd; /* 16 PD 1-bit sequence numbers packed */
+
/* current channel descriptions */
struct gsm48_rr_cd cd_now;