= "iwpriv" command line interface to driver parameters = * Madwifi provides an ioctl based command line interface "iwpriv" to set certain driver parameters specific to the wireless interface. [[BR]] == Usage of iwpriv == * Typing iwpriv on the command line would give a list of the available private ioctls for each of the wireless interfaces that are up. [[BR]] For example, [[BR]] node1-1:~# iwpriv [[BR]] eth0 no private ioctls. eth1 no private ioctls. lo no private ioctls. ath0 Available private ioctls : setoptie (8BE8) : set 256 byte & get 0 [[BR]] getoptie (8BE9) : set 0 & get 256 byte [[BR]] setkey (8BE2) : set 60 byte & get 0 [[BR]] delkey (8BE4) : set 7 byte & get 0 [[BR]] setmlme (8BE6) : set 42 byte & get 0 [[BR]] addmac (8BEA) : set 1 addr & get 0 [[BR]] delmac (8BEC) : set 1 addr & get 0 [[BR]] chanlist (8BEE) : set 32 byte & get 0 [[BR]] wdsadd (8BF0) : set 1 addr & get 0 [[BR]] wdsdel (8BF2) : set 1 addr & get 0 [[BR]] setparam (8BE0) : set 2 int & get 0 [[BR]] getparam (8BE1) : set 1 int & get 1 int [[BR]] turbo (0001) : set 1 int & get 0 [[BR]] get_turbo (0001) : set 0 & get 1 int [[BR]] mode (0002) : set 1 int & get 0 [[BR]] get_mode (0002) : set 0 & get 1 int [[BR]] authmode (0003) : set 1 int & get 0 [[BR]] get_authmode (0003) : set 0 & get 1 int [[BR]] protmode (0004) : set 1 int & get 0 [[BR]] get_protmode (0004) : set 0 & get 1 int [[BR]] mcastcipher (0005) : set 1 int & get 0 [[BR]] get_mcastcipher (0005) : set 0 & get 1 int [[BR]] mcastkeylen (0006) : set 1 int & get 0 [[BR]] get_mcastkeylen (0006) : set 0 & get 1 int [[BR]] ucastciphers (0007) : set 1 int & get 0 [[BR]] get_uciphers (0007) : set 0 & get 1 int [[BR]] ucastcipher (0008) : set 1 int & get 0 [[BR]] get_ucastcipher (0008) : set 0 & get 1 int [[BR]] ucastkeylen (0009) : set 1 int & get 0 [[BR]] get_ucastkeylen (0009) : set 0 & get 1 int [[BR]] keymgtalgs (0015) : set 1 int & get 0 [[BR]] get_keymgtalgs (0015) : set 0 & get 1 int [[BR]] rsncaps (0016) : set 1 int & get 0 [[BR]] get_rsncaps (0016) : set 0 & get 1 int [[BR]] roaming (000C) : set 1 int & get 0 [[BR]] get_roaming (000C) : set 0 & get 1 int [[BR]] privacy (000D) : set 1 int & get 0 [[BR]] get_privacy (000D) : set 0 & get 1 int[[BR]] countermeasures (000E) : set 1 int & get 0 [[BR]] get_countermeas (000E) : set 0 & get 1 int [[BR]] dropunencrypted (000F) : set 1 int & get 0 [[BR]] get_dropunencry (000F) : set 0 & get 1 int [[BR]] wpa (000A) : set 1 int & get 0 [[BR]] get_wpa (000A) : set 0 & get 1 int [[BR]] driver_caps (0010) : set 1 int & get 0 [[BR]] get_driver_caps (0010) : set 0 & get 1 int [[BR]] maccmd (0011) : set 1 int & get 0 [[BR]] wme (0012) : set 1 int & get 0 [[BR]] get_wme (0012) : set 0 & get 1 int [[BR]] hide_ssid (0013) : set 1 int & get 0 [[BR]] get_hide_ssid (0013) : set 0 & get 1 int [[BR]] ap_bridge (0014) : set 1 int & get 0 [[BR]] get_ap_bridge (0014) : set 0 & get 1 int [[BR]] inact (0017) : set 1 int & get 0 [[BR]] get_inact (0017) : set 0 & get 1 int [[BR]] inact_auth (0018) : set 1 int & get 0 [[BR]] get_inact_auth (0018) : set 0 & get 1 int [[BR]] inact_init (0019) : set 1 int & get 0 [[BR]] get_inact_init (0019) : set 0 & get 1 int [[BR]] ibss (001A) : set 1 int & get 0 [[BR]] get_ibss (001A) : set 0 & get 1 int [[BR]] pureg (001B) : set 1 int & get 0 [[BR]] get_pureg (001B) : set 0 & get 1 int [[BR]] wdsonly (001C) : set 1 int & get 0 [[BR]] get_wdsonly (001C) : set 0 & get 1 int [[BR]] calint (001D) : set 1 int & get 0 [[BR]] get_calint (001D) : set 0 & get 1 int [[BR]] reset (0063) : set 1 int & get 0 [[BR]] * To set a parameter using an available ioctl, one can issue a following command iwpriv value. [[BR]] For example, to set the periodic noise floor calibration interval to a value of 3 seconds on interface ath0, issue the following command. [[BR]] iwpriv ath0 calint 3 * To get a parameter using an available ioctl, one can use the following command iwpriv value. [[BR]] For example, to get the periodic noise floor calibration interval, [[BR]] iwpriv ath0 get_calint [[BR]]