diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/lchan.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/lchan.h b/include/osmo-bts/lchan.h index a7e90043..57999b1b 100644 --- a/include/osmo-bts/lchan.h +++ b/include/osmo-bts/lchan.h @@ -365,3 +365,6 @@ static inline bool lchan_is_dcch(const struct gsm_lchan *lchan) return false; } } + +#define lchan_is_tch(lchan) \ + ((lchan)->type == GSM_LCHAN_TCH_F || (lchan)->type == GSM_LCHAN_TCH_H) |