Commit Graph

57 Commits

Author SHA1 Message Date
stevie ebbd807c0b Fix typo.
git-svn-id: http://op25.osmocom.org/svn/trunk@204 65a5c917-d112-43f1-993d-58c26a4786be
2010-04-04 10:02:29 +00:00
stevie 70649891d4 Change sizes so we are less likely to truncate data/trunking blocks.
git-svn-id: http://op25.osmocom.org/svn/trunk@203 65a5c917-d112-43f1-993d-58c26a4786be
2010-04-02 21:26:32 +00:00
stevie 11071f0dfe Fix transient flag.
git-svn-id: http://op25.osmocom.org/svn/trunk@198 65a5c917-d112-43f1-993d-58c26a4786be
2009-12-19 09:53:37 +00:00
stevie 1380037246 Back-out wrongly-committed file.
git-svn-id: http://op25.osmocom.org/svn/trunk@194 65a5c917-d112-43f1-993d-58c26a4786be
2009-12-08 12:39:31 +00:00
stevie 42fa9198c7 Add missing golay.cc/h.
git-svn-id: http://op25.osmocom.org/svn/trunk@193 65a5c917-d112-43f1-993d-58c26a4786be
2009-12-08 12:37:57 +00:00
max 48c957dcaa add op25_yank.h too
git-svn-id: http://op25.osmocom.org/svn/trunk@186 65a5c917-d112-43f1-993d-58c26a4786be
2009-11-27 21:17:34 +00:00
max f3e5845667 add file op25_p25_frame.h
git-svn-id: http://op25.osmocom.org/svn/trunk@185 65a5c917-d112-43f1-993d-58c26a4786be
2009-11-27 20:27:23 +00:00
max 0c54173963 add new headers to grinclude_HEADERS
git-svn-id: http://op25.osmocom.org/svn/trunk@184 65a5c917-d112-43f1-993d-58c26a4786be
2009-11-27 20:21:55 +00:00
max 333b381c55 new imbe_frame.h with encoding and repeating
git-svn-id: http://op25.osmocom.org/svn/trunk@183 65a5c917-d112-43f1-993d-58c26a4786be
2009-11-02 21:09:09 +00:00
stevie 0767c65c80 Use correct SNAP type for WireShark sniffer.
git-svn-id: http://op25.osmocom.org/svn/trunk@182 65a5c917-d112-43f1-993d-58c26a4786be
2009-10-30 00:12:41 +00:00
stevie 4ff49d63c9 Drop 'out' member of software_imbe_decoder.
git-svn-id: http://op25.osmocom.org/svn/trunk@179 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-14 23:47:50 +00:00
max 0dac130ccd De-bureaucratization
git-svn-id: http://op25.osmocom.org/svn/trunk@178 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-13 19:28:06 +00:00
stevie cd66608acf Ticket #1: fix forecast, reintroduce throttle. Whoo hoo!
git-svn-id: http://op25.osmocom.org/svn/trunk@176 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-10 05:59:25 +00:00
stevie 72aea5299b Drop auto-generated files from repo.
git-svn-id: http://op25.osmocom.org/svn/trunk@175 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-10 01:16:42 +00:00
stevie 50bdbe2c01 Ticket #1 - add software IMBE decoding to block.
git-svn-id: http://op25.osmocom.org/svn/trunk@174 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-10 01:13:44 +00:00
stevie cc64164725 Ticket #1 - add software IMBE decoding to block.
git-svn-id: http://op25.osmocom.org/svn/trunk@173 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-10 01:12:22 +00:00
stevie de3c49233c Drop egolay implementation (we have a new one).
git-svn-id: http://op25.osmocom.org/svn/trunk@171 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-09 12:04:00 +00:00
stevie 09d298bde4 Fix compiler warnings (prefix correct_errors/decode_audio with 'do_'.
Pass imbe_decoder to voice_du_handler and have the op25_decoder_ff own the object.

git-svn-id: http://op25.osmocom.org/svn/trunk@170 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-08 00:15:52 +00:00
matt 152c36af66 added/edited AlgID info
git-svn-id: http://op25.osmocom.org/svn/trunk@160 65a5c917-d112-43f1-993d-58c26a4786be
2009-08-22 13:13:41 +00:00
stevie 3ec6ef1064 Add stub for TSBK data unit.
git-svn-id: http://op25.osmocom.org/svn/trunk@157 65a5c917-d112-43f1-993d-58c26a4786be
2009-08-02 00:29:13 +00:00
stevie 42d5e3a660 Fix so we don't crash on unrecognized frame.
git-svn-id: http://op25.osmocom.org/svn/trunk@156 65a5c917-d112-43f1-993d-58c26a4786be
2009-08-01 23:43:50 +00:00
stevie 2ac2282ddc Drop diagnostix.
git-svn-id: http://op25.osmocom.org/svn/trunk@154 65a5c917-d112-43f1-993d-58c26a4786be
2009-07-09 12:18:35 +00:00
stevie 5371081cc0 First cut on Golay decoding of HDU. More to follow
git-svn-id: http://op25.osmocom.org/svn/trunk@153 65a5c917-d112-43f1-993d-58c26a4786be
2009-07-07 21:47:54 +00:00
stevie bfd78e82df Expand on snapshot fields. Clarify the test result op25_decoder_ff::correlated().
git-svn-id: http://op25.osmocom.org/svn/trunk@152 65a5c917-d112-43f1-993d-58c26a4786be
2009-06-30 07:19:24 +00:00
stevie 93d418d512 Add missing data_unit_handler interface.
git-svn-id: http://op25.osmocom.org/svn/trunk@151 65a5c917-d112-43f1-993d-58c26a4786be
2009-06-28 19:27:09 +00:00
stevie 80565d779b Add data_unit_handler classes. Simplify top-level.
git-svn-id: http://op25.osmocom.org/svn/trunk@149 65a5c917-d112-43f1-993d-58c26a4786be
2009-06-25 20:27:44 +00:00
stevie 977c9a6e94 Fix memory corruption exposed by GNURadio 3.2.
git-svn-id: http://op25.osmocom.org/svn/trunk@148 65a5c917-d112-43f1-993d-58c26a4786be
2009-06-21 21:07:55 +00:00
stevie 22d0b88265 Remove spurious unicode strings from ToolBar.AddSimpleTool calls. Crashes GNURadio 3.2.
git-svn-id: http://op25.osmocom.org/svn/trunk@147 65a5c917-d112-43f1-993d-58c26a4786be
2009-05-14 05:43:39 +00:00
stevie 828bda192d First steps on integration tasks.
git-svn-id: http://op25.osmocom.org/svn/trunk@146 65a5c917-d112-43f1-993d-58c26a4786be
2009-05-14 03:44:23 +00:00
stevie 64202f54df Kludge decoder to dump voice as text files suitable for later decoding.
git-svn-id: http://op25.osmocom.org/svn/trunk@141 65a5c917-d112-43f1-993d-58c26a4786be
2009-05-05 05:59:19 +00:00
stevie 4741487d26 Add missing files.
git-svn-id: http://op25.osmocom.org/svn/trunk@136 65a5c917-d112-43f1-993d-58c26a4786be
2009-01-28 04:56:37 +00:00
stevie fa75c57851 Add msgq to op25_decoder_ff to permit passing of snapshots to UI.
Change swabbing to use a bit decoding map, make argument types template parameters (so bvec/bit_vector can be interchanged).
Use a bit_queue (deque<bool>) for the frame buffer, pass this to all data_unit constructors.
Add plumbing to send snapshot to the UI.
New voice_data_unit as result of re-factoring LDU1/LDU2.
Re-factor op25_decoder_ff to use the bit_queue for correlation and frame header (and body - but that's ignored just now).


git-svn-id: http://op25.osmocom.org/svn/trunk@135 65a5c917-d112-43f1-993d-58c26a4786be
2009-01-28 04:50:25 +00:00
stevie c8b6064cf7 Fiddle with bit swabbing stuff.
Investigate 32 bit crash (incorrect arg to inline function call).
Warning - only tested on 32 bit PC, need to regression test on 64 bit.

git-svn-id: http://op25.osmocom.org/svn/trunk@129 65a5c917-d112-43f1-993d-58c26a4786be
2009-01-11 11:55:59 +00:00
stevie e48b578d59 Add info files, first draft of usrp_p25_rx.py.
git-svn-id: http://op25.osmocom.org/svn/trunk@120 65a5c917-d112-43f1-993d-58c26a4786be
2009-01-04 23:26:43 +00:00
stevie 5ab4d52466 Temporary work-around for segmentation fault on 32 bit platforms.
git-svn-id: http://op25.osmocom.org/svn/trunk@119 65a5c917-d112-43f1-993d-58c26a4786be
2009-01-04 12:20:04 +00:00
stevie 3232c4adc3 BUG: broken build. CAUSE: didn't test. FIX: Sort out knock-on errors caused by changing frame_sync type.
git-svn-id: http://op25.osmocom.org/svn/trunk@116 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-29 01:53:42 +00:00
stevie 725a8442bb BUG: fails to correlate on 32 bit platforms. CAUSE: ulong initializer to bitset 64bits on amd64 but 32bits on 686 and is being truncated. FIX: abandon bitset and use a uint64_t instead.
git-svn-id: http://op25.osmocom.org/svn/trunk@115 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-29 01:26:29 +00:00
stevie 842310577f Fail softly - don't bomb out when device is unavailable.
git-svn-id: http://op25.osmocom.org/svn/trunk@112 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-16 04:48:25 +00:00
stevie 0ab01d0e1e Bring TUN/TAP interface up when program begins.
Change interface to data_unit.
 Make LDU1/2 call the IMBE decoder.

git-svn-id: http://op25.osmocom.org/svn/trunk@111 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-15 07:46:10 +00:00
stevie 8d4a3efd65 Fix the one and only self-test which was broken by the constructor signature change.
git-svn-id: http://op25.osmocom.org/svn/trunk@110 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-10 22:29:52 +00:00
stevie 62bc46494e Add TUN/TAP interface (to WireShark sniffer).
Remove work-in-progress on decoder code (accidentally committed).
Remove message queue interface to decoder.

git-svn-id: http://op25.osmocom.org/svn/trunk@108 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-06 10:38:11 +00:00
stevie c34b3918b9 Remove reference to imbe_error_corrector.
git-svn-id: http://op25.osmocom.org/svn/trunk@107 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-05 05:53:41 +00:00
stevie b55f317616 Re-encode NAC using BCH after decoding.
git-svn-id: http://op25.osmocom.org/svn/trunk@106 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-03 06:55:07 +00:00
stevie b663a32a62 Add bit extraction tables into LDU1/LDU2.
Default decode_body in abstract_data_unit simply marshalls data for WireShark.

git-svn-id: http://op25.osmocom.org/svn/trunk@105 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-03 04:07:44 +00:00
stevie 7650800ade Have data_unit::make_data_unit accept the frame body in a const_bit_vector.
Move BCH decoding back into op25_decoder_ff, it belongs there.
Refactor so different classes do the expected jobs (even though no class actually does anything yet).

git-svn-id: http://op25.osmocom.org/svn/trunk@104 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-02 02:47:56 +00:00
stevie 26e24d1145 Add imbe_decoder interface, drop bch.cc, use bitset<N> to represent NID fields, add bit swabbing, implement BCH decoding using IT++.
git-svn-id: http://op25.osmocom.org/svn/trunk@103 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-01 04:24:15 +00:00
stevie 8ffe3f8129 Change names of concrete data_unit classes to same form.
Add imbe_decoder interface which.
Add new error-correction and decoding functions to abstract_data_unit.

git-svn-id: http://op25.osmocom.org/svn/trunk@99 65a5c917-d112-43f1-993d-58c26a4786be
2008-11-09 22:41:29 +00:00
stevie 6320608644 Consume and produce (silence) or else it gets unhappy.
git-svn-id: http://op25.osmocom.org/svn/trunk@98 65a5c917-d112-43f1-993d-58c26a4786be
2008-11-07 10:14:00 +00:00
stevie d6c3403daf Add new decode method.
git-svn-id: http://op25.osmocom.org/svn/trunk@96 65a5c917-d112-43f1-993d-58c26a4786be
2008-11-02 11:34:28 +00:00
stevie 729913bfae Fix compile errors caused by gcc upgrade.
git-svn-id: http://op25.osmocom.org/svn/trunk@94 65a5c917-d112-43f1-993d-58c26a4786be
2008-10-29 11:41:41 +00:00