dect
/
libdect
Archived
13
0
Fork 0

ie: add definitions for <<DURATION>> time calculations

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-10-11 17:22:45 +02:00
parent 02a610e564
commit ae767920a8
1 changed files with 6 additions and 0 deletions

View File

@ -928,6 +928,12 @@ enum dect_time_limits {
DECT_TIME_LIMIT_INFINITE = 0xf, /**< Infinite */
};
#define DECT_FRAMES_PER_SECOND 100
#define DECT_FRAMES_PER_MULTIFRAME 16
#define DECT_TIME_LIMIT_UNITS_1 (256 * DECT_FRAMES_PER_MULTIFRAME)
#define DECT_TIME_LIMIT_UNITS_2 (65536 * DECT_FRAMES_PER_MULTIFRAME)
/** <<DURATION>> IE */
struct dect_ie_duration {
struct dect_ie_common common;