OSDN Git Service

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)
commit4c375743c5fe1ef84d1dd7269dd12585957f403e
tree6e29f7b76bfa0091ef2d40713a3ae6942c3d7d17
parent4ea03443ecdac6920eb7aa3a9da2cd0b8cc6dfc8
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