No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Johnson 97dad0855d qcacld-3.0: Change the underlying type of mac_handle_t
Currently mac_handle_t is defined as a void pointer. This is
convenient from an information hiding point of view since that means a
non-MAC component cannot dereference a MAC handle to access MAC
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 a MAC handle is used in a
context where a different pointer type is expected.

An example of multiple such defects was addressed by Change-Id
I01812b2390269805da4d1a5cb40a811d1e22ec56 (qcacld-3.0: Fix bad
pointers being passed from SME to WMA).

To help prevent these kinds of defects change the definition of
mac_handle_t to be a pointer to an opaque struct.

Change-Id: I72483bf0e693d6eca24355f31d3a1653b8f31302
CRs-Fixed: 2268814
2018-06-29 09:25:31 -07:00
components qcacld-3.0: Excessive logging from IPA 2018-06-27 12:04:45 -07:00
configs qcacld-3.0: Enable QCA6390 2018-06-27 16:14:14 -07:00
core qcacld-3.0: Change the underlying type of mac_handle_t 2018-06-29 09:25:31 -07:00
uapi/linux qcacld-3.0: Map all module logs to per-level log APIs 2018-06-26 18:53:18 -07:00
Android.mk
Kbuild qcacld-3.0: Enable QCA6390 2018-06-27 16:14:14 -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: Pass WLAN_ROOT value for make clean 2018-06-09 00:09:16 -07:00
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium