laforge
/
openbts-osmo
Archived
1
0
Fork 0
Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Chemeris e8b244c306 Remove unused variable in BitVector::hex().
(cherry picked from commit 4ff6edb50ce90db31e66dba3f77e08259929f1ac)
2010-12-21 17:47:29 +03:00
Alexander Chemeris 955f6ca200 Move more code out of asserts.
This time I checked all occurrences of assert() and all others are ok, if I didn't miss anything

(cherry picked from commit 2afd3fd962eb89e08a73420542267191f459815f)
2010-12-21 17:45:55 +03:00
Alexander Chemeris 410d42eda0 Don't put real code into assert().
If you compile with optimization and NDEBUG is defined, then the whole assert() is replaced with ((void) 0) and your code is not executed at all.

Don't assert() on pthread_join() return value. If thread was not started yet, then pthread_join() will fail, but it's ok for us.

(cherry picked from commit d0b797e62c, 21a84dcec9cdf25657bba5c221aac9d4bb81d8b3, 8ed37a1f36e1b1266728647e715f95a28df3f900)
2010-12-21 17:42:09 +03:00
Alexander Chemeris f24e148432 Fix a bug with Timeval difference calculation on 64-bit Linux.
Subtracting uint32_t from uin32_t gives you uint32_t. And assigning result to a long doesn't make it a signed value, because on 64-bit Linux long is 64 bits.

(cherry picked from commit 82dd78d698)
2010-12-21 17:38:21 +03:00
Alexander Chemeris fc81223045 Fix a bunch of typos.
(cherry picked from commits 2da5a28a07, 6cddd36139. 7852c1e572abbc9fee2548a58e377cfbb3eff46d, f85d5b3f528ba19c598cbe77bad2566920bf9dd4, 0f8766a506f25118f732cca10fe44a1c9a0ace6a, 26adfe2d158e6a80d50b4e247c1539b5a07add9f)
2010-12-21 16:58:05 +03:00
Sylvain Munaut 647a207bde gsm: Remove obsolete PCAP stuff from gsmtap.h
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:46:02 +01:00
Sylvain Munaut e6d5057d5d gsm: Update and enhance the GSM Tap functionality
* switch to the new format
* add uplink frame dump as well
* fill more fields than before (not fully complete yet tough)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:46:02 +01:00
Sylvain Munaut b6b3f6ace1 gsm: Add same ARFCN()/typeAndOffset() accessors to L1Decoder than L1Encoder
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:00:18 +01:00
Sylvain Munaut 3c7ad29fa8 gsm: Save time of received frame for later use in XCCHL1Decoder
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:00:18 +01:00
Sylvain Munaut 908bc39f5f gsm: Create more precise TypeAndOffset cste for BCCH/CCCH
Very useful to know in L1 what burst/encoder/fec are related to.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:00:18 +01:00
Sylvain Munaut a8834fde88 transceiver: Fix misusage of ~ in bitfields
Somehow it seems the author tought using ~ would set that bit to 0. But
it invert all bits and as such set all others to '1'.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:00:18 +01:00
Sylvain Munaut d82d8b9496 misc: Add a proper .gitignore file
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:00:18 +01:00
Sylvain Munaut 1a861cad9b build: Fix Transceiver/Makefile.am to use AM_CXXFLAGS instead of CXX_FLAGS
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-12-01 00:00:18 +01:00
Sylvain Munaut 50006e364d build: Remove all files autogenerated by autoreconf
Best practice is to not include those in repositories but only
in tar.gz dist tarball.

autoreconf -i will regenerate them

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-30 23:58:50 +01:00
Sylvain Munaut 5a969569c5 Tranceiver52M: Remove the Nieue hack
This hack accidentally leaked in the release code ... but it prevents
tuning for certain ARFCN and reduces TX power.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-08-09 09:55:25 +02:00
David A. Burgess 3a8fd4fac1 Another fix to the copyright notice header. 2010-07-16 17:09:09 -07:00
David A. Burgess fa179f74b7 Change license to AGPLv3. 2010-07-04 15:28:06 -07:00
David A. Burgess 9f1e320914 Fixed spelling errors in LEGAL. 2010-07-02 18:26:24 -07:00
David A. Burgess 5294b893b1 Added comment referencing the SMS spec. 2010-07-02 18:18:49 -07:00
David A. Burgess 35750c3d11 Fix parsing error for malformed mobile identity types. 2010-07-02 18:18:00 -07:00
David A. Burgess 98e0876b50 Added language for US gov't contractors and users
to clarify that the GPLv3 license applies to them
as well as anyone else.
2010-07-02 18:17:11 -07:00
David A. Burgess ecbaf97509 Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00