This patch series (based on mac80211next branch) includes our efforts for more sophisticated simulations for
wifi-networks:
- improving MAC-Address lookups with rhashtable
- add tx-flags for every frame for more detailed transmission simulation
- add argument to set permanent MAC address of a hwsim interface while creation
- fixing bad behavior of radio dump and module unload with many radios
Changes since v2:
* added a separate workqueue for the deferred deletion tasks (and therefore
reduce the introduced code massively)
* fixed missing signaling of interrupted nl-dump operation
* fixed small formatting errors
Changes since v1:
* syntactical/formal issues
* the hashtable is now formed by rhashtable
* instead of the radio id, the radio mac-address can be configured by new
radio command
* parallel ops patch is removed
* removed the reverse synchronization of the tx-flags from driver to mac80211,
since I believe the tx-rate flags are not used after the transmission
is done
Signed-off-by: Benjamin Beichler <[email protected]>
Benjamin Beichler (5):
mac80211_hwsim: add workqueue to wait for deferred radio deletion on
mod unload
mac80211_hwsim: add hashtable with mac address keys for faster lookup
mac80211_hwsim: add generation count for netlink dump operation
mac80211_hwsim: add permanent mac address option for new radios
mac80211_hwsim: add hwsim_tx_rate_flags to netlink attributes
drivers/net/wireless/mac80211_hwsim.c | 206 +++++++++++++++++++++++++++-------
drivers/net/wireless/mac80211_hwsim.h | 77 ++++++++++++-
2 files changed, 240 insertions(+), 43 deletions(-)
--
2.15.1