|
@@ -203,6 +203,7 @@
|
|
|
#include "wlan_hdd_bus_bandwidth.h"
|
|
|
#include "wlan_hdd_medium_assess.h"
|
|
|
#include "wlan_hdd_eht.h"
|
|
|
+#include <linux/bitfield.h>
|
|
|
|
|
|
#ifdef MODULE
|
|
|
#define WLAN_MODULE_NAME module_name(THIS_MODULE)
|
|
@@ -2321,7 +2322,7 @@ static void hdd_extract_fw_version_info(struct hdd_context *hdd_ctx)
|
|
|
(defined(CFG80211_SBAND_IFTYPE_DATA_BACKPORT) || \
|
|
|
(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)))
|
|
|
|
|
|
-#if defined(CONFIG_BAND_6GHZ) && (KERNEL_VERSION(5, 8, 0) <= LINUX_VERSION_CODE)
|
|
|
+#if defined(CONFIG_BAND_6GHZ) && (defined(IEEE80211_HE_6GHZ_CAP_MIN_MPDU_START))
|
|
|
static void hdd_update_wiphy_he_6ghz_capa(struct hdd_context *hdd_ctx)
|
|
|
{
|
|
|
uint16_t he_6ghz_capa = 0;
|