diff --git a/fw/wlan_defs.h b/fw/wlan_defs.h index f5f327365f03..beeb87b17a75 100755 --- a/fw/wlan_defs.h +++ b/fw/wlan_defs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2016, 2018 The Linux Foundation. All rights reserved.* + * Copyright (c) 2013-2016, 2018-2019 The Linux Foundation. All rights reserved.* * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -208,6 +208,7 @@ typedef enum { ((mode) == MODE_11AC_VHT80)) #endif +#if SUPPORT_11AX #define IS_MODE_HE(mode) (((mode) == MODE_11AX_HE20) || \ ((mode) == MODE_11AX_HE40) || \ ((mode) == MODE_11AX_HE80) || \ @@ -216,6 +217,10 @@ typedef enum { ((mode) == MODE_11AX_HE20_2G) || \ ((mode) == MODE_11AX_HE40_2G) || \ ((mode) == MODE_11AX_HE80_2G)) +#define IS_MODE_HE_2G(mode) (((mode) == MODE_11AX_HE20_2G) || \ + ((mode) == MODE_11AX_HE40_2G) || \ + ((mode) == MODE_11AX_HE80_2G)) +#endif /* SUPPORT_11AX */ #define IS_MODE_VHT_2G(mode) (((mode) == MODE_11AC_VHT20_2G) || \ ((mode) == MODE_11AC_VHT40_2G) || \