1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

add a DVB-S2 22 MSymb mode

This commit is contained in:
none 2020-01-16 10:43:15 +01:00
parent 2c6530aa8d
commit a5d0a9718b
2 changed files with 6 additions and 0 deletions

View File

@ -1519,6 +1519,7 @@ static int mod3_set_sample_rate(struct ddb_mod *mod, u32 rate)
u32 cic, inc; u32 cic, inc;
switch (rate) { switch (rate) {
/* 2^31 * freq*4*cic / 245.76Mhz */
case SYS_DVBT_6: case SYS_DVBT_6:
inc = 1917396114; inc = 1917396114;
cic = 8; cic = 8;
@ -1536,6 +1537,10 @@ static int mod3_set_sample_rate(struct ddb_mod *mod, u32 rate)
inc = 1988410754; inc = 1988410754;
cic = 7; cic = 7;
break; break;
case SYS_DVBS2_22:
inc = 1922389333;
cic = 5;
break;
default: default:
return -EINVAL; return -EINVAL;
} }

View File

@ -41,6 +41,7 @@ enum mod_output_rate {
SYS_DVBT_7, SYS_DVBT_7,
SYS_DVBT_8, SYS_DVBT_8,
SYS_ISDBT_6 = 16, SYS_ISDBT_6 = 16,
SYS_DVBS2_22 = 32,
}; };