aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/calib_file.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-21 11:28:03 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-21 14:34:22 +0200
commit1eaa3d72eaa10bb854b2adff48d3f7f3e06dcb8c (patch)
treee247e4309ea8c261a5074c04f2ffe8fac99ae896 /src/osmo-bts-sysmo/calib_file.c
parent668f8df3be7f644056d16ea4a7fd7929429da0b4 (diff)
audio/rsl: Honor the speech mode and don't send anything
Spotted by Ciaby while debugging an audio issue. Do not send anything to port==0 to the BSC/NITB. Look at the upper bits of the speech_mode to determine if sending is allowed. 0x1 means recv_only and all other modes allow us to send. Manually verified with a single phone call with LCR bridge mode to send a CRCX early but a MDCX sendrecv later. The audio starts to flow after the MDCX message. Virtual Addr space didn't increase over 10 calls. The l1p_msg is freed by the caller. The code might not re-set speech_mode from one call to another but if it is ever != 0 it can be expected that the BSC will always set it. This is because we do not (and don't want to) allocate the lchan dynamically on every usage. Fixes: SYS#2111
Diffstat (limited to 'src/osmo-bts-sysmo/calib_file.c')
0 files changed, 0 insertions, 0 deletions