qcacld-3.0: remove legacy roc struct/functions
After p2p componentized, the legacy roc data struct and
functions are not needed. Remove below data struct and
functions:
lim_remain_on_chn_rsp
lim_process_remain_on_chnl_req
lim_process_remain_on_chn_timeout
lim_send_p2p_action_frame
lim_send_sme_roc_rsp
struct sir_roc_rsp
struct sSirRemainOnChnReq
tSirRemainOnChnReq *gpLimRemainOnChanReq
Change-Id: Ie1644bf973e8aba30f44e0750f97b21ec31deb69
CRs-Fixed: 2367914
diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c
index 158cdf9..f5a92fc 100644
--- a/core/mac/src/pe/lim/lim_send_management_frames.c
+++ b/core/mac/src/pe/lim/lim_send_management_frames.c
@@ -665,17 +665,13 @@
&frm->WAPI);
#endif /* defined(FEATURE_WLAN_WAPI) */
- if (mac_ctx->lim.gpLimRemainOnChanReq)
- bytes += (mac_ctx->lim.gpLimRemainOnChanReq->length -
- sizeof(tSirRemainOnChnReq));
- else
- /*
- * Only use CFG for non-listen mode. This CFG is not working for
- * concurrency. In listening mode, probe rsp IEs is passed in
- * the message from SME to PE.
- */
- addn_ie_present =
- (pe_session->addIeParams.probeRespDataLen != 0);
+ /*
+ * Only use CFG for non-listen mode. This CFG is not working for
+ * concurrency. In listening mode, probe rsp IEs is passed in
+ * the message from SME to PE.
+ */
+ addn_ie_present =
+ (pe_session->addIeParams.probeRespDataLen != 0);
if (addn_ie_present) {
@@ -779,12 +775,6 @@
pe_debug("Sending Probe Response frame to");
lim_print_mac_addr(mac_ctx, peer_macaddr, LOGD);
- if (mac_ctx->lim.gpLimRemainOnChanReq)
- qdf_mem_copy(frame + sizeof(tSirMacMgmtHdr) + payload,
- mac_ctx->lim.gpLimRemainOnChanReq->probeRspIe,
- (mac_ctx->lim.gpLimRemainOnChanReq->length -
- sizeof(tSirRemainOnChnReq)));
-
if (addn_ie_present)
qdf_mem_copy(frame + sizeof(tSirMacMgmtHdr) + payload,
&add_ie[0], addn_ie_len);