wifi: mac80211: refactor adding custom elements
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 13:38:57 +0000 (15:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:18 +0000 (11:43 +0200)
commit3c68cb81bf611f6c80ccb164556808d7e04cca89
tree27f631e51b9fe5e83d8dc0dd8219721a8f131228
parentc1690b66ba7016a5c25dc1fb77133cbf64622fcc
wifi: mac80211: refactor adding custom elements

Rework the sorting of custom elements into the association
request by moving the elements before HT/VHT/HE to each
their own function. While at it, fix the placement of the
ones that should be between VHT and HE.

This doesn't fix the placement of elements that should be
between HE and EHT yet, a similar change might be needed
in the future.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c