Commit Graph

209 Commits (7d1ae452dc6be259c59b2e8df61ee458c119ae90)

Author SHA1 Message Date
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
Bryan Biedenkapp 685c7aa3ef perform secondary check of frames sent with 'invalid' sync;
5 years ago
Bryan Biedenkapp 6535049765 support configuring the modem P25 sync correlation countdown from the host;
5 years ago
Bryan Biedenkapp 0c8f2583bc add support to send service class across the network when adj site broadcasts occur;
5 years ago
Bryan Biedenkapp a66f91fe2f minor fixes and cleanups; allow transmitted service class properly reflect registration and composite classes based on configured options;
5 years ago
Bryan Biedenkapp e71e946990 support location registration;
5 years ago
Bryan Biedenkapp 992e414d84 minor code cleanups; fix some debug logging being set to the wrong log level; consolidate network HDU and LDU1 code (better in one function, make it operate more like the direct RF interface); implement a workaround feature to disable HDU generation/transmission from network voice calls (this was necessary on some P25 subscriber hardware, like a Harris XG-100P where the transmitted network header was causing the radio to drop the voice call, enabling this feature will disable the network code from generating a HDU at the beginning of a voice call);
5 years ago
Bryan Biedenkapp 529de62616 always reset and set HDU parameters; add some debug trace messaging; correct issue with position count for the LDU2 being incorrect in the network;
5 years ago
Bryan Biedenkapp ef453a4f73 remove old TDULC Channel Grant logic (I don't even remember why this was here); move TDU preamble before voice call; correct Modem debug messages appearing as regular log messages;
5 years ago
Bryan Biedenkapp aa1a3d5ed8 enhance available options for P25 control data (enable/disable broadcast, enable/disable dedicated); enhance availablt options for RCON for enabling/disabling P25 CC dedicated and broadcast, as well as some remote debug enable/disable commands;
5 years ago
Bryan Biedenkapp f899af0680 correct some inconsistencies with the V.24-like packet implementation;
5 years ago
Bryan Biedenkapp 268783e89d fix issue with incorrect handling of U_DREG;
5 years ago
Bryan Biedenkapp 3375748224 fix incorrect handling of GRP_VH_REQ during a network voice call;
5 years ago
Bryan Biedenkapp 3c8d747538 enhance activity logging to support including deny and reject events; fix some activity logging issues;
5 years ago
Bryan Biedenkapp a5f11a4aad display whether or not voice traffic is encrypted in the activity log;
5 years ago
Bryan Biedenkapp 28bb91fbd2 fix issue where erroneous CALL_TERM would be transmitted; support SCCB_EXP for when there is more then one CC at a site;
5 years ago
Bryan Biedenkapp 4b3e8de18f add support to selectively do a hex dump of the TSBK, TDULC or DMR CSBK bytes for encode/decode; add appropriate P25 PDU response packet; correct CRC-9 table and implementation (although I believe its still wrong); add support to adjust engineering parameters for symbol levels; add support to selectively disable P25 ACK responses for some TSBKs;
5 years ago
Bryan Biedenkapp 91158f84da make incorrect/possible sync word messages normal warnings; add support for air interface firmware level P25 NAC checking; add support to enable/disable selectable modem debug in calibration mode; add display of possible sync bytes to the calibration mode for P25; comment out unused variable (for now) causing compilation warning; ensure P25_DENY_RSN_PTT_BONK is transmitted as a denial for a group grant when the channel is in use;
5 years ago
Bryan Biedenkapp 75facc7297 make the modem playout timer configurable; fix magic number in regards to queue resizing; adjust default config to have a data queue size of 5000 for DMR and P25; correct some minor HDU state handling issues;
5 years ago
Bryan Biedenkapp 5ec7330423 correct some issues with software voting in conditions where two RF sites overlap;
5 years ago
Bryan Biedenkapp 024a28f0a3 debug mode message enhancment; ensure buffer is zeroed before reuse;
5 years ago
Bryan Biedenkapp 8feecf49ec correct RF talkgroup hang timer (allows the local RF to steer the talkgroup); fix labeling for the preamble and DMR Rx Delay; correct TDU preamble before voice transmission in P25;
6 years ago
Bryan Biedenkapp 95364cbcf1 implement support for auto-affiliating units who can't affiliate in "enhanced" mode; better handle generating MBF CC data;
6 years ago
Bryan Biedenkapp 9cc117d30c inital commit from private repo to public;
6 years ago

Powered by TurnKey Linux.