From 1d678e7b41f8ab53b24954748d21d46bcbd1c7e8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 8 Aug 2014 15:50:04 -0700 Subject: [PATCH] README: Add paragraph about mac80211_hwsim simulation support --- README | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README b/README index 896abf07..132ea1fa 100644 --- a/README +++ b/README @@ -91,3 +91,24 @@ needs to be created: For now it is important that the netlink monitor interace is actually named nlmon. Future version might relax this requirement. + + +Simulating devices +================== + +The Linux driver mac80211_hwsim provides the functionality to simulate +Wireless devices using fake virtual air. Just load the module. + + modprobe mac80211_hwsim radios=0 + +Provding the radios=0 is important since otherwise it starts out with +two new Wireless radios by default. + +With the provided hwsim utility it is now possible to add and remove +virtual radio devices. + + hwsim --create + hwsim --destroy= + +The radio id assigned to each virtual device is its internal id used +by the Wireless device.