qcacld-3.0: Fix PHY type of rx legacy packets in packet capture
OFDM and CCK flags should not be set based on frequency. These flags are already filled in pkt_capture_rx_get_phy_info based on preamble. Change-Id: Ie809ee2e3546ed69bedab12d73d408b379d6b73d CRs-Fixed: 2965290
This commit is contained in:

committed by
Madan Koyyalamudi

parent
7e35aa655b
commit
edb92df199
@@ -774,7 +774,6 @@ uint8_t pkt_capture_get_rx_rtap_flags(struct hal_rx_pkt_capture_flags *flags)
|
||||
return rtap_flags;
|
||||
}
|
||||
|
||||
#define CHANNEL_FREQ_5150 5150
|
||||
/**
|
||||
* pkt_capture_rx_mon_get_rx_status() - Get rx status
|
||||
* @context: objmgr vdev
|
||||
@@ -826,11 +825,6 @@ static void pkt_capture_rx_mon_get_rx_status(void *context, void *dp_soc,
|
||||
wlan_reg_chan_band_to_freq(pdev, primary_chan_num, BIT(band));
|
||||
wlan_objmgr_pdev_release_ref(pdev, WLAN_PKT_CAPTURE_ID);
|
||||
|
||||
if (rx_status->chan_freq > CHANNEL_FREQ_5150)
|
||||
rx_status->ofdm_flag = 1;
|
||||
else
|
||||
rx_status->cck_flag = 1;
|
||||
|
||||
pkt_capture_rx_get_phy_info(context, dp_soc, desc, rx_status);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user