Bryan Biedenkapp
263bab56ff
add TSBK getters/setters for authentication data;
3 years ago
Bryan Biedenkapp
9ca29ed209
reorganize TSBK file by opcode (again to make my OCD feel better); implement decoding/encoding support for TSBK LLA commands; refactor how AMBT's are handled and decoded;
3 years ago
Bryan Biedenkapp
0ab831a078
minor reordering of ISP/OSP opcodes by opcode value (just makes my OCD happy);
3 years ago
Bryan Biedenkapp
8e3c1ca49b
fix missed merge conflict non-sense;
3 years ago
Bryan Biedenkapp
f193d39c67
Merge remote-tracking branch 'upstream/master'
3 years ago
Bryan Biedenkapp
008e1615ad
deprecate TIME_DATE_ANNC in favor of TIA-102.AABC-D SYNC_BCAST;
3 years ago
Rosesam
3978bd4b77
Update Trunk.cpp
3 years ago
Rosesam
f6f1514b89
Update TSBK.cpp
3 years ago
Darjeeling
304b0d7c09
Chance (C)
...
Change my lazy attempt to use a pseudonym to a DBA
Add RAD_MON
Forgot to add the Net side of things
Fix sTyLe
Doh
Remove
Push new opcodes so I can make a LLA branch in git
because some idiot forgot to do that before adding stuff
Fix error Made by getting rid of opcodes and adding CR by recommendation
3 years ago
carcarjg
485625cb5b
Merge branch 'DVMProject:master' into master
3 years ago
Bryan Biedenkapp
4cff565650
minor code cleanup;
3 years ago
Bryan Biedenkapp
5446d2b692
cleanup debug code;
3 years ago
Bryan Biedenkapp
56a0980672
minor rework for TSBK_OSP_TIME_DATE_ANN;
3 years ago
carcarjg
4c014085b6
Update P25Defines.h
3 years ago
Bryan Biedenkapp
9c995f858d
code cleanup;
3 years ago
Bryan Biedenkapp
94e28c2c3a
code cleanup;
3 years ago
Darjeeling
7a637bf7c6
For realz this time
3 years ago
Darjeeling
8d4e98a77d
Fixes as requested
3 years ago
Darjeeling
8a63961092
Change from local time to GMT and set LTO to +0
3 years ago
Darjeeling
25d97e0ac5
Add STS_Q_REQ in prep for logic add
...
Add bit masking
3 years ago
Bryan Biedenkapp
59621e7cf4
increase verbose logging;
4 years ago
Bryan Biedenkapp
905b49736a
split unit registration, group affiliation and group grant handling into its own AffiliationLookup class; implement some more NXDN ISP/OSP trunking messages; reorganize how header includes were being done slightly;
4 years ago
Bryan Biedenkapp
99d1de340e
implement (probably wrong) silence threshold handling for NXDN voice; implement site data for NXDN;
4 years ago
Bryan Biedenkapp
9ca505ff5c
[EXPERIMENTAL] implement support for basic NXDN (requires -DENABLE_NXDN_SUPPORT and the v3 nxdn branch firmware!); implement support for handling v3 firmware;
4 years ago
Bryan Biedenkapp
9a4906ecac
implement marking builds with the Git hash automatically; fix issue with DMR CC not terminating when dvmhost is shutting down; fix issue with DMR CC incorrectly transmitting frames; implement DVM specific opcodes that transmit the Git hash over the air;
4 years ago
Bryan Biedenkapp
c7f1d20c3d
experimental support to repeat a TSBK_ISP_EMERG_ALRM_REQ locally;
4 years ago
Bryan Biedenkapp
3d4640d0dd
disable immediate write for P25 grants;
4 years ago
Bryan Biedenkapp
76ecc2f06e
to fix sloosecannon's problem (or try to anyway): lets "de-C90" our source code and use proper dynamic length arrays;
4 years ago
Bryan Biedenkapp
06e3e78a72
correct namespacing to work with really old GCC;
4 years ago
Bryan Biedenkapp
328bd1024d
code reorganization;
4 years ago
Bryan Biedenkapp
3eb787383f
copy the late entry support from parent VoicePacket class to implement queue clear and state resets;
4 years ago
Bryan Biedenkapp
66e6787f33
clarify buffer overflow message; refactor DMR and P25 code for clarity regarding how the queue buffer for the digital protocols works; refactor P25 control channel processing code into the p25::Control class clock function proper; refactor the naming of the network write functions (the naming was confusing); refactor how queue sizes are calculated, instead of using raw bytes an input, use the number of desired frames as input from config.yml; adjust the internal intermediate modem buffer sizes; implement a short delay between P25 CC packets of ~5ms, this is to give the processor time to handle packets inbetween generating CC data frames; refactor PDU handling, we no longer instantly transmit the registration response, instead following spec transmit it ~1 second after the request; implement and use the modem write immediate support for P25 PDUs and some P25 TSDUs; in the case of P25 voice call late entry, ensure we perform the appropriate queue clear and state resets; refactor and consolidate how the end of frame data is written after a voice call on P25;
4 years ago
Bryan Biedenkapp
64d0c770a8
code cleanup;
4 years ago
Bryan Biedenkapp
be231ab3df
remove old patch group code (this code never did what it was supposed and was more of a PoC to test patching, a real implementation will need to be done in the future);
4 years ago
Bryan Biedenkapp
fa26392ff2
remove old patch group code (this code never did what it was supposed and was more of a PoC to test patching, a real implementation will need to be done in the future);
4 years ago
Bryan Biedenkapp
f22f1e76d1
add preliminary work for eventual FNE STC (Site Trunk Controller) support;
4 years ago
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