summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Badea <vamposdecampos@gmail.com>2013-01-03 13:25:05 +0200
committerSylvain Munaut <tnt@246tNt.com>2013-01-16 21:24:42 +0100
commitdf1c62c31a8d6e0bf1719d77da74d229669e08c4 (patch)
treedb8585a0091a38cd362280675393acafda77a781 /include
parentdf6269173cbc72e02964159cb60d2db712eb0f07 (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;