ieee80211: Beamforming fixes

This commit is contained in:
Richard Sharpe 2022-11-16 15:06:09 -08:00
parent 06b4a84901
commit ee4703094f
1 changed files with 0 additions and 12 deletions

View File

@ -15254,18 +15254,6 @@ dissect_he_feedback_matrix(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
if (nc == nr) /* If they are the same, reduce Nc by one */
nc -= 1;
/*
* Figure out how many bits we need
*/
for (ci = 1; ci <= nc; ci++) {
for (ri = ci; ri < nr; ri++) {
bit_offset += phi_bits;
}
for (ri = ci + 1; ri <= nr; ri++) {
bit_offset += psi_bits;
}
}
wmem_strbuf_append_printf(angles, "%d", scidx);
/* Reset to the start bit offset */
bit_offset = start_bit_offset;