mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Replace tpPESession in lim_security_utils
To align with the Linux coding style replace tpPESession with struct pe_session * in lim_security_utils. Change-Id: I5617e1d327b2761aab7c5c3c72f54b26fea014ab CRs-Fixed: 2354275
This commit is contained in:
parent
2eb162e1b1
commit
f1cc32e6dc
2 changed files with 8 additions and 8 deletions
|
|
@ -72,7 +72,7 @@
|
|||
*/
|
||||
uint8_t
|
||||
lim_is_auth_algo_supported(tpAniSirGlobal mac, tAniAuthType authType,
|
||||
tpPESession psessionEntry)
|
||||
struct pe_session *psessionEntry)
|
||||
{
|
||||
bool algoEnable, privacyOptImp;
|
||||
struct wlan_mlme_wep_cfg *wep_params = &mac->mlme_cfg->wep_params;
|
||||
|
|
@ -412,7 +412,7 @@ void lim_delete_pre_auth_node(tpAniSirGlobal mac, tSirMacAddr macAddr)
|
|||
|
||||
void
|
||||
lim_restore_from_auth_state(tpAniSirGlobal mac, tSirResultCodes resultCode,
|
||||
uint16_t protStatusCode, tpPESession sessionEntry)
|
||||
uint16_t protStatusCode, struct pe_session *sessionEntry)
|
||||
{
|
||||
tSirMacAddr currentBssId;
|
||||
tLimMlmAuthCnf mlmAuthCnf;
|
||||
|
|
@ -764,7 +764,7 @@ void lim_post_sme_set_keys_cnf(tpAniSirGlobal mac,
|
|||
*/
|
||||
void lim_send_set_bss_key_req(tpAniSirGlobal mac,
|
||||
tLimMlmSetKeysReq *pMlmSetKeysReq,
|
||||
tpPESession psessionEntry)
|
||||
struct pe_session *psessionEntry)
|
||||
{
|
||||
struct scheduler_msg msgQ = {0};
|
||||
tpSetBssKeyParams pSetBssKeyParams = NULL;
|
||||
|
|
@ -866,7 +866,7 @@ void lim_send_set_sta_key_req(tpAniSirGlobal mac,
|
|||
tLimMlmSetKeysReq *pMlmSetKeysReq,
|
||||
uint16_t staIdx,
|
||||
uint8_t defWEPIdx,
|
||||
tpPESession sessionEntry, bool sendRsp)
|
||||
struct pe_session *sessionEntry, bool sendRsp)
|
||||
{
|
||||
struct scheduler_msg msgQ = {0};
|
||||
tpSetStaKeyParams pSetStaKeyParams = NULL;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
struct tLimPreAuthNode;
|
||||
|
||||
uint8_t lim_is_auth_algo_supported(tpAniSirGlobal, tAniAuthType, tpPESession);
|
||||
uint8_t lim_is_auth_algo_supported(tpAniSirGlobal, tAniAuthType, struct pe_session *);
|
||||
|
||||
/* MAC based authentication related functions */
|
||||
void lim_init_pre_auth_list(tpAniSirGlobal);
|
||||
|
|
@ -59,7 +59,7 @@ void lim_add_pre_auth_node(tpAniSirGlobal, struct tLimPreAuthNode *);
|
|||
void lim_delete_pre_auth_node(tpAniSirGlobal, tSirMacAddr);
|
||||
void lim_release_pre_auth_node(tpAniSirGlobal mac, tpLimPreAuthNode pAuthNode);
|
||||
void lim_restore_from_auth_state(tpAniSirGlobal,
|
||||
tSirResultCodes, uint16_t, tpPESession);
|
||||
tSirResultCodes, uint16_t, struct pe_session *);
|
||||
uint8_t lim_delete_open_auth_pre_auth_node(tpAniSirGlobal mac_ctx);
|
||||
|
||||
/* Encryption/Decryption related functions */
|
||||
|
|
@ -70,9 +70,9 @@ void lim_encrypt_auth_frame(tpAniSirGlobal, uint8_t, uint8_t *, uint8_t *,
|
|||
uint8_t lim_decrypt_auth_frame(tpAniSirGlobal, uint8_t *, uint8_t *, uint8_t *,
|
||||
uint32_t, uint16_t);
|
||||
|
||||
void lim_send_set_bss_key_req(tpAniSirGlobal, tLimMlmSetKeysReq *, tpPESession);
|
||||
void lim_send_set_bss_key_req(tpAniSirGlobal, tLimMlmSetKeysReq *, struct pe_session *);
|
||||
void lim_send_set_sta_key_req(tpAniSirGlobal, tLimMlmSetKeysReq *, uint16_t, uint8_t,
|
||||
tpPESession, bool sendRsp);
|
||||
struct pe_session *, bool sendRsp);
|
||||
void lim_post_sme_set_keys_cnf(tpAniSirGlobal, tLimMlmSetKeysReq *,
|
||||
tLimMlmSetKeysCnf *);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue