diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-07-11 13:51:50 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-07-11 14:50:40 +0200 |
commit | bc13278eae5e49ce8bcf8cd964c97f05660e81b3 (patch) | |
tree | 2e6530a171faa254b3e1a6e2d16f40b023592947 /main.c | |
parent | f5b5a583596580df46c361b6333703a228e3da11 (diff) |
nl80211: support the MAC80211_HWSIM netlink protocol family
The mac80211_hwsim module exposes a custom generic netlink family for
managing simulated phys and userspace data frame transmission.
Since hwsim functionality is closely related to nl80211 and useful to
e.g. manage simulated wireless testbeds, I decided to include support
directly into the nl80211 module.
Example calls for creating and destroying hwsim wiphys:
nl80211.request(nl80211.const.HWSIM_CMD_NEW_RADIO, 0, {
perm_addr: "02:11:22:33:44:55",
support_p2p_device: true
});
nl80211.request(nl80211.const.HWSIM_CMD_DEL_RADIO, 0, {
radio_name: "phy2"
});
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions