summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Badea <vamposdecampos@gmail.com>2013-01-03 13:25:05 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2013-10-05 19:44:37 +0200
commitfd70a6cc47721acc547174df4cddbe7def3d9ffb (patch)
treecae303f920d0f1eff2e1607f6f3fd5df506120bc /include
parentcb59ea788379e1c2bb2b5860b25c292e5ee3dcad (diff)
fw/l1: add CBCH flag to dedicated mode
Add a .dm_flags member to struct l1ctl_dm_est_req. Define a flag bit to indicate CBCH mode. If set, this instructs L1 to use the CBCH variant of SDCCH for dedicated mode (no uplink, no SACCH). Add the new dm_flags field to l1ctl_tx_dm_est_req* API calls. Clear it everywhere, except for app_cbch_sniff which requests CBCH. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include')
-rw-r--r--include/l1ctl_proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/l1ctl_proto.h b/include/l1ctl_proto.h
index 771bf1c3..c9585188 100644
--- a/include/l1ctl_proto.h
+++ b/include/l1ctl_proto.h
@@ -233,8 +233,11 @@ struct l1ctl_dm_est_req {
};
uint8_t tch_mode;
uint8_t audio_mode;
+ uint8_t dm_flags;
} __attribute__((packed));
+#define L1CTL_DM_F_CBCH (1 << 0)
+
struct l1ctl_dm_freq_req {
uint16_t fn;
uint8_t tsc;