android_kernel_xiaomi_sm8350/core/htc
Prashanth Bhatta 9dddcb2745 qcacld-3.0: htc: Fix race while processing HTC control messages
HTC control messages ready and connect service indications use
CtrlResponseBuffer for processing the HTC messages. Flag
CtrlResponseProcessing is used to protect this buffer from
overwriting before processing. Current implementation has race
condition as setting the flag happens on waiting thread context
instead of receive thread context so this could lead to
overwriting the CtrlResponseBuffer if waiting thread doesn't get
chance to run because of may be another RX interrupt.
Also to catch this kind of issues, add CDF_BUG so that it is
easier to triage the cause for the malformed packet which is not
expected.

CRs-fixed: 881504
Change-Id: Ia279e08c761a3432cf01d4dc129f7b5439d04680
2015-11-23 13:09:07 -08:00
..
dl_list.h qcacld-3.0: Initial snapshot of ihelium wlan driver 2015-11-17 17:52:53 -08:00
htc_api.h qcacld-3.0: Initial snapshot of ihelium wlan driver 2015-11-17 17:52:53 -08:00
htc_debug.h qcacld-3.0: Initial snapshot of ihelium wlan driver 2015-11-17 17:52:53 -08:00
htc_internal.h qcacld-3.0: Initial snapshot of ihelium wlan driver 2015-11-17 17:52:53 -08:00
htc_packet.h qcacld-3.0: Initial snapshot of ihelium wlan driver 2015-11-17 17:52:53 -08:00
htc_recv.c qcacld-3.0: htc: Fix race while processing HTC control messages 2015-11-23 13:09:07 -08:00
htc_send.c qcacld-3.0: Move cds_get_bin.c to concurrency management files 2015-11-23 13:09:04 -08:00
htc_services.c qcacld-3.0: Initial snapshot of ihelium wlan driver 2015-11-17 17:52:53 -08:00
htc.c qcacld-3.0: Move cds_get_bin.c to concurrency management files 2015-11-23 13:09:04 -08:00