summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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