wifi: mac80211_hwsim: send a beacon per link
authorShaul Triebitz <shaul.triebitz@intel.com>
Mon, 6 Jun 2022 17:03:17 +0000 (20:03 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:57:08 +0000 (12:57 +0200)
commite57f8a489c294d83cc4e2c9cba1432f99fbf7fdd
tree319efd65f2485203f1eef37b8712de312c95eda9
parent630c7e4621763220d23789fbb036e0cf227e0b22
wifi: mac80211_hwsim: send a beacon per link

Add to hwsim a link_data structure.
For now, move the beacon interval and beacon timer to
the link_data structure (making them per link).
Set a beacon timer for each link and transmit a per
link beacon (pass the link_id to ieee80211_beacon_get).

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c