1IWPRIV(8) Linux Programmer's Manual IWPRIV(8)
2
3
4
6 iwpriv - configure optionals (private) parameters of a wireless network
7 interface
8
10 iwpriv [interface]
11 iwpriv interface private-command [private-parameters]
12 iwpriv interface private-command [I] [private-parameters]
13 iwpriv interface --all
14 iwpriv interface roam {on,off}
15 iwpriv interface port {ad-hoc,managed,N}
16
18 Iwpriv is the companion tool to iwconfig(8). Iwpriv deals with parame‐
19 ters and setting specific to each driver (as opposed to iwconfig which
20 deals with generic ones).
21
22 Without any argument, iwpriv list the available private commands avail‐
23 able on each interface, and the parameters that they require. Using
24 this information, the user may apply those interface specific commands
25 on the specified interface.
26
27 In theory, the documentation of each device driver should indicate how
28 to use those interface specific commands and their effect.
29
31 private-command [private-parameters]
32 Execute the specified private-command on the interface.
33 The command may optionally take or require arguments, and may
34 display information. Therefore, the command line parameters may
35 or may not be needed and should match the command expectations.
36 The list of commands that iwpriv displays (when called without
37 argument) should give you some hints about those parameters.
38 However you should refer to the device driver documentation for
39 information on how to properly use the command and the effect.
40
41 private-command [I] [ private-parameters ]
42 Idem, except that I (an integer) is passed to the command as a
43 Token Index. Only some command will use the Token Index (most
44 will ignore it), and the driver documentation should tell you
45 when it's needed.
46
47 -a/--all
48 Execute and display all the private commands that don't take any
49 arguments (i.e. read only).
50
51 roam Enable or disable roaming, if supported. Call the private com‐
52 mand setroam. Found in the wavelan_cs driver.
53
54 port Read or configure the port type. Call the private commands
55 gport_type, sport_type, get_port or set_port found in the wave‐
56 lan2_cs and wvlan_cs drivers.
57
59 For each device which support private commands, iwpriv will display the
60 list of private commands available.
61
62 This include the name of the private command, the number or arguments
63 that may be set and their type, and the number or arguments that may be
64 display and their type.
65
66 For example, you may have the following display :
67 eth0 Available private ioctl :
68 setqualthr (89F0) : set 1 byte & get 0
69 gethisto (89F7) : set 0 & get 16 int
70
71 This indicate that you may set the quality threshold and display an
72 histogram of up to 16 values with the following commands :
73 iwpriv eth0 setqualthr 20
74 iwpriv eth0 gethisto
75
77 Jean Tourrilhes - jt@hpl.hp.com
78
80 /proc/net/wireless
81
83 iwconfig(8), iwlist(8), iwevent(8), iwspy(8), wireless(7).
84
85
86
87net-tools 31 October 1996 IWPRIV(8)