Browse Source

qcacld-3.0: Remove duplicate WME_AC_* macros

Remove duplicate WME_AC_* macros.

Change-Id: Iedd17289974b5c017c9ea76501fa746e4ef5ca2c
CRs-Fixed: 2395980
Srinivas Girigowda 6 years ago
parent
commit
3105e4db2d

+ 0 - 7
core/cds/inc/cds_ieee80211_common.h

@@ -202,13 +202,6 @@ struct ieee80211_extendedchannelswitch_ie {
 	uint8_t tbttcount;
 } __packed;
 
-/* WME stream classes */
-#define WME_AC_BE                          0    /* best effort */
-#define WME_AC_BK                          1    /* background */
-#define WME_AC_VI                          2    /* video */
-#define WME_AC_VO                          3    /* voice */
-#define WME_AC_NUM                         4
-
 /*
  * Reason codes
  *

+ 1 - 1
core/hdd/src/wlan_hdd_hostapd_wext.c

@@ -2429,7 +2429,7 @@ static int __iw_softap_get_ba_timeout(struct net_device *dev,
 {
 	int errno;
 	uint8_t ac_cat = 4;
-	uint32_t duration[WME_AC_NUM], i;
+	uint32_t duration[WME_AC_MAX], i;
 	void *soc = cds_get_context(QDF_MODULE_ID_SOC);
 	struct hdd_adapter *adapter;
 	struct hdd_context *hdd_ctx;

+ 1 - 1
core/hdd/src/wlan_hdd_wext.c

@@ -7100,7 +7100,7 @@ static int __iw_get_char_setnone(struct net_device *dev,
 	case WE_GET_BA_AGEING_TIMEOUT:
 	{
 		uint8_t ac_cat = 4;
-		uint32_t duration[WME_AC_NUM], i;
+		uint32_t duration[WME_AC_MAX], i;
 		void *soc = cds_get_context(QDF_MODULE_ID_SOC);
 
 		if (!soc) {