qcacld-3.0: Remove transactionId from start_bss_rsp
The transactionId in struct start_bss_rsp is unused, so remove it.
Change-Id: I8dfc8bc9678c03257ff221c476b6f94c620d0dfc
CRs-Fixed: 2403165
diff --git a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
index 1164d11..bf69405 100644
--- a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
@@ -152,7 +152,6 @@
struct pe_session *pe_session = NULL;
tLimMlmStartCnf *pLimMlmStartCnf;
uint8_t smesessionId;
- uint16_t smetransactionId;
uint8_t channelId;
uint8_t send_bcon_ind = false;
@@ -168,7 +167,6 @@
return;
}
smesessionId = pe_session->smeSessionId;
- smetransactionId = pe_session->transactionId;
if (pe_session->limSmeState != eLIM_SME_WT_START_BSS_STATE) {
/*
@@ -205,7 +203,7 @@
/* Send response to Host */
lim_send_sme_start_bss_rsp(mac, eWNI_SME_START_BSS_RSP,
((tLimMlmStartCnf *)pMsgBuf)->resultCode,
- pe_session, smesessionId, smetransactionId);
+ pe_session, smesessionId);
if ((pe_session != NULL) &&
(((tLimMlmStartCnf *) pMsgBuf)->resultCode ==
eSIR_SME_SUCCESS)) {
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index ab81969..c08f9d3 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -995,7 +995,7 @@
session = NULL;
}
lim_send_sme_start_bss_rsp(mac_ctx, eWNI_SME_START_BSS_RSP, ret_code,
- session, sme_session_id, sme_transaction_id);
+ session, sme_session_id);
}
/**
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index ece113e..ebe539f 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -526,36 +526,11 @@
sme_join_rsp);
}
-/**
- * lim_send_sme_start_bss_rsp()
- *
- ***FUNCTION:
- * This function is called to send eWNI_SME_START_BSS_RSP
- * message to applications above MAC Software.
- *
- ***PARAMS:
- *
- ***LOGIC:
- *
- ***ASSUMPTIONS:
- * NA
- *
- ***NOTE:
- * NA
- *
- * @param mac Pointer to Global MAC structure
- * @param msgType Indicates message type
- * @param resultCode Indicates the result of previously issued
- * eWNI_SME_msgType_REQ message
- *
- * @return None
- */
-
-void
-lim_send_sme_start_bss_rsp(struct mac_context *mac,
- uint16_t msgType, tSirResultCodes resultCode,
- struct pe_session *pe_session, uint8_t smesessionId,
- uint16_t smetransactionId)
+void lim_send_sme_start_bss_rsp(struct mac_context *mac,
+ uint16_t msgType,
+ tSirResultCodes resultCode,
+ struct pe_session *pe_session,
+ uint8_t smesessionId)
{
uint16_t size = 0;
@@ -655,10 +630,7 @@
}
pSirSmeRsp->messageType = msgType;
pSirSmeRsp->length = size;
-
- /* Update SME session Id and transaction Id */
pSirSmeRsp->sessionId = smesessionId;
- pSirSmeRsp->transactionId = smetransactionId;
pSirSmeRsp->statusCode = resultCode;
if (pe_session != NULL)
pSirSmeRsp->staId = pe_session->staId; /* else it will be always zero smeRsp StaID = 0 */
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.h b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.h
index 2eeac14..e7ce591 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.h
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.h
@@ -37,8 +37,24 @@
/* Functions for sending responses to Host */
void lim_send_sme_rsp(struct mac_context *, uint16_t, tSirResultCodes, uint8_t,
uint16_t);
-void lim_send_sme_start_bss_rsp(struct mac_context *, uint16_t, tSirResultCodes,
- struct pe_session *, uint8_t, uint16_t);
+
+/**
+ * lim_send_sme_start_bss_rsp() - Send Start BSS response
+ * @mac: Pointer to Global MAC structure
+ * @msgType: Indicates message type
+ * @resultCode: Indicates the result of previously issued request
+ * @pe_session: PE session associated with the BSS
+ * @smesessionId: ID of the SME session associated with the BSS
+ *
+ * This function is called to send eWNI_SME_START_BSS_RSP
+ * message to applications above MAC Software.
+ */
+void lim_send_sme_start_bss_rsp(struct mac_context *mac,
+ uint16_t msgType,
+ tSirResultCodes resultCode,
+ struct pe_session *pe_session,
+ uint8_t smesessionId);
+
void lim_send_sme_join_reassoc_rsp(struct mac_context *, uint16_t, tSirResultCodes,
uint16_t, struct pe_session *, uint8_t, uint16_t);