diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2011-11-03 15:12:00 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-13 20:25:20 +0100 |
commit | c0c1195a57df7f10a5b9c8025b714935b19ed7b8 (patch) | |
tree | 5ea2db5654065b988af010195b3f814c7808ea22 /src/host/layer23/src | |
parent | 3426063f562892ede1be7f67f302ad5d754f8f4c (diff) |
host/mobile: Indicate unsupported TS 04.14 test messages in log
There is no support for TS 04.14. A logging message will inidcate this,
if a tester requests test functions. A STATUS message will be sent
as it is for for other usupported protocol types received.
Written-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/src')
-rw-r--r-- | src/host/layer23/src/mobile/gsm48_mm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/gsm48_mm.c b/src/host/layer23/src/mobile/gsm48_mm.c index 2153abac..0208d466 100644 --- a/src/host/layer23/src/mobile/gsm48_mm.c +++ b/src/host/layer23/src/mobile/gsm48_mm.c @@ -4057,9 +4057,14 @@ static int gsm48_mm_data_ind(struct osmocom_ms *ms, struct msgb *msg) msgb_free(msg); return rc; + case 0x0f: /* test TS 04.14 */ + LOGP(DMM, LOGL_NOTICE, "Test protocol 0x%02x according to " + "TS 04.14 is not supported.\n", pdisc); + goto status; default: LOGP(DMM, LOGL_NOTICE, "Protocol type 0x%02x unsupported.\n", pdisc); +status: msgb_free(msg); return gsm48_mm_tx_mm_status(ms, GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED); |