Procházet zdrojové kódy

qcacld-3.0: Rename HDD identifier wmmAcUapsdServiceInterval

The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdServiceInterval to be compliant.

Change-Id: I93337f46663e40521b6baf467abcff59cca98cc8
CRs-Fixed: 2414520
Jeff Johnson před 6 roky
rodič
revize
e8f3a77500
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2 2
      core/hdd/inc/wlan_hdd_wmm.h
  2. 2 2
      core/hdd/src/wlan_hdd_wmm.c

+ 2 - 2
core/hdd/inc/wlan_hdd_wmm.h

@@ -145,7 +145,7 @@ struct hdd_wmm_qos_context {
  * @is_uapsd_info_valid - are the UAPSD-related fields valid?
  * @tspec - current (possibly aggregate) Tspec for this AC
  * @is_uapsd_enabled - is UAPSD enabled on this AC?
- * @wmmAcUapsdServiceInterval - service interval for this AC
+ * @uapsd_service_interval - service interval for this AC
  * @wmmAcUapsdSuspensionInterval - suspension interval for this AC
  * @wmmAcUapsdDirection - direction for this AC
  * @wmmInactivityTime - inactivity time for this AC
@@ -163,7 +163,7 @@ struct hdd_wmm_ac_status {
 	bool is_uapsd_info_valid;
 	struct sme_qos_wmmtspecinfo tspec;
 	bool is_uapsd_enabled;
-	uint32_t wmmAcUapsdServiceInterval;
+	uint32_t uapsd_service_interval;
 	uint32_t wmmAcUapsdSuspensionInterval;
 	enum sme_qos_wmm_dir_type wmmAcUapsdDirection;
 

+ 2 - 2
core/hdd/src/wlan_hdd_wmm.c

@@ -150,7 +150,7 @@ static void hdd_wmm_enable_tl_uapsd(struct hdd_wmm_qos_context *qos_context)
 
 	/* if we have previously enabled U-APSD, have any params changed? */
 	if ((ac->is_uapsd_info_valid) &&
-	    (ac->wmmAcUapsdServiceInterval == service_interval) &&
+	    (ac->uapsd_service_interval == service_interval) &&
 	    (ac->wmmAcUapsdSuspensionInterval == suspension_interval) &&
 	    (ac->wmmAcUapsdDirection == direction) &&
 	    (ac->is_uapsd_enabled == psb)) {
@@ -176,7 +176,7 @@ static void hdd_wmm_enable_tl_uapsd(struct hdd_wmm_qos_context *qos_context)
 	}
 	/* stash away the parameters that were used */
 	ac->is_uapsd_info_valid = true;
-	ac->wmmAcUapsdServiceInterval = service_interval;
+	ac->uapsd_service_interval = service_interval;
 	ac->wmmAcUapsdSuspensionInterval = suspension_interval;
 	ac->wmmAcUapsdDirection = direction;
 	ac->is_uapsd_enabled = psb;