aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-09 09:43:53 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-09 09:43:53 +0200
commit2c6b59ca6a2600b2bc51ddaa53b442dfd2273237 (patch)
tree209ce8cbdaec9485a250f0d2e616af7e99414e28 /openbsc/include
parent93dfa24f429e0a1d59d60d8c8f5055e81a0b2e45 (diff)
sysmobts: Add variable for N(S) + 1 needed for the sysmobts
We could use the upper three bits of the ciph_state to store the sequence number but make the code understandable first.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 6d077fab0..3abb38b88 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -295,6 +295,7 @@ struct gsm_lchan {
} tch;
/* BTS-side ciphering state (rx only, bi-directional, ...) */
uint8_t ciph_state;
+ uint8_t ciph_ns;
uint8_t loopback;
struct {
uint8_t active;