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 |
||
---|---|---|
.. | ||
inc | ||
src |