qcacld-3.0: Replace SIR_MAC_BA_* with converged macros

Replace SIR_MAC_BA_* with converged macros.

Change-Id: Id6b32a6e6cbf07ab728fc8832879d2f2dfc85820
CRs-Fixed: 2457795
This commit is contained in:
Srinivas Girigowda 2019-05-17 17:07:47 -07:00 • committed by nshrivas
commit ef0d714d22
3 changed files with 3 additions and 7 deletions

View file

@ -103,10 +103,6 @@
#define SIR_MAC_ACTION_TX 1
#define SIR_MAC_ACTION_RX 2
#define SIR_MAC_ADDBA_REQ 0
#define SIR_MAC_ADDBA_RSP 1
#define SIR_MAC_DELBA_REQ 2
#define SIR_MAC_BA_POLICY_DELAYED 0
#define SIR_MAC_BA_POLICY_IMMEDIATE 1
#define SIR_MAC_BA_AMSDU_SUPPORTED 1

View file

@ -2183,10 +2183,10 @@ void lim_process_action_frame(struct mac_context *mac_ctx,
pe_debug("Rcvd Block Ack for %pM; action: %d",
session->selfMacAddr, action_hdr->actionID);
switch (action_hdr->actionID) {
case SIR_MAC_ADDBA_REQ:
case ADDBA_REQUEST:
lim_process_addba_req(mac_ctx, rx_pkt_info, session);
break;
case SIR_MAC_DELBA_REQ:
case DELBA:
lim_process_delba_req(mac_ctx, rx_pkt_info, session);
break;
default:

View file

@ -4739,7 +4739,7 @@ QDF_STATUS lim_send_addba_response_frame(struct mac_context *mac_ctx,
cdp_peer_release_ref(soc, peer, PEER_DEBUG_ID_LIM_SEND_ADDBA_RESP);
qdf_mem_zero((uint8_t *) &frm, sizeof(frm));
frm.Category.category = ACTION_CATEGORY_BACK;
frm.Action.action = SIR_MAC_ADDBA_RSP;
frm.Action.action = ADDBA_RESPONSE;
frm.DialogToken.token = dialog_token;
frm.Status.status = status_code;