qcacld-3.0: Enable RX FCS reporting

fcs_err_count member of structure station_info
introduced from kernel 4.20.
Enable it accordingly from 4.20.

Change-Id: Ic373cb4f95a9698c8ef25c829f39bd21cd8f4a26
CRs-Fixed: 3183697
This commit is contained in:
Lin Bai
2022-04-27 11:48:05 +08:00
committed by Madan Koyyalamudi
parent 902acfabaa
commit 163809b25b

View File

@@ -5691,7 +5691,8 @@ void hdd_wlan_fill_per_chain_rssi_stats(struct station_info *sinfo,
} }
#endif #endif
#if defined(CFG80211_RX_FCS_ERROR_REPORTING_SUPPORT) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 20, 0)) || \
defined(CFG80211_RX_FCS_ERROR_REPORTING_SUPPORT)
static void hdd_fill_fcs_and_mpdu_count(struct hdd_adapter *adapter, static void hdd_fill_fcs_and_mpdu_count(struct hdd_adapter *adapter,
struct station_info *sinfo) struct station_info *sinfo)
{ {