net80211.4 (211397) | net80211.4 (231564) |
---|---|
1.\"- 2.\" Copyright (c) 2009 Sam Leffler, Errno Consulting 3.\" All rights reserved. 4.\"" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22.\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27.\" THE POSSIBILITY OF SUCH DAMAGES. 28.\" | 1.\"- 2.\" Copyright (c) 2009 Sam Leffler, Errno Consulting 3.\" All rights reserved. 4.\"" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22.\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27.\" THE POSSIBILITY OF SUCH DAMAGES. 28.\" |
29.\" $FreeBSD: head/share/man/man4/net80211.4 211397 2010-08-16 15:18:30Z joel $ | 29.\" $FreeBSD: head/share/man/man4/net80211.4 231564 2012-02-12 18:29:56Z ed $ |
30.\" 31.Dd July 10, 2009 32.Dt NET80211 4 33.Os 34.Sh NAME 35.Nm net80211 36.Nd standard interface to IEEE 802.11 devices 37.Sh SYNOPSIS --- 21 unchanged lines hidden (view full) --- 59.Pp 60These requests are made via a modified 61.Vt ifreq 62structure. 63This structure is defined as follows: 64.Bd -literal 65struct ieee80211req { 66 char i_name[IFNAMSIZ]; /* if_name, e.g. "wi0" */ | 30.\" 31.Dd July 10, 2009 32.Dt NET80211 4 33.Os 34.Sh NAME 35.Nm net80211 36.Nd standard interface to IEEE 802.11 devices 37.Sh SYNOPSIS --- 21 unchanged lines hidden (view full) --- 59.Pp 60These requests are made via a modified 61.Vt ifreq 62structure. 63This structure is defined as follows: 64.Bd -literal 65struct ieee80211req { 66 char i_name[IFNAMSIZ]; /* if_name, e.g. "wi0" */ |
67 u_int16_t i_type; /* req type */ | 67 uint16_t i_type; /* req type */ |
68 int16_t i_val; /* Index or simple value */ 69 int16_t i_len; /* Index or simple value */ 70 void *i_data; /* Extra data */ 71}; 72.Ed 73.Pp 74Requests that are not supported by the underlying device return 75-1 and set the global variable errno to --- 1243 unchanged lines hidden --- | 68 int16_t i_val; /* Index or simple value */ 69 int16_t i_len; /* Index or simple value */ 70 void *i_data; /* Extra data */ 71}; 72.Ed 73.Pp 74Requests that are not supported by the underlying device return 75-1 and set the global variable errno to --- 1243 unchanged lines hidden --- |