Skip guard bands and null subcarrier in get_csi(). Add beta and csi metadata to stream tag from frame equalizer.

This commit is contained in:
Anton Ottosson
2021-07-09 19:34:29 +02:00
parent 0b095e0ff7
commit 4a3f387d6d
2 changed files with 12 additions and 1 deletions
+10 -1
View File
@@ -42,5 +42,14 @@ const gr_complex base::POLARITY[127] = {
-1, 1,-1,-1,-1, 1, 1, 1,-1,-1,-1,-1,-1,-1,-1 };
const gr_complex* base::get_csi() {
return d_H;
static gr_complex csi[52];
int j = 0;
for (int i = 0; i < 64; i++) {
if ((i == 32) || (i < 6) || (i > 58)) {
continue;
}
csi[j] = d_H[i];
j++;
}
return csi;
}