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
Dustin Brown 8d41f62018 qcacmn: Use qdf_timer shim for all kernel versions
qdf_timer_t has repeatedly been identified as a problem area by Control-
Flow Integrity (CFI) analysis. This is because qdf_timer_init casts the
callback from a signature taking a "void *" into one which takes an
"unsigned long." While this "works," it is technically undefined
behavior, and CFI is correct in flagging it. Unfortunately, CFI
indicates the issue is with the callbacks themselves, which is incorrect.

Using unsigned long as the callback parameter has a number serious
drawbacks. Most significant is the fact that pointer size is not
guaranteed to be the same size as an unsigned long on platforms other
than Linux. For example, this is not the case on 64 bit Windows. As QDF
is supposed to be a platform abstraction, it cannot use unsigned longs
for memory addresses.

Instead of casting the timer callback in qdf_timer_init, use a callback
shim which takes an unsigned long, and handles the appropriate
conversions needed to call the actual callback function.

Change-Id: Id9149169f35f619f649934310a2a673a685690f0
CRs-Fixed: 2403021
2019-02-27 08:12:09 -08:00
cfg qcacmn: Remove error log for qdf_mem_malloc in cfg files 2019-02-09 11:52:36 -08:00
dp qcacmn: add counters for sa_idx invalid issue 2019-02-27 03:14:02 -08:00
ftm qcacmn: Remove error log for qdf_mem_malloc in utils/ftm files 2019-02-11 02:29:55 -08:00
global_lmac_if qcacmn: Use qdf_mem_zero for zero initialization, global_lmac_if part 2019-02-21 01:46:42 -08:00
hal/wifi3.0 qcacmn: Modify HE GI enum values and populate ldpc for HE 2019-02-27 03:13:52 -08:00
hif qcacmn: Remove improper kernel API for coherent memory 2019-02-26 21:18:50 -08:00
htc qcacmn: Remove error log for qdf_mem_malloc in hif/htc files 2019-02-12 04:47:40 -08:00
init_deinit/dispatcher qcacmn: Add support for CFR init deinit 2019-02-20 06:21:15 -08:00
os_if/linux qcacmn: Add vendor subcmd/attribute to check firmware state 2019-02-25 20:13:32 -08:00
qal qcacmn: move over to new explicit reset API 2019-01-31 17:30:17 -08:00
qdf qcacmn: Use qdf_timer shim for all kernel versions 2019-02-27 08:12:09 -08:00
scheduler qcacmn: Update driver timer APIs according to kernel 4.19 2019-02-02 15:27:54 -08:00
spectral qcacmn: Spectral Kbuild changes for CFR 2019-02-22 22:52:23 -08:00
target_if qcacmn: Add extract API for ring params from DBR 2019-02-27 03:13:49 -08:00
umac qcacmn: Avoid reset of reg rules in soc private object 2019-02-27 05:10:24 -08:00
utils qcacmn: Clean CONFIG_MCL for send_flush_completion_to_user 2019-02-22 06:56:44 -08:00
wbuff qcacmn: Use function name instead of file name in debug logs 2019-01-17 22:20:46 -08:00
wlan_cfg qcacmn: Check for MAX_AST entries when adding AST entry 2019-02-12 04:47:37 -08:00
wmi qcacmn: Replace session_id in plm_req_params 2019-02-27 05:10:20 -08:00
README.txt qcamain: Test changes 2017-09-15 21:45:35 +05:30
VERSION.txt Release 5.1.1.17I 2017-03-27 08:31:31 -07:00

 This is CNSS WLAN Host Driver for products starting from iHelium