Kernel Tree For Xiaomi 11 Lite NE 5G
Currently the macro CDS_GET_HAL_CB() is used throughout the SAP to retrieve an opaque handle for the MAC context. This name is an anachronism given that the HAL layer was moved to firmware many generations ago. In addition, since the SAP module is internal to the UMAC, it should normally not be dealing with the opaque handle but should instead be dealing directly with the MAC context. Finally, per the coding style, "inline functions are preferable to macros resembling functions." To address these issues introduce sap_get_mac_context(), a new inline function, to replace the current usage of CDS_GET_HAL_CB(). Subsequent changes will actually perform the replacement. Change-Id: I53160f7f5a315516f5348baea8cc7945483431bd CRs-Fixed: 2346181 |
||
---|---|---|
components | ||
configs | ||
core | ||
uapi/linux | ||
Android.mk | ||
Kbuild | ||
Kconfig | ||
Makefile | ||
README.txt |
This is CNSS WLAN Host Driver for products starting from iHelium