@@ -547,6 +547,10 @@ static void allocate_tx_bpf(struct OFDM *ofdm) {
547547 quisk_filt_cfInit (ofdm -> tx_bpf , filtP900S1100 , sizeof (filtP900S1100 ) / sizeof (float ));
548548 quisk_cfTune (ofdm -> tx_bpf , ofdm -> tx_centre / ofdm -> fs );
549549 }
550+ else if (!strcmp (ofdm -> mode , "2020B" )) {
551+ quisk_filt_cfInit (ofdm -> tx_bpf , filtP1100S1300 , sizeof (filtP1100S1300 ) / sizeof (float ));
552+ quisk_cfTune (ofdm -> tx_bpf , ofdm -> tx_centre / ofdm -> fs );
553+ }
550554 else if (!strcmp (ofdm -> mode , "datac0" ) || !strcmp (ofdm -> mode , "datac3" )) {
551555 quisk_filt_cfInit (ofdm -> tx_bpf , filtP400S600 , sizeof (filtP400S600 ) / sizeof (float ));
552556 quisk_cfTune (ofdm -> tx_bpf , ofdm -> tx_centre / ofdm -> fs );
@@ -941,7 +945,7 @@ void ofdm_hilbert_clipper(struct OFDM *ofdm, complex float *tx, size_t n) {
941945 /* BPF to remove out of band energy clipper introduces */
942946 if (ofdm -> tx_bpf_en ) {
943947 assert (!strcmp (ofdm -> mode , "700D" ) || !strcmp (ofdm -> mode , "700E" )
944- || !strcmp (ofdm -> mode , "2020" ) || !strcmp (ofdm -> mode , "2020A" )
948+ || !strcmp (ofdm -> mode , "2020" ) || !strcmp (ofdm -> mode , "2020A" ) || ! strcmp ( ofdm -> mode , "2020B" )
945949 || !strcmp (ofdm -> mode , "datac0" ) || !strcmp (ofdm -> mode , "datac3" ));
946950 assert (ofdm -> tx_bpf != NULL );
947951 complex float tx_filt [n ];
0 commit comments