mobile: traffic req check: support EFR
commit8f04fa975819113f2a75a1803cbc3d06877fd36d
authorOliver Smith <osmith@sysmocom.de>
Mon, 4 May 2020 09:47:13 +0000 (4 11:47 +0200)
committerOliver Smith <osmith@sysmocom.de>
Tue, 5 May 2020 10:22:26 +0000 (5 12:22 +0200)
treec5a0c973ef433e7f20a3a137e68324b0c51d81df
parent3622522664445d5c06e33ef1122c0960f1ff7df3
mobile: traffic req check: support EFR

L1CTL handling code should not be involved in such high level checks, so
while at it, move the check into a separate function in gsm48_rr.c and
add a length check. gsm48_rr_tx_voice() is the only caller of
l1ctl_tx_traffic_req().

Related: SYS#4924
Change-Id: Iba84f5d60ff5b1a2db8fb6af5131e185965df7c9
src/host/layer23/src/common/l1ctl.c
src/host/layer23/src/mobile/gsm48_rr.c