summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-01-08 16:22:30 +0100
committerosmith <osmith@sysmocom.de>2019-01-09 14:53:34 +0000
commitd621a1ec2ed361d5ce8d3ff71a00b71e22b88933 (patch)
treeac2f3e28f41f4b07b4316a052dc55cab47109636 /include/osmocom/gsm
parenta6749ac7d4efcb3adfe3ec7959a5ef2c7a383a35 (diff)
Cosmetic: GSUP: note "on wire" for imei_result
Note that OSMO_GSUP_IMEI_RESULT_ACK is 0 on the wire, although the enum value is 1. Same with NACK (1 on wire, enum 2). I had implemented enum osmo_gsup_imei_result after enum osmo_gsup_cancel_type above, where this comment exists as well, and I incorrectly assumed that enum osmo_gsup_cn_domain in the middle was also implemented this way and therefore adding the comments to each enum would be redundant. But for cn_domain, the values on the wire are the same as the enum values. Change-Id: If97c34f117bfaab2232bbb625e9d118c8f390e58
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/gsup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gsm/gsup.h b/include/osmocom/gsm/gsup.h
index 6adb0bfd..5dc2a821 100644
--- a/include/osmocom/gsm/gsup.h
+++ b/include/osmocom/gsm/gsup.h
@@ -174,8 +174,8 @@ enum osmo_gsup_cn_domain {
};
enum osmo_gsup_imei_result {
- OSMO_GSUP_IMEI_RESULT_ACK = 1,
- OSMO_GSUP_IMEI_RESULT_NACK = 2,
+ OSMO_GSUP_IMEI_RESULT_ACK = 1, /* on wire: 0 */
+ OSMO_GSUP_IMEI_RESULT_NACK = 2, /* on wire: 1 */
};
/*! TCAP-like session state */