support alternative modulation types

This commit is contained in:
internal 2023-07-31 22:31:23 +02:00
parent e5072debc0
commit 0bafbf534f
1 changed files with 3 additions and 0 deletions

View File

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