qcacmn: enhance crypto api to install key synchronously

Add parameter 'bool sync' for wlan_cfg80211_crypto_add_key()
to indicate whether or not to add key synchronously.
If it's set to true, wait until install key complete event
is received.

Change-Id: I9a69d486665fb3f65a5720ccfbfb638c09329418
CRs-Fixed: 2865832
This commit is contained in:
Yu Wang
2020-12-25 17:03:07 +08:00
committed by Madan Koyyalamudi
parent 45daa78c52
commit dcd269c55a
13 changed files with 450 additions and 9 deletions

View File

@@ -2528,6 +2528,7 @@ QDF_STATUS (*config_peer_latency_info_cmd)(
QDF_STATUS (*send_set_tpc_power_cmd)(wmi_unified_t wmi_handle,
uint8_t vdev_id,
struct reg_tpc_power_info *param);
#ifdef WLAN_FEATURE_BIG_DATA_STATS
QDF_STATUS (*send_big_data_stats_request_cmd)(
wmi_unified_t wmi_handle,
@@ -2536,6 +2537,11 @@ QDF_STATUS (*send_big_data_stats_request_cmd)(
QDF_STATUS (*extract_dpd_status_ev_param)(wmi_unified_t wmi_handle,
void *evt_buf,
struct wmi_host_pdev_get_dpd_status_event *param);
QDF_STATUS
(*extract_install_key_comp_event)(wmi_unified_t wmi_handle,
void *evt_buf, uint32_t len,
struct wmi_install_key_comp_event *param);
};
/* Forward declartion for psoc*/