summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/gsm480_ss.c
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23layer23: fix tons of compiler warnings, mostly OSMO_DEPRECATED relatedHarald Welte1-2/+2
Change-Id: I03918bd864c711b377a795186123c85bb6f4dc4a
2019-01-23mobile/gsm480_ss.c: fix build: apply msgb_wrap_with_TL() renameVadim Yanitskiy1-1/+1
In If1e851ac605c8d2fde3da565b0bd674ea6350c2e, msgb_wrap_with_TL() was renamed to msgb_push_tl(). Let's use the new symbol name. Change-Id: Ief37424e0ca3cd696054518a0ffb07b7ef17a462
2018-11-19Fix build with latest libosmocoreMax1-10/+0
Remove locally defined function which conflicts with the one in libosmocore. Change-Id: I1be1d39f7c93c959ca33f6296ecda71996865cca
2018-08-11layer23: Replace all instances of strncpy() by osmo_strlcpyHarald Welte1-5/+2
This gives us working/safe zero termination without overflowing the destination string size. Change-Id: Ica6098ceba2bd01ce3b216085442cc5eed0ca507
2017-11-27mobile: Instead of putting semantic in a comment, use an enumHolger Hans Peter Freyther1-1/+1
The enum was created to understand the different states during the shutdown and find places where it is used. The normal transitions are like. Idle -> Imsi Detach -> L1 Reset -> Done Idle -> L1 Reset -> Done The shutdown can get stuck in case: * Out of memory situation while handling IMSI detach (timeout) * Never receiving l1 reset acknnowledgment. The code could benefit from the move to osmo fsm to deal with proper timeouts. Change-Id: Iee1140e4848923c7270495c381bf87b7e3fddee1
2017-11-05mobile/gsm480_ss.c: use secure gsm_7bit_(en|de)code_n_ussdVadim Yanitskiy1-6/+2
Since some 'gsm_7bit_*' functions were deprecated and replaced by more secure ones with the '_n_' suffix in names, it's better to use the updated functions. Change-Id: If8a1983592f5800e3981f29962eb333ac9473f40
2017-05-25mobile/gsm480_ss.c: gsm480_mmss_ind: return rcVadim Yanitskiy1-1/+2
Change-Id: Iabaccdbdfc5a5eb6424bd1603f405241650f13d8
2017-05-25mobile/gsm480_ss.c: fix copy-paste errorVadim Yanitskiy1-2/+2
Change-Id: I23287c0f31bee9c1b710f17f932633d2c621dab0
2013-12-24mobile/SS: Fixed bug in parsing of known supplemenary service codesAndreas Eversberg1-5/+5
Use correct variable to check if supplementary service code is known or not.
2013-05-23host/mobile: Fix trans_assign_trans_id() users error checkingSylvain Munaut1-1/+1
The returned value of trans_assign_trans_id() must be stored into a 'int' rather than uint8_t to allow proper testing of negative return values (errors). Thanks to Bhaskar <niceguy108@gmail.com> for the original patches. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-13host/mobile: Adding (partly implemented) supplementary service supportAndreas Eversberg1-0/+1289
Use VTY to request your extension number form OpenBSC: en service 1 *100# Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>