Benjamin Berg d094482c99 wifi: mac80211: fragment per STA profile correctly
When fragmenting the ML per STA profile, the element ID should be
IEEE80211_MLE_SUBELEM_PER_STA_PROFILE rather than WLAN_EID_FRAGMENT.

Change the helper function to take the to be used element ID and pass
the appropriate value for each of the fragmentation levels.

Fixes: 81151ce462e5 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230611121219.9b5c793d904b.I7dad952bea8e555e2f3139fbd415d0cd2b3a08c3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-06-12 09:52:52 +02:00
..
2023-05-05 19:12:01 -07:00
2023-04-26 16:07:23 -07:00
2023-04-27 11:53:57 -07:00
2023-02-21 18:24:12 -08:00
2023-04-28 09:40:38 +01:00
2023-03-16 17:34:40 -07:00
2023-02-13 09:30:14 +00:00
2023-05-05 19:12:01 -07:00
2023-05-05 19:12:01 -07:00
2023-04-29 11:04:14 -07:00
2023-02-21 18:24:12 -08:00
2023-04-13 16:43:38 -07:00
2023-04-19 18:46:17 -07:00