path: root/src/common/abis.c
diff options
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-10-27 13:29:21 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-10-27 18:12:09 +0300
commit36062825decc2cb98900cd772a55c60a83675183 (patch)
tree2bba6dc5810300d234bd2bb536ea13f0e26aa439 /src/common/abis.c
parent7001816773baa90641437f3a2619b30bcafba0b2 (diff)
l1sap: process_l1sap_meas_data() accepts pointer to lchanHEADmaster
In 2/3 cases when calling process_l1sap_meas_data() we already have a pointer to the logical channel, so let's pass it as the first argument instead of a pointer to the transceiver. This way we avoid calling get_active_lchan_by_chan_nr() two times. In l1sap_ph_data_ind(), call process_l1sap_meas_data() below the conditional branch handling PDCH, so it won't be called for GSM_LCHAN_PDTCH anymore. GPRS specific measurements are handled by the PCU and not of interest for the BSC. Change-Id: I9de67a0b2d2b18923f2c2003b400387a0f1af411
Diffstat (limited to 'src/common/abis.c')
0 files changed, 0 insertions, 0 deletions