man-pages/man8/iwpriv.8.html
2021-03-31 01:06:50 +01:00

205 lines
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of IWPRIV</TITLE>
</HEAD><BODY>
<H1>IWPRIV</H1>
Section: Linux Programmer's Manual (8)<BR>Updated: 31 October 1996<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
iwpriv - configure optionals (private) parameters of a wireless
network interface
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>iwpriv [</B><I>interface</I><B>]</B>
<BR>
<B>iwpriv </B><I>interface private-command </I><B>[</B><I>private-parameters</I><B>]</B>
<BR>
<B>iwpriv </B><I>interface private-command </I><B>[</B><I>I</I><B>] [</B><I>private-parameters</I><B>]</B>
<BR>
<B>iwpriv </B><I>interface</I><B> --all</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>Iwpriv</B>
is the companion tool to
<I><A HREF="/cgi-bin/man/man2html?8+iwconfig">iwconfig</A></I>(8).
<B>Iwpriv</B>
deals with parameters and setting specific to each driver (as opposed to
<I>iwconfig</I>
which deals with generic ones).
<P>
Without any argument,
<B>iwpriv</B>
list the available private commands available on each interface, and
the parameters that they require. Using this information, the user may
apply those interface specific commands on the specified interface.
<P>
In theory, the documentation of each device driver should indicate how
to use those interface specific commands and their effect.
<A NAME="lbAE">&nbsp;</A>
<H2>PARAMETERS</H2>
<DL COMPACT>
<DT id="1"><I>private-command</I> [<I>private-parameters</I>]
<DD>
Execute the specified
<I>private-command</I>
on the interface.
<BR>
The command may optionally take or require arguments, and may display
information. Therefore, the command line parameters may or may not be
needed and should match the command expectations. The list of commands
that
<B>iwpriv</B>
displays (when called without argument) should give you some hints
about those parameters.
<BR>
However you should refer to the device driver documentation for
information on how to properly use the command and the effect.
<DT id="2"><I>private-command </I>[<I>I</I>] [<I>private-parameters</I>]
<DD>
Idem, except that
<I>I</I>
(an integer) is passed to the command as a
<I>Token Index</I>.
Only some command will use the Token Index (most will ignore it), and
the driver documentation should tell you when it's needed.
<DT id="3"><B>-a</B>/<B>--all</B>
<DD>
Execute and display all the private commands that don't take any
arguments (i.e. read only).
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>DISPLAY</H2>
For each device which support private commands,
<I>iwpriv</I>
will display the list of private commands available.
<P>
This include the name of the private command, the number or arguments
that may be set and their type, and the number or arguments that may
be display and their type.
<P>
For example, you may have the following display :
<BR>
<B>eth0 Available private ioctl :</B>
<BR>
<B> setqualthr (89F0) : set 1 byte &amp; get 0</B>
<BR>
<B> gethisto (89F7) : set 0 &amp; get 16 int</B>
<P>
This indicate that you may set the quality threshold and display an
histogram of up to 16 values with the following commands :
<BR>
<I> iwpriv eth0 setqualthr 20</I>
<BR>
<I> iwpriv eth0 gethisto</I>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Jean Tourrilhes - <A HREF="mailto:jt@hpl.hp.com">jt@hpl.hp.com</A>
<A NAME="lbAH">&nbsp;</A>
<H2>FILES</H2>
<I>/proc/net/wireless</I>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+iwconfig">iwconfig</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+iwlist">iwlist</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+iwevent">iwevent</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+iwspy">iwspy</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?7+wireless">wireless</A></B>(7).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="4"><A HREF="#lbAB">NAME</A><DD>
<DT id="5"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="6"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="7"><A HREF="#lbAE">PARAMETERS</A><DD>
<DT id="8"><A HREF="#lbAF">DISPLAY</A><DD>
<DT id="9"><A HREF="#lbAG">AUTHOR</A><DD>
<DT id="10"><A HREF="#lbAH">FILES</A><DD>
<DT id="11"><A HREF="#lbAI">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:13 GMT, March 31, 2021
</BODY>
</HTML>