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

support alternative modulation types

This commit is contained in:
internal 2023-07-31 22:31:23 +02:00
parent 4d087a3b8c
commit 9698b87204

View File

@ -494,18 +494,21 @@ static int set_parameters(struct dvb_frontend *fe)
stop_iq(fe); stop_iq(fe);
switch (p->modulation) { switch (p->modulation) {
case APSK_256: case APSK_256:
case APSK_256_L:
mask = 0x7f; mask = 0x7f;
break; break;
case APSK_128: case APSK_128:
mask = 0x3f; mask = 0x3f;
break; break;
case APSK_64: case APSK_64:
case APSK_64_L:
mask = 0x1f; mask = 0x1f;
break; break;
case APSK_32: case APSK_32:
mask = 0x0f; mask = 0x0f;
break; break;
case APSK_16: case APSK_16:
case APSK_16_L:
mask = 0x07; mask = 0x07;
break; break;
default: default: