qcacld-3.0: Fix ofdm and cck flag info for mon mode data packets
Currently cck and ofdm flags are filled wrongly for monitor mode data packets based on preamble and wireshark deriving incorrect phy type for 11G & 11B. This change is to update cck and ofdm flags based on packet type. Change-Id: I5fcdc463ea2a6d83253e39cc377a2471aeb4e144 CRs-Fixed: 3447567
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ad21e755af
commit
4466690e00
@@ -43,6 +43,8 @@
|
||||
#define IEEE80211_RADIOTAP_HE_DATA1_STBC_KNOWN 0x0200
|
||||
#endif
|
||||
|
||||
#define HAL_TX_PKT_TYPE_11B 1
|
||||
|
||||
/**
|
||||
* enum pkt_capture_data_process_type - data pkt types to process
|
||||
* for packet capture mode
|
||||
|
@@ -209,9 +209,9 @@ static void pkt_capture_tx_get_phy_info(
|
||||
break;
|
||||
}
|
||||
|
||||
if (preamble == 0)
|
||||
if (preamble_type != HAL_TX_PKT_TYPE_11B)
|
||||
tx_status->ofdm_flag = 1;
|
||||
else if (preamble == 1)
|
||||
else
|
||||
tx_status->cck_flag = 1;
|
||||
|
||||
tx_status->mcs = mcs;
|
||||
@@ -733,9 +733,9 @@ static void pkt_capture_rx_get_phy_info(void *context, void *psoc,
|
||||
break;
|
||||
}
|
||||
|
||||
if (preamble == 0)
|
||||
if (preamble_type != HAL_RX_PKT_TYPE_11B)
|
||||
rx_status->ofdm_flag = 1;
|
||||
else if (preamble == 1)
|
||||
else
|
||||
rx_status->cck_flag = 1;
|
||||
|
||||
rx_status->bw = bw;
|
||||
|
Reference in New Issue
Block a user