Browse Source

Add support for Griffin CAS and DGCrypt CAS.

Georgi Chorbadzhiyski 7 years ago
parent
commit
beed129074
2 changed files with 6 additions and 0 deletions
  1. 4 0
      cat.c
  2. 2 0
      tsdata.h

+ 4 - 0
cat.c View File

@@ -196,6 +196,8 @@ enum CA_system ts_get_CA_sys(uint16_t CA_id) {
196 196
 	if (CA_id >= 0x1800 && CA_id <= 0x18FF) return CA_NAGRA;
197 197
 	if (CA_id >= 0x4AE0 && CA_id <= 0x4AE1) return CA_DRECRYPT;
198 198
 	if (CA_id == 0x5581 || CA_id == 0x4AEE) return CA_BULCRYPT;
199
+	if (CA_id == 0x5501 || CA_id == 0x5504 || CA_id == 0x5511) return CA_GRIFFIN;
200
+	if (CA_id == 0x4ABF) return CA_DGCRYPT;
199 201
 	return CA_UNKNOWN;
200 202
 }
201 203
 
@@ -211,6 +213,8 @@ char * ts_get_CA_sys_txt(enum CA_system CA_sys) {
211 213
 		case CA_NAGRA:			return "NAGRA";
212 214
 		case CA_DRECRYPT:		return "DRE-CRYPT";
213 215
 		case CA_BULCRYPT:		return "BULCRYPT";
216
+		case CA_GRIFFIN:		return "GRIFFIN";
217
+		case CA_DGCRYPT:		return "DGCRYPT";
214 218
 		case CA_UNKNOWN:		return "UNKNOWN";
215 219
 	}
216 220
 	return "UNKNOWN";

+ 2 - 0
tsdata.h View File

@@ -102,6 +102,8 @@ enum CA_system {
102 102
 	CA_NAGRA,		// 0x1800 - 0x18FF Kudelski SA (Nagravision)
103 103
 	CA_DRECRYPT,	// 0x4AE0 - 0x4AE1 OOO Cifra (DRE-Crypt)
104 104
 	CA_BULCRYPT,	// 0x5581 & 0x4AEE Bulcrypt
105
+	CA_GRIFFIN,		// 0x5501 & 0x5504 & 0x5511 Griffin (Not in dvbservices.com registration)
106
+	CA_DGCRYPT,		// 0x4ABF          DGCrypt (Beijing Compunicate Technology Inc.)
105 107
 	CA_UNKNOWN,
106 108
 };
107 109