]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: cfg80211: make cluster id an array
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Mon, 2 Mar 2026 07:11:46 +0000 (09:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Mar 2026 10:01:02 +0000 (11:01 +0100)
commit94d865739249c0b68b0046ea22e55b93fdf420c6
tree6355188191ab1bd9e05732b47929d5c8f62df534
parentb8a57b979a7c2069081ed0bf88a727b17d85ac96
wifi: cfg80211: make cluster id an array

cfg80211_nan_conf::cluster_id is currently a pointer, but there is no real
reason to not have it an array. It makes things easier as there is no
need to check the pointer validity each time.
If a cluster ID wasn't provided by user space it will be randomized.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260302091108.2b12e4ccf5bb.Ib16bf5cca55463d4c89e18099cf1dfe4de95d405@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/nan.c
drivers/net/wireless/virtual/mac80211_hwsim.c
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c