|
@@ -982,6 +982,7 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
|
|
|
}
|
|
|
|
|
|
c->stream_id = NO_STREAM_ID_FILTER;
|
|
|
+ c->scrambling_sequence_index = 0;/* default sequence */
|
|
|
|
|
|
switch (c->delivery_system) {
|
|
|
case SYS_DVBS:
|
|
@@ -1072,6 +1073,7 @@ static struct dtv_cmds_h dtv_cmds[DTV_MAX_COMMAND + 1] = {
|
|
|
|
|
|
_DTV_CMD(DTV_STREAM_ID, 1, 0),
|
|
|
_DTV_CMD(DTV_DVBT2_PLP_ID_LEGACY, 1, 0),
|
|
|
+ _DTV_CMD(DTV_SCRAMBLING_SEQUENCE_INDEX, 1, 0),
|
|
|
_DTV_CMD(DTV_LNA, 1, 0),
|
|
|
|
|
|
/* Get */
|
|
@@ -1417,6 +1419,11 @@ static int dtv_property_process_get(struct dvb_frontend *fe,
|
|
|
tvp->u.data = c->stream_id;
|
|
|
break;
|
|
|
|
|
|
+ /* Physical layer scrambling support */
|
|
|
+ case DTV_SCRAMBLING_SEQUENCE_INDEX:
|
|
|
+ tvp->u.data = c->scrambling_sequence_index;
|
|
|
+ break;
|
|
|
+
|
|
|
/* ATSC-MH */
|
|
|
case DTV_ATSCMH_FIC_VER:
|
|
|
tvp->u.data = fe->dtv_property_cache.atscmh_fic_ver;
|
|
@@ -1900,6 +1907,11 @@ static int dtv_property_process_set(struct dvb_frontend *fe,
|
|
|
c->stream_id = data;
|
|
|
break;
|
|
|
|
|
|
+ /* Physical layer scrambling support */
|
|
|
+ case DTV_SCRAMBLING_SEQUENCE_INDEX:
|
|
|
+ c->scrambling_sequence_index = data;
|
|
|
+ break;
|
|
|
+
|
|
|
/* ATSC-MH */
|
|
|
case DTV_ATSCMH_PARADE_ID:
|
|
|
fe->dtv_property_cache.atscmh_parade_id = data;
|