summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@codeaurora.org>2018-06-07 15:01:41 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-08 09:33:14 -0700
commite30fd67492c8f7b45dae3f883d351139a1225c2b (patch)
tree1cf09ed07f8926e17ed584a2fc9b931cd43a2939 /tools/perf/scripts/python
parentc6ce45b884a0d3140721f287240e85b59cb1336f (diff)
qcacld-3.0: Fix logic to drop duplicate deauth/disassoc frames
In wma_is_pkt_drop_candidate the enum values used to check the frame subtype is not proper and disassoc subtype is compared to SIR_MAC_MGMT_DISASSOC instead of IEEE80211_FC0_SUBTYPE_DISASSOC. Similar enum mismatch is present for deauth frame. Also the frame received time is updated even when the frame was dropped and thus the received time of the frame keeps on increasing. Thus the condition to check if frame is allowed after WMA_MGMT_FRAME_DETECT_DOS_TIMER ms always fails if driver continuously keep on getting the frames. This can lead to dropping of valid deauth/disassoc frames in case if RMF is enabled and some rouge peer keep on sending rogue deauth/disassoc frames and thus even if peer send valid deauth peer will not get disconnected. Fix this by using proper enum values to map the frame subtype. Also update the rcvd time stamp only when the frame is allowed, as this timestamp should be used to block the duplicate frames for WMA_MGMT_FRAME_DETECT_DOS_TIMER ms. Change-Id: I4f480e21369b585d78f240c5f4f062d010d889a8 CRs-Fixed: 2256679
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions