summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-08-21 15:02:32 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-08-21 15:02:32 +0000
commitac98bbe9719c12c04e2048cb59ae256757c8cc9c (patch)
tree73169215907035da1162ac1cd221144c38db9619 /include
parentff7ce383a16d4eeede22039873f060341630294a (diff)
[l1ctl] Introducing L1CTL_FREQ_REQ to change frequency hopping sequence
This is only the header, so there is no functionality yet. The functionality for layer1 works, but it is not yet ready for commit. This commit is required for radio ressource protocol commited later.
Diffstat (limited to 'include')
-rw-r--r--include/l1ctl_proto.h35
1 files changed, 25 insertions, 10 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h
index 060922ab..9997450a 100644
--- a/include/l1ctl_proto.h
+++ b/include/l1ctl_proto.h
@@ -45,6 +45,7 @@ enum {
L1CTL_CCCH_MODE_CONF,
L1CTL_DM_REL_REQ,
L1CTL_PARAM_REQ,
+ L1CTL_DM_FREQ_REQ,
};
enum ccch_mode {
@@ -167,20 +168,34 @@ struct l1ctl_par_req {
uint8_t padding[2];
} __attribute__((packed));
+struct l1ctl_h0 {
+ uint16_t band_arfcn;
+} __attribute__((packed));
+
+struct l1ctl_h1 {
+ uint8_t hsn;
+ uint8_t maio;
+ uint8_t n;
+ uint8_t _padding[1];
+ uint16_t ma[64];
+} __attribute__((packed));
+
struct l1ctl_dm_est_req {
uint8_t tsc;
uint8_t h;
union {
- struct {
- uint16_t band_arfcn;
- } h0;
- struct {
- uint8_t hsn;
- uint8_t maio;
- uint8_t n;
- uint8_t _padding[1];
- uint16_t ma[64];
- } h1;
+ struct l1ctl_h0 h0;
+ struct l1ctl_h1 h1;
+ };
+} __attribute__((packed));
+
+struct l1ctl_dm_freq_req {
+ uint16_t fn;
+ uint8_t tsc;
+ uint8_t h;
+ union {
+ struct l1ctl_h0 h0;
+ struct l1ctl_h1 h1;
};
} __attribute__((packed));