wifi: mac80211: simplify HE/EHT element length functions
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 19:19:27 +0000 (20:19 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 14:00:43 +0000 (15:00 +0100)
commit90233160d761e4ea56c7ac30e36fdaec73b3bdc4
treef270463e799a878833a09241ac5395170b69da31
parenta57944d1ee8bf29cbdf7d6b8e9579d88bf912c3e
wifi: mac80211: simplify HE/EHT element length functions

We don't need to pass the iftype there, we already have it
in the sdata. Simplify this code.

Link: https://msgid.link/20240129202041.5890eb1d4184.Ibce7e5abcc7887630da03ac2263d8004ec541418@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mesh_plink.c
net/mac80211/util.c