Commit Graph

3211 Commits

Author SHA1 Message Date
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 3415d41a8c add msgb and tlv support bits required for openbsc gprs branch 2010-02-21 19:03:41 +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 ed71b8c597 add GPL to project source 2010-02-21 09:21:30 +01:00
Harald Welte 0c1881a417 update build instructions 2010-02-20 23:16:23 +01:00
Harald Welte 95de639664 remove bogus autotools-generated makefile 2010-02-20 23:16:05 +01:00
Harald Welte e61df0c60e add new master Makefile
using the Makefile in the 'src' directory, we nwo build everything
2010-02-20 23:13:25 +01:00
Harald Welte 50b5545d6e convert osmocon to autotools
this needs to temporarily disable the version magic, as I don't
know how to integrate that into automake...
2010-02-20 23:12:29 +01:00
Harald Welte 41eddcb466 Merge commit '54844802115a1666496649cc43d3a01abd707bc0' into subtree-test1 2010-02-20 22:24:00 +01:00
Harald Welte 5484480211 fix select.c build (config.h) 2010-02-20 22:23:08 +01:00
Harald Welte 2afd5aa843 build of osmocon using libosmocore 2010-02-20 22:16:21 +01:00
Harald Welte a036cc2b2a add master 'build script' to build everything in one go 2010-02-20 22:16:04 +01:00
Harald Welte fb29236bf4 Merge commit 'e94ad58e8e9515c4e5bddbb64f7333cacb26353e' into subtree-test1 2010-02-20 22:08:33 +01:00
Harald Welte e94ad58e8e fix config.h directory 2010-02-20 22:06:24 +01:00
Harald Welte 4eacd8cedb Add 'src/shared/libosmocore/' from commit '3cae0398eaef6045de883849a236c38d1767cb41'
git-subtree-dir: src/shared/libosmocore
git-subtree-mainline: e54eb7c17c
git-subtree-split: 3cae0398ea
2010-02-20 21:09:43 +01:00
Harald Welte 3cae0398ea add missing automake / autoconf files 2010-02-20 21:09:24 +01:00
Harald Welte 26cbdcff24 update gitignore file 2010-02-20 21:07:42 +01:00
Harald Welte e54eb7c17c start using libosmocore instead of local osmocom copy 2010-02-20 20:39:52 +01:00
Harald Welte 47a0885d78 add missing Makefile.am in include/osmocore/protocol directory 2010-02-20 20:37:26 +01:00
Harald Welte f704c3e633 intial checkin of the libosmocore project 2010-02-20 20:34:29 +01:00
Harald Welte ec8b4501c7 intial checkin of the libosmocore project 2010-02-20 20:34:29 +01:00
Harald Welte 3e1ebe4190 migrate most osmocom code to new libosmocore
libosmocore is a new library that has been created out of OpenBSC,
and it provides almost everything we've tried here with libosmocom.

The only remaining part is the 'debug' part
2010-02-20 18:58:12 +01:00
Harald Welte 055318a33d fix typo in README (Timo Juhani Lindfors) 2010-02-20 17:33:24 +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
Holger Hans Peter Freyther ffecf66fc1 Merge branch 'on-waves/sccp' 2010-02-20 00:38:20 +01:00
Harald Welte d5cbd0fe79 gsmtap patch cleanup
* remove commented-out code
* explain what GSMTAP is and reference projects that can generate it
* update copyright notice

I will submit this to wireshark mainline now.
2010-02-19 23:01:57 +01:00
Harald Welte 6aeab7beb2 add symlink for gsmtap header 2010-02-19 22:50:33 +01:00
Harald Welte 8428d7c531 add UDP PORT definition to gsmtap.h 2010-02-19 22:50:18 +01:00
Harald Welte 4625209bb9 finish GSMTAP output support (and enable it)
Layer2 now sends GSMTAP packets to a UDP port on localhost, where
wireshark can pick them up in realtime and display them.
2010-02-19 22:43:51 +01:00
Harald Welte 3a6ed97a23 import wireshark GSMTAP patch 2010-02-19 20:22:34 +01:00
Harald Welte 36c9d36cf6 add (incomplete) gsmtap integration for feeding frames in wireshark 2010-02-19 20:21:04 +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 18ab2998bb add README on how to build the system 2010-02-18 19:28:49 +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 9cad18079c Fix path names due to rename from hello_world to firmware 2010-02-18 16:52:10 +01:00
Harald Welte fbe7b94c9c Initial import of OsmocomBB into git repository 2010-02-18 16:46:36 +01:00
Holger Hans Peter Freyther 771d47f8ad Merge branch 'on-waves/sccp' 2010-02-14 19:27:52 +01:00
Holger Hans Peter Freyther 5a678ed5b5 Merge branch 'on-waves/sccp' 2010-02-12 22:52:12 +01:00
Holger Hans Peter Freyther c2fd90985c Merge branch 'master' into on-waves/sccp 2010-02-03 18:15:05 +01:00
Holger Hans Peter Freyther 56c5d2b39c Merge branch 'on-waves/mgcp' 2010-02-03 18:11:22 +01:00
Harald Welte 8b6140c4d3 Merge remote branch 'goeller/master' 2010-01-12 10:46:03 +01:00
Holger Hans Peter Freyther 99e7208f6d Merge branch 'on-waves/mgcp' 2010-01-11 17:10:19 +01:00