]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlwifi: mld: change cluster_id type to u8 array
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 11 Jan 2026 17:39:24 +0000 (19:39 +0200)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 21 Jan 2026 12:23:03 +0000 (14:23 +0200)
commit5b31cf3f487a4c7f21cb264a3501fb4a4a06b067
tree6f51226749b47a2d12a0e57111690d90ffac05ce
parentabce13f5607efcf423cdec31ee36adfb92bb94d6
wifi: iwlwifi: mld: change cluster_id type to u8 array

While the cluster_id is two bytes long, it is just the last two bytes of
the cluster ID MAC address. This does not really map to a big or little
endian data type. Switch it to use an array to avoid confusion and
adjust all users so that they do the right thing independent of
endianness.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260111193638.80921dc7d305.I56c2bbe0bfc6ee02782bc5d69fda2ac77f3502c4@changeid
drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h
drivers/net/wireless/intel/iwlwifi/mld/nan.c