summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Rawat <naveenrawat@codeaurora.org>2016-09-12 14:07:46 -0700
committerqcabuildsw <qcabuildsw@localhost>2017-01-09 12:01:58 -0800
commitd3390f44408128746deaabed9fb899b2ab5cc80c (patch)
tree42a1546c9e809365e8eb882d47145a00cfdef3fc
parent0f2e9a8fba71efc3e5857bbeb35de71e02f1f7db (diff)
qcacld-3.0: Remove obsolete rrm code
Remove obsolete rrm functions that are not being used. Change-Id: I718009cad4f3f5fc9c060753940b61a071432013 CRs-Fixed: 1073378
-rw-r--r--core/mac/src/pe/include/rrm_api.h4
-rw-r--r--core/mac/src/pe/rrm/rrm_api.c33
2 files changed, 2 insertions, 35 deletions
diff --git a/core/mac/src/pe/include/rrm_api.h b/core/mac/src/pe/include/rrm_api.h
index 65bdbb1741b9..7f599c3a2ca4 100644
--- a/core/mac/src/pe/include/rrm_api.h
+++ b/core/mac/src/pe/include/rrm_api.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2012, 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2012, 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -71,8 +71,6 @@ extern tSirRetStatus rrm_process_neighbor_report_response(tpAniSirGlobal pMac,
tpPESession
pSessionEntry);
-extern void rrm_process_message(tpAniSirGlobal pMac, tpSirMsgQ pMsg);
-
extern tSirRetStatus rrm_send_set_max_tx_power_req(tpAniSirGlobal pMac,
int8_t txPower,
tpPESession pSessionEntry);
diff --git a/core/mac/src/pe/rrm/rrm_api.c b/core/mac/src/pe/rrm/rrm_api.c
index 131238eb0c40..67abf9f391cf 100644
--- a/core/mac/src/pe/rrm/rrm_api.c
+++ b/core/mac/src/pe/rrm/rrm_api.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -1333,37 +1333,6 @@ tSirRetStatus rrm_cleanup(tpAniSirGlobal pMac)
return eSIR_SUCCESS;
}
-/* -------------------------------------------------------------------- */
-/**
- * rrm_process_message
- *
- * FUNCTION: Processes the next received Radio Resource Management message
- *
- * LOGIC:
- *
- * ASSUMPTIONS:
- *
- * NOTE:
- *
- * @param None
- * @return None
- */
-
-void rrm_process_message(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
-{
- switch (pMsg->type) {
- case eWNI_SME_NEIGHBOR_REPORT_REQ_IND:
- rrm_process_neighbor_report_req(pMac, pMsg->bodyptr);
- break;
- case eWNI_SME_BEACON_REPORT_RESP_XMIT_IND:
- rrm_process_beacon_report_xmit(pMac, pMsg->bodyptr);
- break;
- default:
- lim_log(pMac, LOGE, FL("Invalid msg type:%d"), pMsg->type);
- }
-
-}
-
/**
* lim_update_rrm_capability() - Update PE context's rrm capability
* @mac_ctx: Global pointer to MAC context