The following diff file illustrates the addition of a private ioctl through iwpriv in madwifi * [wiki:Internal/Iwpriv iwpriv to set Madwifi Driver Parameters]