net80211.4 (232250) | net80211.4 (233648) |
---|---|
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 232250 2012-02-28 13:19:34Z gavin $ | 29.\" $FreeBSD: head/share/man/man4/net80211.4 233648 2012-03-29 05:02:12Z eadler $ |
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 --- 156 unchanged lines hidden (view full) --- 194.Dv IEEE80211_AUTH_WPA 195(WPA/802.11i/802.1x authentication). 196.It Dv IEEE80211_IOC_BEACON_INTERVAL 197Return the time between Beacon frames (in TU) in 198.Va i_val . 199.It Dv IEEE80211_IOC_BGSCAN 200Return whether background scanning is enabled in 201.Va i_val . | 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 --- 156 unchanged lines hidden (view full) --- 194.Dv IEEE80211_AUTH_WPA 195(WPA/802.11i/802.1x authentication). 196.It Dv IEEE80211_IOC_BEACON_INTERVAL 197Return the time between Beacon frames (in TU) in 198.Va i_val . 199.It Dv IEEE80211_IOC_BGSCAN 200Return whether background scanning is enabled in 201.Va i_val . |
202When this value is non-zero and operating in station mode | 202When this value is non-zero and operating in station mode |
203the station will periodically leave 204the current channel and scan for neighboring stations. 205See also 206.Dv IEEE80211_IOC_BGSCAN_IDLE 207and 208.Dv IEEE80211_IOC_BGSCAN_INTERVAL . 209.It Dv IEEE80211_IOC_BGSCAN_IDLE 210Return in --- 127 unchanged lines hidden (view full) --- 338.Va i_val , 339whether or not Greenfield preamble use is enabled. 340This setting is meaningful only when operating with 802.11n on an HT channel. 341.It Dv IEEE80211_IOC_HIDESSID 342Return, in 343.Va i_val , 344whether SSID hiding/cloaking is enabled. 345SSID hiding is only meaningful when operating as an access point. | 203the station will periodically leave 204the current channel and scan for neighboring stations. 205See also 206.Dv IEEE80211_IOC_BGSCAN_IDLE 207and 208.Dv IEEE80211_IOC_BGSCAN_INTERVAL . 209.It Dv IEEE80211_IOC_BGSCAN_IDLE 210Return in --- 127 unchanged lines hidden (view full) --- 338.Va i_val , 339whether or not Greenfield preamble use is enabled. 340This setting is meaningful only when operating with 802.11n on an HT channel. 341.It Dv IEEE80211_IOC_HIDESSID 342Return, in 343.Va i_val , 344whether SSID hiding/cloaking is enabled. 345SSID hiding is only meaningful when operating as an access point. |
346When this is enabled Beacon frames do not include the SSID and | 346When this is enabled Beacon frames do not include the SSID and |
347ProbeRequest frames are not answered unless they include the AP's SSID. 348This value will be non-zero when SSID hiding is enabled and otherwise zero. 349.It Dv IEEE80211_IOC_HTCOMPAT 350Return, in 351.Va i_val , 352whether or not 802.11n compatibility support is enabled. 353The 802.11n protocol specification went through several incompatible iterations. 354Some vendors implemented 11n support to older specifications that --- 104 unchanged lines hidden (view full) --- 459(power save operation is enabled). 460.It Dv IEEE80211_IOC_POWERSAVESLEEP 461Return the powersave sleep time in TU in 462.Va i_val . 463This value is also termed the listen interval and represents the maximum time 464a station will sleep before waking to retrieve packets buffered by 465an access point. 466.It Dv IEEE80211_IOC_PRIVACY | 347ProbeRequest frames are not answered unless they include the AP's SSID. 348This value will be non-zero when SSID hiding is enabled and otherwise zero. 349.It Dv IEEE80211_IOC_HTCOMPAT 350Return, in 351.Va i_val , 352whether or not 802.11n compatibility support is enabled. 353The 802.11n protocol specification went through several incompatible iterations. 354Some vendors implemented 11n support to older specifications that --- 104 unchanged lines hidden (view full) --- 459(power save operation is enabled). 460.It Dv IEEE80211_IOC_POWERSAVESLEEP 461Return the powersave sleep time in TU in 462.Va i_val . 463This value is also termed the listen interval and represents the maximum time 464a station will sleep before waking to retrieve packets buffered by 465an access point. 466.It Dv IEEE80211_IOC_PRIVACY |
467Return the current MLME setting for PRIVACY in | 467Return the current MLME setting for PRIVACY in |
468.Va i_val . 469When PRIVACY is enabled all data packets must be encrypted. 470This value will be zero if PRIVACY is disabled and 471non-zero when PRIVACY is enabled. 472.It Dv IEEE80211_IOC_PROTMODE 473Return the current 802.11g protection mode in 474.Va i_val . 475Protection is the mechanism used to safeguard 802.11b stations operating --- 612 unchanged lines hidden (view full) --- 1088.Dv IEEE80211_IOC_POWERSAVE 1089above for valid values. 1090This request causes a running interface to be reset. 1091.It Dv IEEE80211_IOC_POWERSAVESLEEP 1092Set the powersave sleep time in TU to the value in 1093.Va i_val . 1094This request causes a running interface to be reset. 1095.It Dv IEEE80211_IOC_PRIVACY | 468.Va i_val . 469When PRIVACY is enabled all data packets must be encrypted. 470This value will be zero if PRIVACY is disabled and 471non-zero when PRIVACY is enabled. 472.It Dv IEEE80211_IOC_PROTMODE 473Return the current 802.11g protection mode in 474.Va i_val . 475Protection is the mechanism used to safeguard 802.11b stations operating --- 612 unchanged lines hidden (view full) --- 1088.Dv IEEE80211_IOC_POWERSAVE 1089above for valid values. 1090This request causes a running interface to be reset. 1091.It Dv IEEE80211_IOC_POWERSAVESLEEP 1092Set the powersave sleep time in TU to the value in 1093.Va i_val . 1094This request causes a running interface to be reset. 1095.It Dv IEEE80211_IOC_PRIVACY |
1096Set the current MLME setting for PRIVACY using the value in | 1096Set the current MLME setting for PRIVACY using the value in |
1097.Va i_val . 1098See 1099.Dv IEEE80211_IOC_PRIVACY 1100above for details. 1101.It Dv IEEE80211_IOC_PROTMODE 1102Set the current 802.11g protection mode to the value in 1103.Va i_val . 1104This request causes a running interface to be reset. --- 95 unchanged lines hidden (view full) --- 1200Set the interval between Beacon frames to the value in 1201.Va i_val . 1202Values must be positive. 1203This request causes a running interface to be reset. 1204.It Dv IEEE80211_IOC_TDMA_SLOT 1205Set the current TDMA slot to the value in 1206.Va i_val . 1207Values must be in the range [0-slotcnt]. | 1097.Va i_val . 1098See 1099.Dv IEEE80211_IOC_PRIVACY 1100above for details. 1101.It Dv IEEE80211_IOC_PROTMODE 1102Set the current 802.11g protection mode to the value in 1103.Va i_val . 1104This request causes a running interface to be reset. --- 95 unchanged lines hidden (view full) --- 1200Set the interval between Beacon frames to the value in 1201.Va i_val . 1202Values must be positive. 1203This request causes a running interface to be reset. 1204.It Dv IEEE80211_IOC_TDMA_SLOT 1205Set the current TDMA slot to the value in 1206.Va i_val . 1207Values must be in the range [0-slotcnt]. |
1208Slot 0 identifies the master in the TDMA network; if it running it will | 1208Slot 0 identifies the master in the TDMA network; if it running it will |
1209immediately start sending Beacon frames. 1210.It Dv IEEE80211_IOC_TDMA_SLOTCNT 1211Set the number of slots in the TDMA network to the value in 1212.Va i_val . 1213This request causes a running interface to be reset. 1214.It Dv IEEE80211_IOC_TDMA_SLOTLEN 1215Set the length of the TDMA slot assigned to each station in the network 1216to the value in --- 102 unchanged lines hidden --- | 1209immediately start sending Beacon frames. 1210.It Dv IEEE80211_IOC_TDMA_SLOTCNT 1211Set the number of slots in the TDMA network to the value in 1212.Va i_val . 1213This request causes a running interface to be reset. 1214.It Dv IEEE80211_IOC_TDMA_SLOTLEN 1215Set the length of the TDMA slot assigned to each station in the network 1216to the value in --- 102 unchanged lines hidden --- |