Commit graph

53 commits

Author SHA1 Message Date
William van de Velde
51173a5508 Fix the emm updates for seca, the break was accidently removed when adding support for dre cards. 2011-12-13 19:42:21 +01:00
Andreas Öman
920de31efe Send our id (0x6502) in cwc login. Can be used by servers to identify Tvheadend 2011-05-25 08:39:59 +02:00
Andreas Öman
24b7b2ed15 Check and act on return values from write() 2011-05-04 13:45:31 +02:00
Lars Op den Kamp
90e35703b9 implement emm updates for nagra and nds. credits: neoen 2011-04-18 03:57:24 +08:00
Andreas Öman
6fa99fbd59 Replace deprecated DES_key_sched() with DES_set_key_unchecked() 2011-01-25 23:47:59 +01:00
Andreas Öman
5b640b2ed0 Keep CWC in a separate lock domain to avoid waiting for global_lock 2011-01-25 22:58:00 +01:00
Lars Op den Kamp
a137baf845 fix typo in cwc 2011-01-19 09:32:49 +01:00
Andreas Öman
82d18a3872 * DRECrypt update emm (testing on OSCAM)
* fix for Long ECM for russian provider NTV+ (take from vdr-sc plugin systems/cardclient/newcamd.c)
* correct identification cards Drecrypt
2011-01-03 23:55:57 +01:00
Jonas Larsson
6eb145697d Add support for viaccess EMMs 2011-01-01 01:38:11 +01:00
Andreas Öman
e9066e71e5 Use OpenSSL for CWC's DES and MD5 password hashing 2010-12-29 23:03:23 +00:00
Andreas Öman
123a261f4b Rename th_stream -> elementary_stream 2010-11-29 20:13:54 +00:00
Andreas Öman
85132732b6 Rename transport -> service 2010-11-29 20:06:52 +00:00
Andreas Öman
42adea653d Rename tvhead.h -> tvheadend.h 2010-11-29 19:25:24 +00:00
Andreas Öman
b458766831 % -> %s 2010-10-08 21:07:09 +00:00
Benjamin Larsson
997aeb9791 Add from where we get the keys in the log. 2010-10-08 21:02:26 +00:00
Andreas Öman
3f68bb68aa Make sure the descrambling fifo is really flushed before switching keys 2010-07-03 08:07:39 +00:00
Andreas Öman
486291c4f6 Avoid updating CW while we are building the cluster to descramble 2010-07-02 14:59:52 +00:00
Andreas Öman
2b7231cd76 Log CWC request delay 2010-07-02 11:30:50 +00:00
Andreas Öman
3db2a37b25 Avoid mixing up keys from different pids 2010-06-27 22:17:24 +00:00
Andreas Öman
e5f04e7514 Avoid unnecessary assignment 2010-06-27 21:22:49 +00:00
Andreas Öman
119a154e1d Don't whine about "unknown card". We already say that in a better way in another log message 2010-06-24 12:20:17 +00:00
Andreas Öman
14ff47028b Maintain the order of PIDs as they appear in the PMT. Fixes bug #218 2010-06-04 20:33:16 +00:00
Andreas Öman
0545ca3b81 Add support for SECA EMMs
Ticket #139
2010-03-23 20:55:43 +00:00
Andreas Öman
e472434d01 Add support for Irdeto EMM
Patch by: opdenkamp
2010-03-21 10:47:17 +00:00
Andreas Öman
bdb3e95818 Fix incorrect CAID compare causing CW client to not work at all
Embarrassing...
2010-03-21 09:14:21 +00:00
Andreas Öman
d167cada79 Add support for multiple CAIDs per PID 2010-03-19 23:49:00 +00:00
Andreas Öman
83d087e205 Cosmetics 2010-03-17 19:13:59 +00:00
Andreas Öman
e1d4e3c1be Increase CWC_NETMSGSIZE 2010-02-12 19:08:42 +00:00
Andreas Öman
702297ecfe log which CWC entry we use when starting a transport 2010-01-24 22:43:35 +00:00
Andreas Öman
da7c2fc536 Only deal with ECM multi sections on irdeto 2010-01-16 23:29:52 +00:00
Andreas Öman
730eecc5ae Better handling of ECM sections vs. channels and negative ack from card server 2010-01-16 23:26:30 +00:00
Andreas Öman
4d992cca57 Fix MPEG TS section reassembly code
Const'ify lots of places where we pass transport stream blocks
2010-01-16 21:51:43 +00:00
Andreas Öman
b07f75228e Support multichannel ECM 2010-01-11 22:53:35 +00:00
Andreas Öman
10697016d8 Add a log message if we get an unexpected ECM reply 2009-12-20 22:25:43 +00:00
Andreas Öman
a544a46099 Avoid ECM buffer overruns 2009-12-20 22:22:13 +00:00
Sarge
2056c0544b Only check msb byte in caid 2009-12-08 17:33:56 +00:00
Sarge
9ec995ced3 Check that server will accept EMMs 2009-11-18 19:37:26 +00:00
Sarge
16e4f4b6c1 Only send EMM once per cwc 2009-11-18 19:33:51 +00:00
Andreas Öman
54bd74cae4 Better scheduling of blocks to descrambler == less CPU usage 2009-11-17 21:57:35 +00:00
Andreas Öman
64a134fba2 Filter EMMs 2009-11-16 22:27:44 +00:00
Andreas Öman
60a0d2e36f Experimental support for sending EMM.
Don't enable unless you know what you are doing
2009-11-15 21:25:55 +00:00
Andreas Öman
1778b4edd3 Add config option whether or not we sound send EMM to card server 2009-11-15 21:19:06 +00:00
sb1066
e71fbf5cb0 Announce the connection status of a server to the webui 2009-10-25 12:26:17 +00:00
Andreas Öman
77fd1342c4 Fix spelling error 2009-10-09 20:46:20 +00:00
Andreas Öman
af53c5f812 Improve debug logging quite a bit 2009-10-09 20:26:17 +00:00
Andreas Öman
5c04d66946 Support cards that only returns even OR odd control words 2009-09-17 20:22:25 +00:00
Andreas Öman
7cab70e1e5 * Rewrork the CWC reconnection strategy.
If there are active subscription, Tvheadend will attempt to reconnect
    immediately and then retry every three seconds.
    If no subscription is active a reconnection attempt is performed
    every minute.
    Also, if any CWC configuration changes are made from the UI, Tvheadend
    will try to reconnect directly.
2009-07-26 10:11:43 +00:00
Andreas Öman
2fcb7fe72b * Add exponential backoff for reconnect attempt in code word client.
Ticket #80
2009-07-18 19:10:49 +00:00
Andreas Öman
891ed4eb1a Verify that cwc utilize correct ECM stream based on provider id. 2009-07-13 20:36:51 +00:00
Andreas Öman
206767ac3a Rewrite internal streaming pipeline so it is fully message driven.
No ugly callbacks and weird locking scenarios no more.

Addresses ticket #15
2009-06-03 19:06:33 +00:00