diff --git a/core/rtw_mp.c b/core/rtw_mp.c index 90effa7..f4763f7 100644 --- a/core/rtw_mp.c +++ b/core/rtw_mp.c @@ -23,6 +23,11 @@ #include #endif +static inline UINT ceil_divide(UINT a, UINT b) +{ + return (a + b - 1) / b; +} + #ifdef CONFIG_MP_VHT_HW_TX_MODE #define CEILING_POS(X) ((X - (int)(X)) > 0 ? (int)(X + 1) : (int)(X)) #define CEILING_NEG(X) ((X - (int)(X)) < 0 ? (int)(X - 1) : (int)(X))