Make new L1CTL_FBSB_REQ work reliably
authorHarald Welte <laforge@gnumonks.org>
Thu, 20 May 2010 21:26:42 +0000 (23:26 +0200)
committerHarald Welte <laforge@gnumonks.org>
Thu, 20 May 2010 21:26:42 +0000 (23:26 +0200)
commitcb71b972bd23535dbb5dc990137d7e5b5b7d8048
treed270e508b584c3f041c516de31bca5a9c3fd0b50
parent1837a24437bff14de8902e282fbe524bf40173e2
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
src/host/layer23/src/app_phone.c
src/host/layer23/src/bcch_scan.c
src/host/layer23/src/gsm322.c
src/host/layer23/src/l1ctl.c
src/host/layer23/src/support.c
src/target/firmware/include/layer1/sync.h
src/target/firmware/layer1/prim_fbsb.c
src/target/firmware/layer1/sync.c