Work Around:
When RX_AKSV is received continuously (more than 4 times) and when Rx Encrypted status = 0, Initializing RX part again.
Before Fix(rep_notify.c) | After Fix(rep_notify.c) |
---|---|
#if 1 //A_TV_ STATIC UCHAR RxEncOn = 0; STATIC UCHAR RxEncErrCnt = 0; #endif |
|
case REP_EVENT_RX_ENC_CHANGED: if (!(RepParm.Flags & REP_FLAG_USE_FAST_SWITCHING)) { if (EventInfo == 0) { SPLITTER_START ADIAPI_RepTxHdcpVarInit(); ADIAPI_TxHdcpEnable(FALSE, FALSE); SPLITTER_END } } /*================================================== * Enable/Disable FS when FG port is encrypted/not *=================================================*/ ProcessFgPortEnc(); break; |
case REP_EVENT_RX_ENC_CHANGED: if (!(RepParm.Flags & REP_FLAG_USE_FAST_SWITCHING)) { if (EventInfo == 0) { SPLITTER_START ADIAPI_RepTxHdcpVarInit(); ADIAPI_TxHdcpEnable(FALSE, FALSE); SPLITTER_END } } /*================================================== * Enable/Disable FS when FG port is encrypted/not *=================================================*/ ProcessFgPortEnc(); #if 1 //A_TV_ RxEncOn = EventInfo; #endif break; |
#if 1 //A_TV_ case REP_EVENT_RX_AKSV: if (RxEncOn == 0) { RxEncErrCnt ++; if (RxEncErrCnt >= 5) { REP_RxSoftwareInit(); /* Initialize Repeater software (RX part) */ RxApi_HdmiHardwareInit(); /* Initialize RX hw for HDMI operation */ REP_RxHardwareInit(); /* Initialize RX hw for repeater operation */ REP_APP_MSG ("APP: Reset RX part \n\r"); RxEncErrCnt = 0; } } else { RxEncErrCnt = 0; } break; #endif |