blob: 45b550f6a15ec38fe929bc1b9d092a757c8a3ec4 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001#ifndef _MTK_LTE_COMMON_H_
2#define _MTK_LTE_COMMON_H_
3
4
5#define FLAG_CHK(v, ofst) ((v) & (1 << (ofst)))
6#define FLAG_SET(v, ofst) (v) |= 1 << (ofst)
7#define FLAG_CLR(v, ofst) (v) &= ~(1 << (ofst))
8
9#ifdef MIN
10#undef MIN
11#endif
12#define MIN(x, y) ((x) > (y) ? (y) : (x))
13
14#ifdef MAX
15#undef MAX
16#endif
17#define MAX(x, y) ((x) > (y) ? (x) : (y))
18
19#define REDUNDANT_ASSERT(x) ASSERT(x)
20
21/*--------------------------------------------------------------------------
22 * EMBMS configuration
23 *--------------------------------------------------------------------------*/
24#define MAX_EMBMS_FREQ_SUPPORT (2)
25
26#endif // _LTE_SECURITY_CMN_FUNC_H_