Commit Graph

566 Commits

Author SHA1 Message Date
Harald Welte 6f14e4e969 Calypso TPU: fix address of TSP TX 3 register 2010-02-23 01:44:22 +01:00
Harald Welte 9fe66fdb0c TRF6151: move PLL and AGC configuration to right sequence in time 2010-02-23 01:44:14 +01:00
Harald Welte 68817f6508 fix typo in comment 2010-02-23 01:44:09 +01:00
Harald Welte bb263dcc70 TRF6151: close the Rx (Downlink) window after ABB is closed
There is no point in keeping the receiver running after we have
told the ABB to no longer receive anything.
2010-02-23 01:44:03 +01:00
Harald Welte 2dff711bc7 TWL3025: Ensure we don't perform downlink calibration too early
If we perform the downlink calibration too early, the TRF6151 might
not yet provide a stable signal and we'll not be able to receive
anything.

From the desired "BDLENA" time, we subtract all the delays and
latencies to determine the point in time at which the calibration
process should start.
2010-02-23 01:43:52 +01:00
Harald Welte 7b2f013566 use <gsm.h> instead of "gsm.h" 2010-02-23 01:43:31 +01:00
Harald Welte c917fd4379 sercomm: busy-wait in case we cannot allocate a msgb right now 2010-02-21 18:36:22 +01:00
Harald Welte 30ed24b0a4 sercomm_cons: allocate 252 bytes net data size plus 4 bytes headroom 2010-02-21 18:33:56 +01:00
Harald Welte 8570a2ccd8 fix msgb_talroom() calculation 2010-02-21 18:33:14 +01:00
Harald Welte e943638a92 sercomm_cons: Utilize msgb's better, don't always end at \n
In the sercomm_cons layer, ee used to enqueue a msgb for sending
every time there is an end-of-line.  However, if we send a number
of very short lines, we easily run out of msgbs.

Now we check how much msgb backlog there is in the transmit queue,
and decide to skip the end-of-line flushing if needed.

This still doesn't solve all our problems, but its still a useful
mechanism.
2010-02-21 15:16:40 +01:00
Harald Welte 2afd5aa843 build of osmocon using libosmocore 2010-02-20 22:16:21 +01:00
Harald Welte 89b1c361e3 Use ARFCN as specified from Layer2
with this commit, Layer2 can tell Layer1 to sync to a new CCCH on
a specified ARFCN.
2010-02-20 00:57:16 +01:00
Harald Welte 2df0b01363 frequency error is actually twice of what we thought.
The cause is really not clear.  The formual using 2*Pi to convert
from radians to frequency is perfectly correct.

However, measurements with various test equipment (including Racal 6103)
have shown our frequency error estimate is always off by a power of two...
2010-02-18 19:32:07 +01:00
Harald Welte 15594a7c0e add COPYING files to osmocon, firmware and layer2 2010-02-18 19:23:46 +01:00
Harald Welte 45a65c6fdd add *.map files to .gitignore 2010-02-18 17:01:25 +01:00
Harald Welte fbe7b94c9c Initial import of OsmocomBB into git repository 2010-02-18 16:46:36 +01:00