mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-04-15 06:28:00 +02:00
README: Add paragraph about mac80211_hwsim simulation support
This commit is contained in:
parent
2d75ab55e7
commit
1d678e7b41
21
README
21
README
@ -91,3 +91,24 @@ needs to be created:
|
|||||||
|
|
||||||
For now it is important that the netlink monitor interace is actually
|
For now it is important that the netlink monitor interace is actually
|
||||||
named nlmon. Future version might relax this requirement.
|
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=<radio-id>
|
||||||
|
|
||||||
|
The radio id assigned to each virtual device is its internal id used
|
||||||
|
by the Wireless device.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user