| #ifndef _MTK_LTE_COMMON_H_ |
| #define _MTK_LTE_COMMON_H_ |
| |
| |
| #define FLAG_CHK(v, ofst) ((v) & (1 << (ofst))) |
| #define FLAG_SET(v, ofst) (v) |= 1 << (ofst) |
| #define FLAG_CLR(v, ofst) (v) &= ~(1 << (ofst)) |
| |
| #ifdef MIN |
| #undef MIN |
| #endif |
| #define MIN(x, y) ((x) > (y) ? (y) : (x)) |
| |
| #ifdef MAX |
| #undef MAX |
| #endif |
| #define MAX(x, y) ((x) > (y) ? (x) : (y)) |
| |
| #define REDUNDANT_ASSERT(x) ASSERT(x) |
| |
| /*-------------------------------------------------------------------------- |
| * EMBMS configuration |
| *--------------------------------------------------------------------------*/ |
| #define MAX_EMBMS_FREQ_SUPPORT (2) |
| |
| #endif // _LTE_SECURITY_CMN_FUNC_H_ |