Vasil Velichkov
bb7d94a712
Add tch_f_decoder tests
2018-04-06 15:18:26 +02:00
Vasil Velichkov
924d1873da
Fix an assert in ViterbiR2O4::decode
...
The table length was wrong becuase matchCostTable is a float pointer and
not an array since 792330777d
python2.7: /home/user/gr-gsm/lib/decoding/openbts/ViterbiR204.cpp:288: virtual void ViterbiR2O4::decode(const SoftVector&, BitVector&): Assertion `match-matchCostTable<(float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1' failed.
(gdb) f 4
#4 0x00007fffdff820c3 in ViterbiR2O4::decode (this=0x5555563bbdf0, in=..., target=...)
at /home/vasko/sources/gr-gsm/gr-gsm/lib/decoding/openbts/ViterbiR204.cpp:288
288 assert(match-matchCostTable<(float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1);
(gdb) p match-matchCostTable
$1 = 2
(gdb) p (float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1
$2 = 1
(gdb) p (float)sizeof(matchCostTable)/sizeof(matchCostTable[0])
$3 = 2
(gdb) p sizeof(matchCostTable)
$4 = 8
2018-04-06 15:18:26 +02:00
Vasil Velichkov
a396100294
Do not test with debtest-grgsm-package container
2018-03-30 22:34:52 +02:00
Vasil Velichkov
bc2a23e0e7
Check the gsm0503_xcch_decode return value
...
- Discard the message when gsm0503_xcch_decode returns -1
- Add automated decrypt test
See https://groups.google.com/d/msg/gr-gsm/9nOkIdrGOck/qTZh47McCQAJ
2018-03-30 22:34:52 +02:00
Piotr Krysik
7476868d8e
Added more copyright holders
...
Added my contributors as copyright holders.
2018-03-22 16:12:03 +01:00
Marc L
cbac58cd15
added MANIFEST.md for CGRAN parsing sake
...
We are currently working on revitalizing CGRAN, the current version is here https://gnuradio.org/cgran/ and just like the old CGRAN it parses OOT's manifest files to get its information. Feel free to modify stuff, I just copied whatever info I could find.
2018-03-22 16:12:03 +01:00
Piotr Krysik
c62f21e44c
Fixing Ubuntu 16.04 no libosmocore test
2018-03-22 08:46:25 +01:00
Vasil Velichkov
753afeb5c8
Fix Fedora 26 test failure
...
On Fedora 26 when gr-gsm is installed in /usr/local/lib in order to work
some paths have to be added to PYTHONPATH and LD_LIBRARY_PATH enviroment
variables
This fixes the following errors
ImportError: No module named grgsm
ImportError: No module named _grgsm_swig
ImportError: libgrgsm-0.41.3.so.0.0.0: cannot open shared object file: No such file or directory
2018-03-22 06:07:24 +01:00
Vasil Velichkov
a59de98f24
Add Fedora 26 docker file
2018-03-22 06:07:24 +01:00
Vasil Velichkov
0feb4ab51f
Fix the parallel build.
...
- Override the GR_UNIQUE_TARGET function to not append a hash to the
target name.
- Add explicit dependency between pygen_apps and _grgsm_swig
The _grgs_swig needs to be built first because grcc evaluates and
verify all imports
- Test the parallel build in the docker containers as well
2018-03-22 06:07:24 +01:00
Vasil Velichkov
3f6ab15a7a
Install pkg-config in Debian/Ubuntu containers
...
It is needed to proper detect the grcc full path
2018-03-22 06:07:24 +01:00
Vasil Velichkov
b479fb4457
Compile the .grc files with cmake and grcc
...
And remove the pre-built scripts from the repository
Fixes #13
2018-03-22 06:07:24 +01:00
Piotr Krysik
c097ce73c5
Added block for extracting assignment commands
2018-03-05 13:16:32 +01:00
Piotr Krysik
8ef9dad5a7
Creating a new development version
2018-03-05 12:39:06 +01:00
Piotr Krysik
6a66fa83b1
Fixed line ending in 'apt install' command in dockerfile
2018-03-04 23:34:32 +01:00
Piotr Krysik
63492bd93c
Fix missing list name error in the main CMakeLists.txt file
2018-03-04 23:01:43 +01:00
Piotr Krysik
b1e67fe527
Define __attribute__ and __deprecated__ on MSWin
2018-03-04 22:09:23 +01:00
Piotr Krysik
86c9164000
Change buildsystem message on libosmocore not being found
2018-03-04 22:08:52 +01:00
Piotr Krysik
3e7841211c
Additional test for gr-gsm building without libosmocore installed
2018-03-04 19:37:28 +01:00
Piotr Krysik
1a5e87ea1a
Conditional compilation of local libosmocore depending if there is or is not libosmocore installation present on the system
2018-03-04 19:36:24 +01:00
Piotr Krysik
d8a576618d
Fixing warning caused by local libosmocore version
2018-03-04 19:35:00 +01:00
Piotr Krysik
daa26e80be
Fixing 'free' position
2018-03-03 20:04:13 +01:00
Piotr Krysik
1fd7cfb47e
Removing part that causes problems with 'make test'
2018-02-28 14:58:10 +01:00
Piotr Krysik
b24beebaf9
Adding include to have 'bool' type
2018-02-28 10:11:08 +01:00
Piotr Krysik
4cd494bbf8
Slight changes to CMake file and libosmocoding file (include change)
2018-02-28 10:08:38 +01:00
Piotr Krysik
f9f2596f99
Merge branch 'grgsm_on_win' of https://github.com/ptrkrysik/gr-gsm into grgsm_on_win
2018-02-27 14:47:21 +01:00
Piotr Krysik
70f549abae
Merge remote-tracking branch 'origin/quick-hack' into grgsm_on_win
2018-02-27 14:46:18 +01:00
Piotr Krysik
b3bd68ed8f
Commenting out some problematic and not apsolutely necessary stuff from libosmocore
2018-02-27 14:45:14 +01:00
Piotr Krysik
813fedd36e
Fixing types in gsm0503_mapping
2018-02-27 14:45:14 +01:00
Piotr Krysik
1aede38857
Moving gsm0503.h to gsm subdir
2018-02-27 14:45:14 +01:00
Piotr Krysik
9e2e8358a3
Portability fix: Adding local partial copy of libosmocore (TODO: minimize it)
2018-02-27 14:45:14 +01:00
Piotr Krysik
79e712c685
Hack: disabling building doxygen docs as it causes problems on windows
2018-02-27 14:45:14 +01:00
Piotr Krysik
d0a136b1a7
Portability fix: experimental blocks require numpy and scipy which causes problems on Windows. Don't load them by default.
2018-02-27 14:45:14 +01:00
Piotr Krysik
eb81b03c02
Portability fix: Replaced problematic includes
2018-02-27 14:45:14 +01:00
Piotr Krysik
15219abe00
sch.c: Changed include from local to global
2018-02-27 14:45:14 +01:00
Piotr Krysik
3b11689d22
Change ints to size_t
2018-02-27 14:45:14 +01:00
Piotr Krysik
ebe95fc7b6
Fix: replaced u_int32 type with uint32
2018-02-27 14:45:14 +01:00
Piotr Krysik
1e73e04c22
Hack: use local libosmocore for now
2018-02-27 14:45:14 +01:00
Piotr Krysik
0ed39fbf93
Portability fix: boost thread isn't really required by gr-gsm - commenting it out for now
2018-02-27 14:45:14 +01:00
Piotr Krysik
792330777d
Portability fix: replacing tables of variable size with memory allocations
2018-02-27 14:45:14 +01:00
Piotr Krysik
8bed612c39
Hack: commented out linking with libosmocore libraries
...
Portability fix: If on windows link wsock32 and ws2_32 libraries
2018-02-27 14:45:14 +01:00
Piotr Krysik
c0621c66ac
Fix portability: added windows style struct packing to gsmtap_hdr
2018-02-27 14:45:14 +01:00
Piotr Krysik
ffbaca9089
Commented out include that seems to be not necessary and that causes problems for MSVC
2018-02-27 14:45:14 +01:00
Piotr Krysik
0c6ade0027
Fix: fixed name of the define to the one set in lib/CMakeLists.txt
2018-02-27 14:45:14 +01:00
Piotr Krysik
eee1b1675b
Merging 'kali_docker' into 'development' branch
2018-02-27 14:42:32 +01:00
Piotr Krysik
b9a3cbc64a
Commenting out some problematic and not apsolutely necessary stuff from libosmocore
2018-02-27 14:37:01 +01:00
Piotr Krysik
7eca4e31fc
Fixing types in gsm0503_mapping
2018-02-27 14:36:18 +01:00
Piotr Krysik
04142b08de
Moving gsm0503.h to gsm subdir
2018-02-27 14:34:11 +01:00
Piotr Krysik
93154d1bed
Portability fix: Adding local partial copy of libosmocore (TODO: minimize it)
2018-02-27 12:16:25 +01:00
Piotr Krysik
5f5b402716
Hack: disabling building doxygen docs as it causes problems on windows
2018-02-27 11:17:38 +01:00