Commit Graph

173 Commits (2.0-maint)

Author SHA1 Message Date
Bryan Biedenkapp 170424e44c correct display of timing for FDMA preambles; do not send nulls after a PDU ack;
4 years ago
Bryan Biedenkapp 54f50568a3 add config variable to enable or disable SNDCP channel grant requests;
4 years ago
Bryan Biedenkapp 2b5139f790 refactor SNDCP grants into their own function (this is still experimental and may cause weirdness!);
4 years ago
Bryan Biedenkapp ad297abad1 remove comments;
4 years ago
Bryan Biedenkapp b17e02f384 implement OSP_SNDCP_CH_GNT (this commit just adds support to respond to an ISP_SNDCP_CH_REQ, it does not mean data services will work);
4 years ago
Bryan Biedenkapp 38756799e1 fix issue where selected channel number with a negative tx offset may result in a Rx frequency that may be below the base frequency (all frequencies must be channelized properly and be must be greater then the base frequency); fix SN-DATA_CHN_ANN_EXP Rx channel number calculation;
4 years ago
Bryan Biedenkapp 676e1aeeb1 revert change in ed4c7ac for the SN-DATA_CHN_ANN_EXP LC;
4 years ago
Bryan Biedenkapp df1a77129b fix issue in single TSBK mode where CC data would try to transmit across the network;
4 years ago
Bryan Biedenkapp ed4c7aca49 fix issue with RemoteCommand not properly connecting the UDP socket; fix SNDCP_CH_ANN not properly computing Rx frequency; implement TIA-102.AABF-2015 LC_CONV_FALLBACK specification;
4 years ago
Bryan Biedenkapp 5ea787bcbf correct strangeness in performing a single line calculation for Tx offset to fix rounding errors for issue #7;
4 years ago
Bryan Biedenkapp bdc9973bc5 fix incorrect path in Makefile; fix rounding error during IDEN_UP and IDEN_UP_VU Tx offset calculation;
4 years ago
Bryan Biedenkapp 270208432f improvement to the DFSI code, handle TDU end-of-traffic;
4 years ago
Bryan Biedenkapp e68e387ef2 fix issue where MBFs weren't being disabled; fix null reference check; clean up code;
4 years ago
Bryan Biedenkapp e018d99630 fix friend class issues to make GCC happy;
4 years ago
Bryan Biedenkapp 4239d21a2b initial experimental support for DFSI communication via DVM modem serial interface (DFSI support is disabled from compilation entirely by default, the -DENABLE_DFSI_SUPPORT compiler directive is required to enable it);
4 years ago
Bryan Biedenkapp f5684879ca remove DFSI opcode, this will be handled a different way;
4 years ago
Bryan Biedenkapp 7f3916343f fix issue where control channel mode may not transmit network ADJ_STS_BCAST;
4 years ago
Bryan Biedenkapp 517e1871f2 typo;
4 years ago
Bryan Biedenkapp dece56af93 comment out unused line of code (future!);
4 years ago
Bryan Biedenkapp 179ed76ced reorganize PDU transmission to the FNE;
4 years ago
Bryan Biedenkapp 468079dcc8 make Windows Visual Studio project compile again; modify some dynamic memory allocations to work in C90 standard (damn it MSVC...);
4 years ago
Bryan Biedenkapp e9d10c37d1 add support to convert P25 CAI IP to an actual representative IP in the log;
4 years ago
Bryan Biedenkapp 8076d65982 cleanup NID class and consolidate (this is experimental and could cause all sorts of breakage);
4 years ago
Bryan Biedenkapp 34f8b0407f add experimental support for split NAC, this change adds a new txNAC configuration option to set the transmit NAC;
4 years ago
Bryan Biedenkapp f5cb11b467 correct issue where TDULC for Call Termination was incorrectly being sent while in simplex mode (should fix issue #3); add configuration option called "simplexSameFrequency" to control whether simplex operation takes place on a split frequency pair or a single frequency; fix issue where P25 nulls may be incorrectly transmitted in simplex mode;
4 years ago
Bryan Biedenkapp 7e51654cf7 add compiler directive to convert CRC-16-CCITT errors to warnings;
4 years ago
Bryan Biedenkapp 1db33d19e2 properly handle MFId, this gets P25 CAI data registration working (yay);
4 years ago
Bryan Biedenkapp 66a6201ddc code cleanup; further work on PDU CAI registration;
4 years ago
Bryan Biedenkapp e931d8d26e remove standalone P25 DataRspHeader class and merge it into DataHeader; further enhance the P25 DataHeader to better match the TIA spec; clean up some code and variable references;
4 years ago
Bryan Biedenkapp 8207a35a84 some more PDU work;
4 years ago
Bryan Biedenkapp bfe8d65630 correct CRC-32 implementation; remove old code;
4 years ago
Bryan Biedenkapp 28c0d383d5 bump copyright dates;
4 years ago
Bryan Biedenkapp 1e7de41df3 fix CRC-9 implementation; add some compiler directive based debugging logging mechanisms;
4 years ago
Bryan Biedenkapp ebf1cde7ad code cleanup; fix memory corruption issue when handling the LC MI in LC::copy(); add compiler-directive level debugging helpers;
4 years ago
Bryan Biedenkapp acd3f60955 fixup CRC32 table; implement potential workaround for single VC sites not passing network traffic;
4 years ago
Bryan Biedenkapp 45bd8519a3 fix copy constructor and equality operator for LC, TDULC and TSBK (it was not properly copying the classes in all situations); refactor VoicePacket to use DFSI to demangle LDU1/LDU2 network packets;
4 years ago
Bryan Biedenkapp 87e633737b migrate BaseNetwork to use DFSI LC class to create LDU1/LDU2 network data;
4 years ago
Bryan Biedenkapp ac2b62e8a8 fix typo;
4 years ago
Bryan Biedenkapp 08aaabb019 fix typo;
4 years ago
Bryan Biedenkapp 8b2771274e fix issue where ACL wouldn't blacklist RIDs when ACLs were disabled (blacklisting should always work); refactor TSBK decode/encode classes to better support raw and non-trellis data output/input; more fixes making P25T VOC more reliable; implement more DFSI LC handling;
4 years ago
Bryan Biedenkapp bb61b5e157 implement a bunch of the MBT ISPs;
4 years ago
Bryan Biedenkapp a58d96f4ed remove decodeMBT flag from TSBK, its unused;
4 years ago
Bryan Biedenkapp 0a5323eafe kill this shift warning -- finally;
4 years ago
Bryan Biedenkapp 22b6e0075e minor cleanups;
4 years ago
Bryan Biedenkapp 18c6e34729 attempt to fix double free issue;
4 years ago
Bryan Biedenkapp 993f9f2419 attempt to fix double free;
4 years ago
Bryan Biedenkapp 2331690a56 typo;
4 years ago
Bryan Biedenkapp 71c18d9aa9 cleanup implementation;
4 years ago
Bryan Biedenkapp 7a73a93cdf don't try to decode PDU block (it should be already decoded);
4 years ago
Bryan Biedenkapp 2b556578c3 add messaging to indicate a failure to decode the PDU Trellis; fix a check in TrunkPacket::process;
4 years ago
Bryan Biedenkapp fa86cb9677 clean up log message;
4 years ago
Bryan Biedenkapp 842c17c985 more very very experimental PDU AMBT support;
4 years ago
Bryan Biedenkapp 04ee216459 add some verbose logging information for AMBT PDUs;
4 years ago
Bryan Biedenkapp 8bd0a0cbbc more very very experiemental PDU AMBT support;
4 years ago
Bryan Biedenkapp ab5c056111 more AMBT handling, AMBT doesn't utilize these fields so we will zero them;
4 years ago
Bryan Biedenkapp 2d99f7f48f add very very experimental support to process PDU MBTs into TSBKs;
4 years ago
Bryan Biedenkapp cf364aa2c5 fix issue with P25T VOC networked traffic where the P25T VOC channel would not process network voice frames (this is really a partial fix, there is still room for more improvement);
4 years ago
Bryan Biedenkapp 26ca4ac578 more fixes for making VOC work for network calls;
4 years ago
Bryan Biedenkapp 6277759da0 limit RCON password to 64 characters; fix issue where dedicated control channels in VOC mode would ignore network traffic;
4 years ago
Bryan Biedenkapp dd5bfa235b continue implementing DFSI; remove some header information (it was included incorrectly some cases);
4 years ago
Bryan Biedenkapp af56a3562b remove P25_WUID_SYS (16777213) and replace with P25_WUID_FNE (16777212); partially fix the U2U issue;
4 years ago
Bryan Biedenkapp 448a6aea3d stub out functions;
4 years ago
Bryan Biedenkapp 140f641c35 fix missing cleanups of dfsi directory; fix uncorrected define typos;
4 years ago
Bryan Biedenkapp fb6d715ba5 initial commits of DFSI;
4 years ago
Bryan Biedenkapp 16a9e59f44 add capability to disable unit-to-unit availability check (U2U calls are still acting strangely though); ACK a EMERG_ALRM_REQ (but do nothing else, this is by design); properly ignore a TSBK_IOSP_TELE_INT_ANS, we don't support PTSN connections (and probably won't ever);
4 years ago
Bryan Biedenkapp ce69d78932 allow affiliation to TG0 during location registration too;
4 years ago
Bryan Biedenkapp 30f4eeb683 allow affiliation to TG0 (this is so some inhibited SUs can register and affiliate, so they may be uninhibited);
4 years ago
Bryan Biedenkapp 2aecd682c3 implement disableCompositeFlag configuration parameter to disable flagging the control channel as composite in a voice on control condition;
4 years ago
Bryan Biedenkapp c537deeaf4 its 8:41PM EST and I'm exhausted, give me a break;
4 years ago
Bryan Biedenkapp cadd9b16ec whoops typo;
4 years ago
Bryan Biedenkapp 4e81362d2e add support for LCO $12 SN-DATA_CHN_REQ and properly ignore request (unsupported right now); add support to process LCO $39 for EMERG_ALRM_REQ;
4 years ago
Bryan Biedenkapp d2ed457109 make clearer log messages in the case of coding errors such as TSBK Trellis or CRC errors; allow CRC TSDU errors to be warnings in calibration mode;
4 years ago
Bryan Biedenkapp d588982b72 implement an internal DVM MFId so we can abuse TSDUs to transmit call termination across the network with ease; properly implement GRP_VCH_GRANT_UPD;
4 years ago
Bryan Biedenkapp 50cb75e4b3 correct logic when dealing with RF or network traffic when configured for dedicated control channel; transmit voice grants across network;
4 years ago
Bryan Biedenkapp 94213364fa add option to disable TSDU MBF transmission; recorrect generated slot status bits during TSDU transmission;
4 years ago
Bryan Biedenkapp 4267cf31f5 add some extra verbose logging to TSBK; fix fixed string handling;
4 years ago
Bryan Biedenkapp c82bc4d53e fix issue not pasing dump TSBK boolean; simplify P25 CC data stream generation; fix issue getting status data from modem before displaying calibration help; display hotspot engineering status data; remove p25 correlation count from hotspot;
4 years ago
Bryan Biedenkapp 08dd49d51f fix incorrect handling of channel number as decimal in setup; enhance setup to make it more comprehensive (essentially all "system" configuration parameters can be modified in setup mode); add support to calibration to set the FDMA preambles, P25 correlation count, DMR Rx Delay as well as setting the Rx and Tx frequency offsets;
4 years ago
Bryan Biedenkapp 43f8f6e8ae implement support for a silence threshold in DMR (this will help null highly degraded audio to prevent horrifying ear destroying screeching); some minor code cleanup (mostly removing magic numbers!);
4 years ago
Bryan Biedenkapp 8b5a7ae7ec add experimental support for DMR TIII (note this will not accept registrations or grant requests);
4 years ago
Bryan Biedenkapp ab56ce8a3a cleanup copy assignment implementation for LC and TSBK;
5 years ago
Bryan Biedenkapp 8cf3d10630 slightly alter timing constants in Host to better control CPU usage while idle; remove unnecessary debug code;
5 years ago
Bryan Biedenkapp 525ffd9471 refactor P25 LC; refactor DMR CSBK; better handle scenario where P25 may start without having received a HDU, in this case we will transmit without HDU which would be interpreted by SUs as a late entry condition (better helps encryption sync in some cases);
5 years ago
Bryan Biedenkapp 595f6f4dd9 fix issue that caused an assertion crash when resetting the modem; store the DataHeader data during DMR traffic for future use;
5 years ago
Bryan Biedenkapp d1e265bd8e expand DMR LC service options out to proper class fields;
5 years ago
Bryan Biedenkapp bbd4a89fae don't log TDULCs;
5 years ago
Bryan Biedenkapp dedaa57580 minor alteration to some debug/trace and logging;
5 years ago
Bryan Biedenkapp 5fd9f1d8ea upstream: fix old bug using m_port instead of m_port[x]; fix issue with P25 VoicePacket not checking m_control or m_duplex flags in certain situations;
5 years ago
Bryan Biedenkapp de2860ca6a correct issue when trying to close and reopen modem; update copyright dates; fix issue in Modem where the getResponse may not continue properly after returning; reorder operations in Host to Write, Modem Clock, Read, Network, DMR, P25, Timers;
5 years ago
Bryan Biedenkapp d672f8827f correct P25 response PDU generation;
5 years ago
Bryan Biedenkapp cfe4c99478 proper implementation for P25 confirmed PDU CRC-9;
5 years ago
Bryan Biedenkapp 9694600e1f attempt to fix CRC-9 issues (still broken); more work for P25 PDUs and P25 confirmed PDUs;
5 years ago
Bryan Biedenkapp 09df9a0241 file commenting cleanup;
5 years ago
Bryan Biedenkapp 133ac37787 minor rework of P25 PDU DataBlock;
5 years ago
Bryan Biedenkapp 6d1644b99e file cleanups; implement BCAST_ANNC_ANN_WD_TSCC; add support for channel identity lookups in DMR; fix a couple of issues with BCAST packet formatting;
5 years ago
Bryan Biedenkapp cfc8604c8e fix buffer overflow error in HostMain; implement some of the basis for DMR Tier III;
5 years ago
Bryan Biedenkapp 7233b9a918 conform LC_SYS_SRV_BCAST to P25 standards;
5 years ago
Bryan Biedenkapp 699b3181b5 disable use of P25_CFVA_CONV;
5 years ago
Bryan Biedenkapp 9a4078b6a4 conform to P25 standards for composite control channel when VoC mode is enabled, and transmit LC_RFSS_STS_BCAST every 3 superframes;
5 years ago
Bryan Biedenkapp 6640485dad apply upstream updates to UDPSocket;
5 years ago

Powered by TurnKey Linux.