Parcourir la source

qcacld-3.0: Replace WME_AC_* macros with QCA_WLAN_AC_*

Replace WME_AC_* macros with QCA_WLAN_AC_*.

Change-Id: I359a8afa48ae6697df41d8f832195c918d57e0ae
CRs-Fixed: 2421732
Srinivas Girigowda il y a 6 ans
Parent
commit
167ea82cab

+ 4 - 4
components/fw_offload/dispatcher/inc/cfg_fwol_generic.h

@@ -96,10 +96,10 @@
  * Firmware by default categorizes ARP packets with VOICE TID.
  * This ini shall be used to override the default configuration.
  * Access category enums are referenced in ieee80211_common.h
- * WME_AC_BE = 0 (Best effort)
- * WME_AC_BK = 1 (Background)
- * WME_AC_VI = 2 (Video)
- * WME_AC_VO = 3 (Voice)
+ * QCA_WLAN_AC_BE = 0 (Best effort)
+ * QCA_WLAN_AC_BK = 1 (Background)
+ * QCA_WLAN_AC_VI = 2 (Video)
+ * QCA_WLAN_AC_VO = 3 (Voice)
  *
  * Related: none
  *

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

@@ -2366,7 +2366,7 @@ static int __iw_softap_get_ba_timeout(struct net_device *dev,
 {
 	int errno;
 	uint8_t ac_cat = 4;
-	uint32_t duration[WME_AC_MAX], i;
+	uint32_t duration[QCA_WLAN_AC_ALL], 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

@@ -7095,7 +7095,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_MAX], i;
+		uint32_t duration[QCA_WLAN_AC_ALL], i;
 		void *soc = cds_get_context(QDF_MODULE_ID_SOC);
 
 		if (!soc) {

+ 4 - 4
core/wma/src/wma_mgmt.c

@@ -2639,16 +2639,16 @@ QDF_STATUS wma_process_update_edca_param_req(WMA_HANDLE handle,
 
 	for (ac = 0; ac < WME_NUM_AC; ac++) {
 		switch (ac) {
-		case WME_AC_BE:
+		case QCA_WLAN_AC_BE:
 			edca_record = &edca_params->acbe;
 			break;
-		case WME_AC_BK:
+		case QCA_WLAN_AC_BK:
 			edca_record = &edca_params->acbk;
 			break;
-		case WME_AC_VI:
+		case QCA_WLAN_AC_VI:
 			edca_record = &edca_params->acvi;
 			break;
-		case WME_AC_VO:
+		case QCA_WLAN_AC_VO:
 			edca_record = &edca_params->acvo;
 			break;
 		default: