]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: avoid unnecessary BH disable lock in STA kickout event
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Wed, 10 Nov 2021 16:06:28 +0000 (21:36 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Nov 2021 09:16:16 +0000 (11:16 +0200)
commitff8d95fbf0dabc3de099bff7c6b5d1235592bdf3
tree6e29f7b76bfa0091ef2d40713a3ae6942c3d7d17
parentff120e6c2249b7b5e014f2af6cc85cc6bbe2d840
ath11k: avoid unnecessary BH disable lock in STA kickout event

In STA kickout event processing, the peer object is protected
under spin lock BH. Release this lock after picking up the vdev_id
from the peer object instead after ieee80211_report_low_ack().
This will minimize the lock hold period which will improve
performance since base_lock is used across the data path.
This was found in code review.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-00729-QCAHKSWPL_SILICONZ-3 v2

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1636560388-24955-1-git-send-email-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath11k/wmi.c