Commit Graph

39 Commits

Author SHA1 Message Date
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
stevie ead89bda24 Abandon idea of P25 decoder being a sink. This means subclassing gr_block instead of gr_sync_block, some name changes and allowing for audio output from the block.
git-svn-id: http://op25.osmocom.org/svn/trunk@91 65a5c917-d112-43f1-993d-58c26a4786be
2008-09-09 09:03:37 +00:00
stevie e816a8c913 Remove BCH decoder. Do not remove status symbols so early in processing.
git-svn-id: http://op25.osmocom.org/svn/trunk@90 65a5c917-d112-43f1-993d-58c26a4786be
2008-09-06 21:25:58 +00:00
stevie 504a4f8b54 Add BCH decoding of network ID (NAC/DUID)
git-svn-id: http://op25.osmocom.org/svn/trunk@89 65a5c917-d112-43f1-993d-58c26a4786be
2008-06-16 09:41:24 +00:00
stevie 8c5fbfa263 Correct so FS/NetworkID symbols count toward data unit size. Add debugging printf.
git-svn-id: http://op25.osmocom.org/svn/trunk@81 65a5c917-d112-43f1-993d-58c26a4786be
2008-06-09 20:58:52 +00:00
stevie 4822bf70d6 Quick! Save it before I delete it again.
git-svn-id: http://op25.osmocom.org/svn/trunk@70 65a5c917-d112-43f1-993d-58c26a4786be
2008-05-31 22:26:53 +00:00
stevie 5cd8bbe666 Add test vector.
git-svn-id: http://op25.osmocom.org/svn/trunk@63 65a5c917-d112-43f1-993d-58c26a4786be
2008-05-18 07:19:09 +00:00
stevie ceb3382ebc Add empty project for apco_p25_decode block.
git-svn-id: http://op25.osmocom.org/svn/trunk@62 65a5c917-d112-43f1-993d-58c26a4786be
2008-05-16 10:14:58 +00:00