diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index 3100a4735e..9bc21b5fe6 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -1320,7 +1320,7 @@ QDF_STATUS sme_set_wisa_params(mac_handle_t hal, #ifdef WLAN_FEATURE_ROAM_OFFLOAD QDF_STATUS sme_update_roam_offload_enabled(mac_handle_t mac_handle, bool nRoamOffloadEnabled); -QDF_STATUS sme_update_roam_key_mgmt_offload_enabled(mac_handle_t hal_ctx, +QDF_STATUS sme_update_roam_key_mgmt_offload_enabled(mac_handle_t mac_handle, uint8_t session_id, bool key_mgmt_offload_enabled, struct pmkid_mode_bits *pmkid_modes); @@ -1893,12 +1893,12 @@ static inline bool sme_roam_is_ese_assoc(struct csr_roam_info *roam_info) #endif /** * sme_neighbor_roam_is11r_assoc() - Check if association type is 11R - * @hal_ctx: HAL handle + * @mac_handle: HAL handle * @session_id: session id * * Return: true if 11r Association, false otherwise. */ -bool sme_neighbor_roam_is11r_assoc(mac_handle_t hal_ctx, uint8_t session_id); +bool sme_neighbor_roam_is11r_assoc(mac_handle_t mac_handle, uint8_t session_id); /** * sme_update_sta_inactivity_timeout(): Update sta_inactivity_timeout to FW diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 504e013c43..583da0f5e1 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -12248,7 +12248,7 @@ QDF_STATUS sme_power_debug_stats_req(mac_handle_t hal, void (*callback_fn) /** * sme_update_roam_key_mgmt_offload_enabled() - enable/disable key mgmt offload * This is a synchronous call - * @hal_ctx: The handle returned by mac_open. + * @mac_handle: The handle returned by mac_open. * @session_id: Session Identifier * @key_mgmt_offload_enabled: key mgmt enable/disable flag * @pmkid_modes: PMKID modes of PMKSA caching and OKC @@ -12256,12 +12256,12 @@ QDF_STATUS sme_power_debug_stats_req(mac_handle_t hal, void (*callback_fn) * Other status means SME is failed to update. */ -QDF_STATUS sme_update_roam_key_mgmt_offload_enabled(mac_handle_t hal_ctx, +QDF_STATUS sme_update_roam_key_mgmt_offload_enabled(mac_handle_t mac_handle, uint8_t session_id, bool key_mgmt_offload_enabled, struct pmkid_mode_bits *pmkid_modes) { - tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal_ctx); + tpAniSirGlobal mac_ctx = PMAC_STRUCT(mac_handle); QDF_STATUS status = QDF_STATUS_SUCCESS; status = sme_acquire_global_lock(&mac_ctx->sme); @@ -15316,9 +15316,9 @@ bool sme_roam_is_ese_assoc(struct csr_roam_info *roam_info) } #endif -bool sme_neighbor_roam_is11r_assoc(mac_handle_t hal_ctx, uint8_t session_id) +bool sme_neighbor_roam_is11r_assoc(mac_handle_t mac_handle, uint8_t session_id) { - tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal_ctx); + tpAniSirGlobal mac_ctx = PMAC_STRUCT(mac_handle); return csr_neighbor_roam_is11r_assoc(mac_ctx, session_id); }