mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 22:35:41 +00:00
added support for QAM1024
This commit is contained in:
parent
636fcd4f97
commit
cf126158b1
2 changed files with 10 additions and 0 deletions
|
|
@ -198,6 +198,8 @@ struct Encoder : public Common
|
|||
return QuadratureAmplitudeModulation<64, cmplx, code_type>::map(b);
|
||||
case 8:
|
||||
return QuadratureAmplitudeModulation<256, cmplx, code_type>::map(b);
|
||||
case 10:
|
||||
return QuadratureAmplitudeModulation<1024, cmplx, code_type>::map(b);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -216,6 +218,8 @@ struct Encoder : public Common
|
|||
return QuadratureAmplitudeModulation<64, cmplx, code_type>::DIST;
|
||||
case 8:
|
||||
return QuadratureAmplitudeModulation<256, cmplx, code_type>::DIST;
|
||||
case 10:
|
||||
return QuadratureAmplitudeModulation<1024, cmplx, code_type>::DIST;
|
||||
}
|
||||
return 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue