Skip to contentSkip to conversation

dvb-core: set default properties of ISDB-S

PATCH New [email protected] 1 participant 1 message Oct 31, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dvb-core: set default properties of ISDB-S

From: Akihiro Tsukada <[email protected]>

---
 drivers/media/dvb-core/dvb_frontend.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/media/dvb-core/dvb_frontend.c +6 -0
index c862ad7..95d6296 100644
@@ -962,6 +962,11 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
 	case SYS_ATSC:
 		c->modulation = VSB_8;
 		break;
+	case SYS_ISDBS:
+		c->symbol_rate = 28860000;
+		c->rolloff = ROLLOFF_35;
+		c->bandwidth_hz = c->symbol_rate / 100 * 135;
+		break;
 	default:
 		c->modulation = QAM_AUTO;
 		break;
@@ -2074,6 +2079,7 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
 		break;
 	case SYS_DVBS:
 	case SYS_TURBO:
+	case SYS_ISDBS:
 		rolloff = 135;
 		break;
 	case SYS_DVBS2:
Signature · 1 line
2.1.3