qcacld-3.0: Rename HDD identifier wmmAcAccessPending

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

Change-Id: I1daf7585bc82f11887502b4664c6735570f52939
CRs-Fixed: 2414512
This commit is contained in:
Jeff Johnson
2019-03-09 14:07:35 -08:00
committed by nshrivas
parent 12ccaf6a14
commit e5b75be368
2 changed files with 13 additions and 13 deletions

View File

@@ -135,7 +135,7 @@ struct hdd_wmm_qos_context {
* @is_access_required - does the AP require access to this AC? * @is_access_required - does the AP require access to this AC?
* @is_access_needed - does the worker thread need to acquire access to * @is_access_needed - does the worker thread need to acquire access to
* this AC? * this AC?
* @wmmAcAccessPending - is implicit QoS negotiation currently taking place? * @is_access_pending - is implicit QoS negotiation currently taking place?
* @wmmAcAccessFailed - has implicit QoS negotiation already failed? * @wmmAcAccessFailed - has implicit QoS negotiation already failed?
* @wmmAcAccessGranted - has implicit QoS negotiation already succeeded? * @wmmAcAccessGranted - has implicit QoS negotiation already succeeded?
* @wmmAcAccessAllowed - is access to this AC allowed, either because we * @wmmAcAccessAllowed - is access to this AC allowed, either because we
@@ -155,7 +155,7 @@ struct hdd_wmm_qos_context {
struct hdd_wmm_ac_status { struct hdd_wmm_ac_status {
bool is_access_required; bool is_access_required;
bool is_access_needed; bool is_access_needed;
bool wmmAcAccessPending; bool is_access_pending;
bool wmmAcAccessFailed; bool wmmAcAccessFailed;
bool wmmAcAccessGranted; bool wmmAcAccessGranted;
bool wmmAcAccessAllowed; bool wmmAcAccessAllowed;

View File

@@ -530,7 +530,7 @@ static QDF_STATUS hdd_wmm_sme_callback(mac_handle_t mac_handle,
} }
ac->wmmAcAccessAllowed = true; ac->wmmAcAccessAllowed = true;
ac->wmmAcAccessGranted = true; ac->wmmAcAccessGranted = true;
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
ac->wmmAcAccessFailed = false; ac->wmmAcAccessFailed = false;
if (HDD_WMM_HANDLE_IMPLICIT != qos_context->handle) { if (HDD_WMM_HANDLE_IMPLICIT != qos_context->handle) {
@@ -564,7 +564,7 @@ static QDF_STATUS hdd_wmm_sme_callback(mac_handle_t mac_handle,
ac->wmmAcAccessAllowed = true; ac->wmmAcAccessAllowed = true;
ac->wmmAcAccessGranted = true; ac->wmmAcAccessGranted = true;
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
if (HDD_WMM_HANDLE_IMPLICIT != qos_context->handle) { if (HDD_WMM_HANDLE_IMPLICIT != qos_context->handle) {
@@ -582,7 +582,7 @@ static QDF_STATUS hdd_wmm_sme_callback(mac_handle_t mac_handle,
hdd_err("Setup failed"); hdd_err("Setup failed");
/* QoS setup failed */ /* QoS setup failed */
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
ac->wmmAcAccessFailed = true; ac->wmmAcAccessFailed = true;
ac->wmmAcAccessAllowed = false; ac->wmmAcAccessAllowed = false;
if (HDD_WMM_HANDLE_IMPLICIT != qos_context->handle) { if (HDD_WMM_HANDLE_IMPLICIT != qos_context->handle) {
@@ -622,7 +622,7 @@ static QDF_STATUS hdd_wmm_sme_callback(mac_handle_t mac_handle,
* flow. Note that the MAC will "do the right * flow. Note that the MAC will "do the right
* thing" * thing"
*/ */
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
ac->wmmAcAccessFailed = true; ac->wmmAcAccessFailed = true;
ac->wmmAcAccessAllowed = true; ac->wmmAcAccessAllowed = true;
@@ -680,7 +680,7 @@ static QDF_STATUS hdd_wmm_sme_callback(mac_handle_t mac_handle,
/* this was triggered by implicit QoS so we /* this was triggered by implicit QoS so we
* know packets are pending * know packets are pending
*/ */
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
ac->wmmAcAccessGranted = true; ac->wmmAcAccessGranted = true;
ac->wmmAcAccessAllowed = true; ac->wmmAcAccessAllowed = true;
@@ -712,7 +712,7 @@ static QDF_STATUS hdd_wmm_sme_callback(mac_handle_t mac_handle,
ac->wmmAcAccessGranted = true; ac->wmmAcAccessGranted = true;
ac->wmmAcAccessAllowed = true; ac->wmmAcAccessAllowed = true;
ac->wmmAcAccessFailed = false; ac->wmmAcAccessFailed = false;
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
} else { } else {
hdd_info("Explicit Qos, notifying user space"); hdd_info("Explicit Qos, notifying user space");
@@ -1049,7 +1049,7 @@ static void __hdd_wmm_do_implicit_qos(struct hdd_wmm_qos_context *qos_context)
return; return;
} }
ac->wmmAcAccessPending = true; ac->is_access_pending = true;
ac->is_access_needed = false; ac->is_access_needed = false;
memset(&qosInfo, 0, sizeof(qosInfo)); memset(&qosInfo, 0, sizeof(qosInfo));
@@ -1425,7 +1425,7 @@ static void __hdd_wmm_do_implicit_qos(struct hdd_wmm_qos_context *qos_context)
ac->wmmAcAccessAllowed = true; ac->wmmAcAccessAllowed = true;
ac->wmmAcAccessGranted = true; ac->wmmAcAccessGranted = true;
ac->wmmAcAccessPending = false; ac->is_access_pending = false;
break; break;
@@ -1517,7 +1517,7 @@ QDF_STATUS hdd_wmm_adapter_init(struct hdd_adapter *adapter)
ac_status = &adapter->hdd_wmm_status.ac_status[ac_type]; ac_status = &adapter->hdd_wmm_status.ac_status[ac_type];
ac_status->is_access_required = false; ac_status->is_access_required = false;
ac_status->is_access_needed = false; ac_status->is_access_needed = false;
ac_status->wmmAcAccessPending = false; ac_status->is_access_pending = false;
ac_status->wmmAcAccessFailed = false; ac_status->wmmAcAccessFailed = false;
ac_status->wmmAcAccessGranted = false; ac_status->wmmAcAccessGranted = false;
ac_status->wmmAcAccessAllowed = false; ac_status->wmmAcAccessAllowed = false;
@@ -1550,7 +1550,7 @@ QDF_STATUS hdd_wmm_adapter_clear(struct hdd_adapter *adapter)
ac_status = &adapter->hdd_wmm_status.ac_status[ac_type]; ac_status = &adapter->hdd_wmm_status.ac_status[ac_type];
ac_status->is_access_required = false; ac_status->is_access_required = false;
ac_status->is_access_needed = false; ac_status->is_access_needed = false;
ac_status->wmmAcAccessPending = false; ac_status->is_access_pending = false;
ac_status->wmmAcAccessFailed = false; ac_status->wmmAcAccessFailed = false;
ac_status->wmmAcAccessGranted = false; ac_status->wmmAcAccessGranted = false;
ac_status->wmmAcAccessAllowed = false; ac_status->wmmAcAccessAllowed = false;
@@ -1918,7 +1918,7 @@ QDF_STATUS hdd_wmm_acquire_access(struct hdd_adapter *adapter,
} }
/* do we already have an implicit QoS request pending for this AC? */ /* do we already have an implicit QoS request pending for this AC? */
if ((adapter->hdd_wmm_status.ac_status[ac_type].is_access_needed) || if ((adapter->hdd_wmm_status.ac_status[ac_type].is_access_needed) ||
(adapter->hdd_wmm_status.ac_status[ac_type].wmmAcAccessPending)) { (adapter->hdd_wmm_status.ac_status[ac_type].is_access_pending)) {
/* request already pending so we need to wait for that /* request already pending so we need to wait for that
* response * response
*/ */