qcacld-3.0: Update sme_encrypt_decrypt_msg()
A new HDD Request Management framework is being deployed. One of the requirements of that framework is that every request API must have a provision for a caller-supplied context, and that caller-supplied context must be returned to the caller when the callback function is invoked. Currently sme_encrypt_decrypt_msg() is not aligned with that requirement. There is no provision for a caller-supplied context; instead the HDD handle which is stored in the MAC context is always returned. In order to prepare sme_encrypt_decrypt_msg() for the HDD Request Management framework update the curent implementation as follows: 1) Remove the separate registration and deregistration of the callback function pointer, and instead make the callback function and callback context parameters to sme_encrypt_decrypt_msg(). 2) Pass the callback context when invoking the callback function. Change-Id: I6e8c5405393f4cb732d9874ac07145caf5e95cac CRs-Fixed: 2000026
This commit is contained in:

committed by
qcabuildsw

orang tua
a867e0c43c
melakukan
e8216e8705
@@ -507,9 +507,6 @@ static const t_probeTime_dwellTime
|
||||
};
|
||||
|
||||
typedef void (*txFailIndCallback)(uint8_t *peer_mac, uint8_t seqNo);
|
||||
typedef void (*encrypt_decrypt_cb)(struct sir_encrypt_decrypt_rsp_params
|
||||
*encrypt_decrypt_rsp_params);
|
||||
|
||||
|
||||
typedef void (*tp_wma_packetdump_cb)(qdf_nbuf_t netbuf,
|
||||
uint8_t status, uint8_t vdev_id, uint8_t type);
|
||||
|
Reference in New Issue
Block a user