|
@@ -148,7 +148,7 @@ typedef enum {
|
|
|
MODE_11AX_HE80_2G = 23,
|
|
|
#endif
|
|
|
|
|
|
-#if SUPPORT_11BE
|
|
|
+#if defined(SUPPORT_11BE) && SUPPORT_11BE
|
|
|
MODE_11BE_EHT20 = 24,
|
|
|
MODE_11BE_EHT40 = 25,
|
|
|
MODE_11BE_EHT80 = 26,
|
|
@@ -242,7 +242,7 @@ typedef enum {
|
|
|
((mode) == MODE_11AX_HE80_2G))
|
|
|
#endif /* SUPPORT_11AX */
|
|
|
|
|
|
-#if SUPPORT_11BE
|
|
|
+#if defined(SUPPORT_11BE) && SUPPORT_11BE
|
|
|
#define IS_MODE_EHT(mode) (((mode) == MODE_11BE_EHT20) || \
|
|
|
((mode) == MODE_11BE_EHT40) || \
|
|
|
((mode) == MODE_11BE_EHT80) || \
|