Skip to content

Commit

Permalink
tas2101: Extend modcodes with 16/32APS.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycat69 authored and ljalves committed Feb 25, 2014
1 parent 869bb48 commit 5c665e0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/tas2101.c
Expand Up @@ -668,7 +668,7 @@ static int tas2101_get_frontend(struct dvb_frontend *fe)
reg += 5;
}

if (reg > 22) {
if (reg > 33) {
dev_dbg(&priv->i2c->dev, "%s() Unable to get current delivery"
" system and mode.\n", __func__);
reg = 0;
Expand Down
13 changes: 13 additions & 0 deletions drivers/media/dvb-frontends/tas2101_priv.h
Expand Up @@ -232,6 +232,19 @@ static struct tas2101_modfec tas2101_modfec_modes[] = {
{ SYS_DVBS2, PSK_8, FEC_5_6 },
{ SYS_DVBS2, PSK_8, FEC_8_9 },
{ SYS_DVBS2, PSK_8, FEC_9_10 },

{ SYS_DVBS2, APSK_16, FEC_2_3 },
{ SYS_DVBS2, APSK_16, FEC_3_4 },
{ SYS_DVBS2, APSK_16, FEC_4_5 },
{ SYS_DVBS2, APSK_16, FEC_5_6 },
{ SYS_DVBS2, APSK_16, FEC_8_9 },
{ SYS_DVBS2, APSK_16, FEC_9_10 },

{ SYS_DVBS2, APSK_32, FEC_3_4 },
{ SYS_DVBS2, APSK_32, FEC_4_5 },
{ SYS_DVBS2, APSK_32, FEC_5_6 },
{ SYS_DVBS2, APSK_32, FEC_8_9 },
{ SYS_DVBS2, APSK_32, FEC_9_10 },
};

#endif /* TAS2101_PRIV_H */

0 comments on commit 5c665e0

Please sign in to comment.