Skip to content

patgrosse/mac80211_hwsim_mgmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mac80211_hwsim_mgmt

Build Status

Management tool for mac80211_hwsim kernel module

Features

  • Create mac80211_hwsim stations after the kernel module has been loaded
  • Delete mac80211_hwsim stations
  • Set mac80211_hwsim properties per station
  • Uses netlink genl messages for kernel communication

Installation

Will install to /usr/bin/hwsim_mgmt and may require root

git clone https://github.com/patgrosse/mac80211_hwsim_mgmt.git
cd mac80211_hwsim_mgmt
make install

About Set RSSI

The feature Set RSSI requires minor changes in mac80211_hwsim: https://www.youtube.com/watch?v=gtaHCpaHBGc

Requirements

  • A kernel containing the mac80211_hwsim module
  • libevent and at least libnl-2.0

Usage

hwsim_mgmt [OPTION...]

 Modes: [-c [OPTION...]|-d|-x]
  -c, --create               Create a new radio
  -d, --delid=ID             Delete an existing radio by its id
  -x, --delname=NAME         Delete an existing radio by its name
  -k, --setrssi=NUM          Set RSSI to specific radio 

 Create options:
  -a, --alphareg=STR         reg_alpha2 hint
  -n, --name=NAME            The requested name (may not be available)
  -o, --channels=NUM         Number of concurrent channels
  -r, --customreg=REG        reg_domain ID int
  -t, --chanctx              Use chantx (flag)
  -v, --novif                No auto vif (flag)

 General:
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

About

Management tool for mac80211_hwsim kernel module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published