mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Fix nss value in rx data packets in packet capture mode
Currently, the value of the nss is filled wrong in radiotap
header of rx data packets received in packet capture mode.
Fix the nss value in rx status in packet capture mode.
Change-Id: I15ceb16869aa15a2191f25feb3ef56625435fe4c
CRs-Fixed: 2932135
This commit is contained in:
parent
21d8527604
commit
189947ab05
1 changed files with 2 additions and 1 deletions
|
|
@ -664,6 +664,7 @@ static void pkt_capture_rx_get_phy_info(void *psoc,
|
|||
rx_status->mcs = mcs;
|
||||
rx_status->bw = bw;
|
||||
rx_status->nr_ant = nss;
|
||||
rx_status->nss = nss;
|
||||
/* is_stbc not available */
|
||||
rx_status->is_stbc = is_stbc;
|
||||
rx_status->sgi = sgi;
|
||||
|
|
@ -671,7 +672,7 @@ static void pkt_capture_rx_get_phy_info(void *psoc,
|
|||
rx_status->ldpc = ldpc;
|
||||
/* beamformed not available */
|
||||
rx_status->beamformed = beamformed;
|
||||
rx_status->vht_flag_values3[0] = mcs << 0x4 | (nss + 1);
|
||||
rx_status->vht_flag_values3[0] = mcs << 0x4 | nss;
|
||||
rx_status->ht_flags = ht_flags;
|
||||
rx_status->vht_flags = vht_flags;
|
||||
rx_status->he_flags = he_flags;
|
||||
|
|
|
|||
Loading…
Reference in a new issue