1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /********************************************************************20**
21 Name: LTE RLC file for uplink and non real time tasks
25 Desc: This file contains helper macros for RLC uplink
26 and non real time tasks
30 *********************************************************************21*/
33 * @brief RLC uplink helper macros
40 * @def KW_MEAS_IS_UL_IP_MEAS_ON_FOR_RB
42 * This macro is used to check if UL IP throughput measurement is ON
43 * or off for the passed rb
45 * Returns TRUE(non-zero) if measurement is ON else FALSE (zero)
47 * @param[in] _gCb RLC UL Cb
48 * @param[in] _rbCb RLC uplink control block
51 #define KW_MEAS_IS_UL_IP_MEAS_ON_FOR_RB(_gCb, _rbCb) \
52 ((_rbCb->rlcId.rbType == CM_LTE_DRB) && \
53 (_gCb->u.ulCb->kwL2Cb.measOn[_rbCb->qci] & LKW_L2MEAS_UL_IP) && \
54 (_rbCb->rbL2Cb.measOn & LKW_L2MEAS_UL_IP))
55 #endif /* __KW_ULH__ */
57 /********************************************************************30**
60 **********************************************************************/