summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-11-29 16:29:08 +0800
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-11-30 17:03:25 +0800
commitff43e1a1b306ea63f7b375bf0ab2773df7d144ba (patch)
tree7d85dc0c2b866d98c71cecf39d644512e8f29b69 /src/host/layer23/include/osmocom/bb/mobile
parentd27d4354c37fbce910869465e60bc226efc6e6f3 (diff)
mobile: Re-introduce msg_ref in struct gsm_sms
In I4bac5f06921b5fd85a98d97770d42d4858ca1c42 I have removed the msg_ref field. But in case we delete a transaction with a pending SMS we need to get the msg_ref from somewhere. This is a partial revert but for RX SMS it makes sure that msg_ref will be set (it wasn't set before). Change-Id: I9b0f90f875de5f072565878861d38b0bb3bfbded
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h b/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h
index 0d0578a3..a94d1aa7 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm411_sms.h
@@ -11,6 +11,7 @@ struct gsm_sms {
uint8_t ud_hdr_ind;
uint8_t protocol_id;
uint8_t data_coding_scheme;
+ uint8_t msg_ref;
char address[20+1]; /* DA LV is 12 bytes max, i.e. 10 bytes
* BCD == 20 bytes string */
time_t time;