diff options
| author | Kiran Kumar Lokere <klokere@qca.qualcomm.com> | 2014-03-11 14:51:53 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-14 10:34:12 -0700 |
| commit | c2c4418b207eb0717cfddb3c62e63aca0f389dcd (patch) | |
| tree | c2a7f4125f263da3089e938bcbff84cdf2186055 /CORE/MAC/src/include | |
| parent | 9d84d30fefc9314dd02e01722ec1aafbd2cef102 (diff) | |
qcacld: Fix the kernel warning reported in WLAN
Since mutex locks are used in a function which is protected with
spinlocks, observed the kernel warning about sleeping function.
Instead of using the spin lock protection, serializing the
function call to MC thread will avoid the race condition between
ack timeout and tx complete confirm for dis-assoc and deauth
frames.Ack timeout function does the clean up in MC thread
and tx complete does clean up in txrx workqueue context. When
tx complete and ack timeout happens at same time then race
condition occurs. To avoid the race condition, serializing the
limSendDisassocCnf function call to MC thread context.
Change-Id: I9e74ced2c70f737500e6e7912572aca5e76c533d
CRs-Fixed: 626936
Diffstat (limited to 'CORE/MAC/src/include')
| -rw-r--r-- | CORE/MAC/src/include/sirParams.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CORE/MAC/src/include/sirParams.h b/CORE/MAC/src/include/sirParams.h index 9d41e7047ae7..cf952d6257cd 100644 --- a/CORE/MAC/src/include/sirParams.h +++ b/CORE/MAC/src/include/sirParams.h @@ -661,6 +661,9 @@ typedef struct sSirMbMsgP2p #define SIR_HAL_MODEM_POWER_STATE_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 254) +#define SIR_HAL_DISASSOC_TX_COMP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 255) +#define SIR_HAL_DEAUTH_TX_COMP (SIR_HAL_ITC_MSG_TYPES_BEGIN + 256) + #define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF) // CFG message types |
