wlan-ap-Telecominfraproject/feeds
Venkat Chimata 319749cef8 ath11k: Synchronize num_peers with the actual peer count when
out of sync

Description:
The num_peers counter does not always update at the exact moment a peer is deleted.
Since deletion and decrement are not fully atomic, there are scenarios where
num_peers can drift out of sync with the actual number of peers.

Fix:
A complete rewrite of the num_peers update logic—ensuring fully correct
increment/decrement handling during peer insertion and deletion—would require
significant effort and QA validation. As an immediate and effective solution,
this patch synchronizes num_peers with the actual peer count whenever a mismatch
is detected.

Fixes WIFI-14998 and indirectly resolves WIFI-15202.

Signed-off-by: Venkat Chimata <venkat@nearhop.com>
2025-12-01 13:00:43 +05:30
..
bluetooth
bluetooth-cc2652
bluetooth-csr
edgecore/eltt2
hfcl/hfcl
hostapd/hostapd
ipq807x_v5.4 ath11k: Synchronize num_peers with the actual peer count when 2025-12-01 13:00:43 +05:30
mcu
mediatek
mediatek-sdk
morse
qca-wifi-7
tip
ucentral