Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c42c2e7a authored by Lin Bai's avatar Lin Bai Committed by Gerrit - the friendly Code Review server
Browse files

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
parent d4ed34e1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5641,7 +5641,8 @@ void hdd_wlan_fill_per_chain_rssi_stats(struct station_info *sinfo,
}
#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,
					struct station_info *sinfo)
{