qcacld-3.0: Fix no member named 'he_gi' compile issue
As for kernel-5.4, data struct cfg80211_bitrate_mask has no member named 'he_gi', but kernel-5.10 has it. So change the kernel version to fix the compile issue. Change-Id: If79ea7af98964c1cfb7ded02549f7014d0024f9f CRs-Fixed: 3108741
This commit is contained in:

committed by
Madan Koyyalamudi

parent
3d0a37a479
commit
5d0487a1a4
@@ -23179,7 +23179,7 @@ static int __wlan_hdd_cfg80211_set_bitrate_mask(struct wiphy *wiphy,
|
||||
struct hdd_context *hdd_ctx = wiphy_priv(wiphy);
|
||||
uint8_t vdev_id;
|
||||
uint8_t gi_val;
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(5, 4, 0))
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(5, 10, 0))
|
||||
uint8_t auto_rate_he_gi = 0;
|
||||
#endif
|
||||
|
||||
@@ -23257,7 +23257,7 @@ configure_fw:
|
||||
}
|
||||
|
||||
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(5, 4, 0))
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(5, 10, 0))
|
||||
if (NL80211_RATE_INFO_HE_GI_0_8 == mask->control[band].he_gi) {
|
||||
auto_rate_he_gi = AUTO_RATE_GI_800NS;
|
||||
gi_val = 1;
|
||||
|
Reference in New Issue
Block a user