summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-20 23:26:42 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-20 23:26:42 +0200
commitcb71b972bd23535dbb5dc990137d7e5b5b7d8048 (patch)
treed270e508b584c3f041c516de31bca5a9c3fd0b50 /include
parent1837a24437bff14de8902e282fbe524bf40173e2 (diff)
Make new L1CTL_FBSB_REQ work reliably
* port 'mobile' application to new l1ctl_tx_fbsb_req() * make sure we have a proper downlinke header in front of l1ctl_fbsb_resp * remove duplicate band_arfcn member of struct l1ctl_fbsb_resp * reset the AFC to its default value when starting new FBSB task * remove bogus l1s.sb.{synced.count} variables * allocate msg and send l1ctl_fbsb_resp() only from process context, not FIQ * properly report SNR and BSIC in fbsb_resp * introduce arbitrary SNR thresholds for FB0->FB1 and FB1->SB switching
Diffstat (limited to 'include')
-rw-r--r--include/l1a_l23_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h
index e1e7ccd5..76e0c313 100644
--- a/include/l1a_l23_interface.h
+++ b/include/l1a_l23_interface.h
@@ -71,7 +71,6 @@ struct l1ctl_info_dl {
/* new CCCH was found. This is following the header */
struct l1ctl_fbsb_resp {
- uint16_t band_arfcn;
int16_t initial_freq_err;
uint8_t result;
uint8_t bsic;
@@ -117,6 +116,7 @@ struct l1ctl_fbsb_req {
#define L1CTL_FBSB_F_FB0 (1 << 0)
#define L1CTL_FBSB_F_FB1 (1 << 1)
#define L1CTL_FBSB_F_SB (1 << 2)
+#define L1CTL_FBSB_F_FB01SB (L1CTL_FBSB_F_FB0|L1CTL_FBSB_F_FB1|L1CTL_FBSB_F_SB)
/* the l1_info_ul header is in front */
struct l1ctl_rach_req {