Lines Matching refs:params
40 struct key_params *params, in wlan_cfg80211_translate_ml_sta_key() argument
44 crypto_key->keylen = params->key_len; in wlan_cfg80211_translate_ml_sta_key()
48 params->key_len, params->seq_len); in wlan_cfg80211_translate_ml_sta_key()
49 qdf_mem_copy(&crypto_key->keyval[0], params->key, params->key_len); in wlan_cfg80211_translate_ml_sta_key()
50 qdf_mem_copy(&crypto_key->keyrsc[0], params->seq, params->seq_len); in wlan_cfg80211_translate_ml_sta_key()
53 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_translate_ml_sta_key()
75 struct key_params *params, in wlan_cfg80211_translate_key() argument
79 crypto_key->keylen = params->key_len; in wlan_cfg80211_translate_key()
83 params->key_len, params->seq_len); in wlan_cfg80211_translate_key()
84 qdf_mem_copy(&crypto_key->keyval[0], params->key, params->key_len); in wlan_cfg80211_translate_key()
85 qdf_mem_copy(&crypto_key->keyrsc[0], params->seq, params->seq_len); in wlan_cfg80211_translate_key()
88 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_translate_key()
118 const u8 *mac_addr, struct key_params *params, in wlan_cfg80211_store_link_key() argument
131 if (!params) { in wlan_cfg80211_store_link_key()
135 cipher_len = osif_nl_to_crypto_cipher_len(params->cipher); in wlan_cfg80211_store_link_key()
136 if (cipher_len < 0 || params->key_len < cipher_len) { in wlan_cfg80211_store_link_key()
138 params->key_len, cipher_len); in wlan_cfg80211_store_link_key()
141 cipher = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_store_link_key()
150 params->key_len, in wlan_cfg80211_store_link_key()
151 params->seq_len); in wlan_cfg80211_store_link_key()
173 params, crypto_key); in wlan_cfg80211_store_link_key()
190 const u8 *mac_addr, struct key_params *params) in wlan_cfg80211_store_key() argument
201 if (!params) { in wlan_cfg80211_store_key()
205 cipher_len = osif_nl_to_crypto_cipher_len(params->cipher); in wlan_cfg80211_store_key()
206 if (cipher_len < 0 || params->key_len < cipher_len) { in wlan_cfg80211_store_key()
208 params->key_len, cipher_len); in wlan_cfg80211_store_key()
211 cipher = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_store_key()
220 params->key_len, in wlan_cfg80211_store_key()
221 params->seq_len); in wlan_cfg80211_store_key()
242 params, crypto_key); in wlan_cfg80211_store_key()
286 static const struct osif_request_params params = { in wlan_cfg80211_crypto_add_key() local
307 request = osif_request_alloc(¶ms); in wlan_cfg80211_crypto_add_key()