summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSylvain Munaut2010-06-21 21:59:43 +0200
committerHarald Welte2010-06-24 18:57:28 +0200
commit16cd41e8093fc3c5781375fd32fc6da25306cae3 (patch)
treed04da2dc18c95d7ffae756b340e9ae25ca1aa285 /include
parentlayer23: Now receiver of IMM.ASS checks for timeslot when matching request. (diff)
downloadosmocom-16cd41e8093fc3c5781375fd32fc6da25306cae3.tar.gz
osmocom-16cd41e8093fc3c5781375fd32fc6da25306cae3.tar.xz
osmocom-16cd41e8093fc3c5781375fd32fc6da25306cae3.zip
l1a_l23_interface: Update DM EST REQ format
We include all the parameters we're gonna need to support TS!=0, hopping, TSC, ... We also assume the upper layer have decoded the low level bit fields and gives us neat accessible variables and a sorted ARFCN array for the Mobile Allocation Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include')
-rw-r--r--include/l1a_l23_interface.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h
index 741221b..ef03689 100644
--- a/include/l1a_l23_interface.h
+++ b/include/l1a_l23_interface.h
@@ -155,22 +155,19 @@ struct l1ctl_rach_req {
} __attribute__((packed));
struct l1ctl_dm_est_req {
- uint16_t band_arfcn;
+ uint8_t tsc;
+ uint8_t h;
union {
struct {
- uint8_t maio_high:4,
- h:1,
- tsc:3;
- uint8_t hsn:6,
- maio_low:2;
- } h1;
- struct {
- uint8_t arfcn_high:2,
- spare:2,
- h:1,
- tsc:3;
- uint8_t arfcn_low;
+ uint16_t band_arfcn;
} h0;
+ struct {
+ uint8_t hsn;
+ uint8_t maio;
+ uint8_t n;
+ uint8_t _padding[1];
+ uint16_t ma[64];
+ } h1;
};
} __attribute__((packed));