qcacld-3.0: Fix tdls idle peers data override

As part of connection tracker handler, If the link is connected
then current tx and rx stats are compared with configured threshold
values. If the current stats fall below the threshold then idle timer
is initialized and idle peer data is stored in tdls soc and given as
userdata to the timer handler. The userdata is overwritten if the another
tdls peer becomes idle and this can lead to wrong tdls peer teardown.

Change-Id: I34638bdebe02e17e1c9e117e58352bdaab867921
CRs-Fixed: 2393320
This commit is contained in:
Bala Venkatesh
2019-02-04 19:52:27 +05:30
committed by nshrivas
父節點 d7784232a3
當前提交 2a773828bc
共有 6 個文件被更改,包括 34 次插入33 次删除

查看文件

@@ -79,6 +79,8 @@ struct wlan_objmgr_psoc;
#define TDLS_TEARDOWN_PEER_UNSPEC_REASON 26
#define INVALID_TDLS_PEER_ID 0xFF
#define INVALID_TDLS_PEER_INDEX 0xFF
#define TDLS_STA_INDEX_CHECK(sta_id) \
(((sta_id) >= 0) && ((sta_id) < 0xFF))