= "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]] ... * In addition, support has also been added for setting/getting the periodic noise floor calibration interval through the ioctl "calint" and "get_calint" using iwpriv. The periodic noise floor calibration interval determines how often the radio card calibrates the noise floor to account for any temperature and/or environment changes. [[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]]