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