summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>2023-04-05 12:44:57 +0900
committerPaul Chen <chenpaul@google.com>2023-04-14 13:20:31 +0800
commit875d2d33365613c5ac0ca9ecaed42a58517beac0 (patch)
treeb019035d0e23548268d08efaa1779ecec9cd570b
parentd1664cbf30c2c180d838dea37893c6e32f1c82c0 (diff)
downloadbcm4389-android-gs-bluejay-5.10-u-beta3.tar.gz
Bug: 276978584 Test: Code Drop Test Change-Id: I8df7744efc83d911eea3b2970beb9d9dde45203f Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>
-rw-r--r--wl_cfg80211.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/wl_cfg80211.h b/wl_cfg80211.h
index 83308b2..7c59b26 100644
--- a/wl_cfg80211.h
+++ b/wl_cfg80211.h
@@ -158,6 +158,16 @@ typedef sta_info_v4_t wlcfg_sta_info_t;
#define MSCS_CFG_DEF_TCLAS_MASK 0x5Fu /* TCLAS mask */
#endif /* MSCS_CFG_DEF_TCLAS_MASK */
+#if defined(CONFIG_6GHZ_BKPORT) || (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0))
+/* Native 6GHz band supported available. For Backported
+ * kernels, kernels/customer makefiles should explicitly
+ * define CONFIG_6GHZ_BKPORT
+ */
+#if defined(WL_6G_BAND)
+#define CFG80211_6G_SUPPORT
+#endif
+#endif /* CONFIG_6GHZ_BKPORT || LINUX_VER >= 5.4 */
+
#define CH_TO_CHSPC(band, _channel) \
((_channel | band) | WL_CHANSPEC_BW_20 | WL_CHANSPEC_CTL_SB_NONE)
#define CHAN2G(_channel, _freq, _flags) { \
@@ -260,16 +270,6 @@ typedef sta_info_v4_t wlcfg_sta_info_t;
#endif /* WAIT_FOR_DISCONNECT_MAX */
#define WAIT_FOR_DISCONNECT_STATE_SYNC 10
-#if defined(CONFIG_6GHZ_BKPORT) || (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0))
-/* Native 6GHz band supported available. For Backported
- * kernels, kernels/customer makefiles should explicitly
- * define CONFIG_6GHZ_BKPORT
- */
-#if defined(WL_6G_BAND)
-#define CFG80211_6G_SUPPORT
-#endif
-#endif /* CONFIG_6GHZ_BKPORT || LINUX_VER >= 5.4 */
-
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0))
/* Newer kernels use defines from nl80211.h */
#define IEEE80211_BAND_2GHZ NL80211_BAND_2GHZ