From cb71b972bd23535dbb5dc990137d7e5b5b7d8048 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 20 May 2010 23:26:42 +0200 Subject: 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 --- include/l1a_l23_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h index e1e7ccd..76e0c31 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 { -- cgit v1.2.3-55-g7522