3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00
Commit Graph

156 Commits

Author SHA1 Message Date
Denis Kenzior
f125a78df8 hwsim: Minor style fix 2014-10-13 12:56:27 -05:00
Jukka Rissanen
1a07cf4ab1 hwsim: Add attribute to destroy radio when program stops
The new attribute causes the radio to be removed if the hwsim process
dies. This is the default behaviour. If user calls the binary with -k
option, then the radio is kept after hwsim quits.
This requires kernel support for HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
attribute.
2014-10-13 12:53:09 -05:00
Denis Kenzior
c3e9ac662a hwsim: Cleanup some style issues 2014-10-07 21:36:10 -05:00
Denis Kenzior
210187fb45 hwsim: Make compile 2014-10-07 21:35:58 -05:00
Jukka Rissanen
a052cb5d3c hwsim: Radio id was not parsed properly
When a new radio is created, the kernel returns the new radio id
in the error code. If the error < 0, then that means a real error
and other values are used as a radio id.

When a radio is destroyed, the error code 0 means a success and
other values indicate an error.
2014-10-07 21:31:36 -05:00
Marcel Holtmann
2d75ab55e7 tools: Add simple utility for interacting with mac80221_hwsim 2014-08-08 15:40:43 -07:00