Selaa lähdekoodia

qcacld-3.0: Remove csr_store_joinreq_param()

Change I92f79f595e881fccb6eb5e87fcfa29e8f26fa1a5 ("qcacld-3.0:
Remove sme_store_joinreq_param()") removed the last client of
csr_store_joinreq_param(). Since this function is now unused,
remove it.

Change-Id: Ie3f7a8a581a505a29ddb96825eafe265c6d01479
CRs-Fixed: 2371142
Jeff Johnson 6 vuotta sitten
vanhempi
sitoutus
123943afec
2 muutettua tiedostoa jossa 0 lisäystä ja 47 poistoa
  1. 0 5
      core/sme/inc/csr_internal.h
  2. 0 42
      core/sme/src/csr/csr_api_roam.c

+ 0 - 5
core/sme/inc/csr_internal.h

@@ -1136,11 +1136,6 @@ static inline void csr_roaming_report_diag_event(
 {}
 #endif
 
-bool csr_store_joinreq_param(struct mac_context *mac_ctx,
-		struct csr_roam_profile *profile,
-		tScanResultHandle scan_cache,
-		uint32_t *roam_id,
-		uint32_t session_id);
 bool csr_find_session_by_bssid(struct mac_context *mac_ctx, uint8_t *bssid);
 QDF_STATUS csr_get_channels_and_power(struct mac_context *mac);
 

+ 0 - 42
core/sme/src/csr/csr_api_roam.c

@@ -20256,48 +20256,6 @@ static bool csr_is_conn_allow_5g_band(struct mac_context *mac_ctx, uint32_t chnl
 	return true;
 }
 
-/**
- * csr_store_joinreq_param() - This function will store station's join
- * request to that station's session.
- * @mac_ctx: pointer to mac context.
- * @profile: pointer to station's roam profile.
- * @scan_cache: pointer to station's scan cache.
- * @roam_id: reference to roam_id variable being passed.
- * @session_id: station's session id.
- *
- * This function will store station's join request to one of the
- * csr structure and add it to station's session.
- *
- * Return: true or false based on function's overall success.
- **/
-bool csr_store_joinreq_param(struct mac_context *mac_ctx,
-		struct csr_roam_profile *profile,
-		tScanResultHandle scan_cache,
-		uint32_t *roam_id,
-		uint32_t session_id)
-{
-	struct csr_roam_session *sta_session;
-
-	if (NULL == mac_ctx)
-		return false;
-
-	sta_session = CSR_GET_SESSION(mac_ctx, session_id);
-	if (NULL == sta_session)
-		return false;
-
-	sta_session->stored_roam_profile.session_id = session_id;
-	csr_roam_copy_profile(mac_ctx,
-			&sta_session->stored_roam_profile.profile, profile);
-	/* new bsslist_handle's memory will be relased later */
-	sta_session->stored_roam_profile.bsslist_handle = scan_cache;
-	sta_session->stored_roam_profile.reason = eCsrHddIssued;
-	sta_session->stored_roam_profile.roam_id = *roam_id;
-	sta_session->stored_roam_profile.imediate_flag = false;
-	sta_session->stored_roam_profile.clear_flag = false;
-
-	return true;
-}
-
 /**
  * csr_process_set_hw_mode() - Set HW mode command to PE
  * @mac: Globacl MAC pointer