linux/net/mac80211/tests
Johannes Berg 39dc8b8ea3 wifi: mac80211: pass parsed TPE data to drivers
Instead of passing the full TPE elements, in all their glory
and mixed up data formats for HE backward compatibility, parse
them fully into the right values, and pass that to the drivers.

Also introduce proper validation already in mac80211, so that
drivers don't need to do it, and parse the EHT portions.

The code now passes the values in the right order according to
the channel used by an interface, which could also be a subset
of the data advertised by the AP, if we couldn't connect with
the full bandwidth (for whatever reason.)

Also add kunit tests for the more complicated bits of it.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240506214536.2aa839969b60.I265b28209e0b29772b2f125f7f83de44a4da877b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-05-23 10:35:04 +02:00
..
elems.c wifi: mac80211: hide element parsing internals 2024-03-04 14:33:03 +01:00
Makefile wifi: mac80211: pass parsed TPE data to drivers 2024-05-23 10:35:04 +02:00
mfp.c wifi: mac80211: kunit: extend MFP tests 2024-01-03 15:35:19 +01:00
module.c wifi: mac80211: add an element parsing unit test 2023-09-11 12:32:16 +02:00
tpe.c wifi: mac80211: pass parsed TPE data to drivers 2024-05-23 10:35:04 +02:00