Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Jeff Johnson f8406bf8c9 qcacld-3.0: Change the underlying type of hdd_handle_t
Currently hdd_handle_t is defined as a void pointer. This is
convenient from an information hiding point of view since that means a
non-HDD component cannot dereference an HDD handle to access HDD
private data. However this is not convenient from a defect prevention
point of view since the C standard allows any other pointer type to be
freely and silently converted to and from a void pointer, and hence
the compiler is unable to detect when an HDD handle is used in a
context where a different pointer type is expected.

An example of one such defect was addressed by Change-Id
I2bbf1bf4a7975e5cb44066b6a3b1a98e82df9fad (qcacld-3.0: Fix bad param
passed during QoS Map conversion).

To help prevent this kind of defect change the definition of
hdd_handle_t to be a pointer to an opaque struct.

Change-Id: I6e885f84c0554bbe5c8582474fddb65ab6a0fdac
CRs-Fixed: 2254907
2018-06-08 11:38:06 -07:00
components qcacld-3.0: PMO feature flag disable (part two) 2018-06-08 08:31:00 -07:00
configs qcacld-3.0: PMO feature flag disable (part two) 2018-06-08 08:31:00 -07:00
core qcacld-3.0: Change the underlying type of hdd_handle_t 2018-06-08 11:38:06 -07:00
uapi/linux qcacld-3.0: Featurize packet log 2018-06-06 23:49:08 -07:00
Android.mk qcacld-3.0: Correct symbolic link for wlan.ko 2017-08-06 05:00:09 -07:00
Kbuild qcacld-3.0: PMO feature flag disable (part two) 2018-06-08 08:31:00 -07:00
Kconfig qcacld-3.0: Remove obsolete CONFIG_PRIMA_WLAN_11AC_HIGH_TP 2018-04-11 03:37:50 -07:00
Makefile qcacld-3.0: Allow out-of-tree build with relative path in M 2018-02-09 11:33:09 -08:00
README.txt Initial readme for WLAN Host Driver for iHelium 2015-04-06 11:45:23 -07:00

This is CNSS WLAN Host Driver for products starting from iHelium