qcacmn: Update crypto module to translate cfg80211 keys

Currently crypto module is using wlan_cfg80211_translate_key
api to translate cfg80211 keys based on vdev level.
However, there is a need to translate cfg80211 keys
based on psoc level.
The change is to use wlan_cfg80211_translate_ml_sta_key
api to translate cfg80211 keys based on psoc level.

Change-Id: Id642dfb0b864f4351d9cac055ad268dfcd51ae88
CRs-Fixed: 3549391
This commit is contained in:
Aasir Rasheed
2023-06-06 14:05:17 +05:30
کامیت شده توسط Rahul Choudhary
والد 9b0e01604d
کامیت b41a05e709
2فایلهای تغییر یافته به همراه42 افزوده شده و 1 حذف شده

مشاهده پرونده

@@ -36,6 +36,23 @@
int wlan_cfg80211_set_default_key(struct wlan_objmgr_vdev *vdev,
uint8_t key_index,
struct qdf_mac_addr *bssid);
/**
* wlan_cfg80211_translate_ml_sta_key - Translate the cfg80211 keys
* to internal for ml sta key
* @key_index: key index
* @key_type: key type
* @mac_addr: mac addr
* @params: params
* @crypto_key: crypto keys
*
* Return: None
*/
void wlan_cfg80211_translate_ml_sta_key(uint8_t key_index,
enum wlan_crypto_key_type key_type,
const u8 *mac_addr,
struct key_params *params,
struct wlan_crypto_key *crypto_key);
/**
* wlan_cfg80211_translate_key() - Translate the cfg80211 keys to
* internal