diff options
| author | Arend van Spriel <arend.vanspriel@broadcom.com> | 2026-07-31 14:35:00 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-08-02 17:40:07 +0200 |
| commit | 70557cadc828cbfd17d79481f5bcfbace7dc648c (patch) | |
| tree | 17daaf8c62e7a17ef6fd1293b094b8041a205b6b /tools/perf/scripts/python/bin | |
| parent | 5c4b13cb50cae52afb34d043b8599ff767135017 (diff) | |
wifi: wil6210: use pre-assigned cookie for remain_on_channel, mgmt_tx and probe_peer
Stop overwriting the pre-assigned cookie in wil_p2p_listen(),
wil_cfg80211_mgmt_tx(), and wil_cfg80211_probe_peer().
For remain_on_channel, store the pre-assigned cookie in p2p->cookie
instead of incrementing it. All cancel and expiry callbacks already
read from p2p->cookie so they pick up the correct value.
For mgmt_tx, remove the defensive "cookie ? *cookie : 0" guard;
cfg80211 guarantees a non-NULL cookie pointer.
For probe_peer, store the pre-assigned cookie in req->cookie instead
of the CID value. The CID is still available via req->cid for STA
lookup in wil_probe_client_handle().
Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20260731123509.1975281-5-arend.vanspriel@broadcom.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
