diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-21 11:20:14 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-21 11:25:05 +0100 |
commit | 9e57a5a6974e92a2df73f9009f793c1a1f6206d9 (patch) | |
tree | 9cd090a245739f13ec7eb6aa71dda201d609af94 /include/osmocom/gsm | |
parent | 1a87c1b1891262e063d3bc862a8a1babef943f74 (diff) |
some comments / fixed typos
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r-- | include/osmocom/gsm/apn.h | 3 | ||||
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_08_58.h | 2 | ||||
-rw-r--r-- | include/osmocom/gsm/tlv.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/include/osmocom/gsm/apn.h b/include/osmocom/gsm/apn.h index d8d73996..a256d973 100644 --- a/include/osmocom/gsm/apn.h +++ b/include/osmocom/gsm/apn.h @@ -9,5 +9,8 @@ #define APN_MAXLEN 100 char *osmo_apn_qualify(unsigned int mcc, unsigned int mnc, const char *ni); + +/* Compose a string of the form '<ni>.mnc001.mcc002.gprs\0', returned in a + * static buffer. */ char *osmo_apn_qualify_from_imsi(const char *imsi, const char *ni, int have_3dig_mnc); diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h index 530bbc86..56cf4dd9 100644 --- a/include/osmocom/gsm/protocol/gsm_08_58.h +++ b/include/osmocom/gsm/protocol/gsm_08_58.h @@ -82,7 +82,7 @@ struct abis_rsl_cchan_hdr { /* \brief Check if given RSL message discriminator is transparent */ #define ABIS_RSL_MDISC_IS_TRANSP(x) (x & 0x01) -/* \brief RSL Message Tyoe (Chapter 9.1) */ +/* \brief RSL Message Type (Chapter 9.1) */ enum abis_rsl_msgtype { /* Radio Link Layer Management */ RSL_MT_DATA_REQ = 0x01, diff --git a/include/osmocom/gsm/tlv.h b/include/osmocom/gsm/tlv.h index d54ef1af..c19034f0 100644 --- a/include/osmocom/gsm/tlv.h +++ b/include/osmocom/gsm/tlv.h @@ -402,7 +402,7 @@ int tlv_parse_one(uint8_t *o_tag, uint16_t *o_len, const uint8_t **o_val, const uint8_t *buf, int buf_len); int tlv_parse(struct tlv_parsed *dec, const struct tlv_definition *def, const uint8_t *buf, int buf_len, uint8_t lv_tag, uint8_t lv_tag2); -/* take a master (src) tlvdev and fill up all empty slots in 'dst' */ +/* take a master (src) tlv def and fill up all empty slots in 'dst' */ void tlv_def_patch(struct tlv_definition *dst, const struct tlv_definition *src); #define TLVP_PRESENT(x, y) ((x)->lv[y].val) |