diff options
Diffstat (limited to 'share/man/man9/ieee80211.9')
-rw-r--r-- | share/man/man9/ieee80211.9 | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/share/man/man9/ieee80211.9 b/share/man/man9/ieee80211.9 index ef1e83f8a44..53fb26fa480 100644 --- a/share/man/man9/ieee80211.9 +++ b/share/man/man9/ieee80211.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ieee80211.9,v 1.9 2007/11/03 14:59:55 mglocker Exp $ +.\" $OpenBSD: ieee80211.9,v 1.10 2007/11/14 11:16:27 mglocker Exp $ .\" .\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org> .\" Copyright (c) 2004 Darron Broad <darron@kewl.org> @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/share/man/man9/ieee80211.9,v 1.3 2004/07/07 12:59:39 ru Exp $ -.\" $Id: ieee80211.9,v 1.9 2007/11/03 14:59:55 mglocker Exp $ +.\" $Id: ieee80211.9,v 1.10 2007/11/14 11:16:27 mglocker Exp $ .\" -.Dd $Mdocdate: November 3 2007 $ +.Dd $Mdocdate: November 14 2007 $ .Dt IEEE80211 9 .Os .Sh NAME @@ -37,7 +37,8 @@ .Nm ieee80211_media_init , ieee80211_media_change , ieee80211_media_status , .Nm ieee80211_watchdog , .Nm ieee80211_setmode , ieee80211_chan2mode , -.Nm ieee80211_rate2media , ieee80211_media2rate +.Nm ieee80211_rate2media , ieee80211_media2rate , +.Nm ieee80211_rate2plcp , ieee80211_plcp2rate .Nd core 802.11 network stack functions .Sh SYNOPSIS .In net80211/ieee80211_var.h @@ -76,6 +77,10 @@ .Fc .Ft int .Fn ieee80211_media2rate "int mword" +.Ft int +.Fn ieee80211_rate2plcp "int rate" "enum ieee80211_phymode mode" +.Ft int +.Fn ieee80211_plcp2rate "int plcp" "enum ieee80211_phymode mode" .Sh DESCRIPTION The .Nm ieee80211 @@ -237,6 +242,21 @@ performs the reverse of this conversion, returning the bit rate (in 0.5Mbps units) corresponding to an .Vt ifmedia sub-type. +.Pp +.\" +The +.Fn ieee80211_rate2plcp +function converts the bit rate +.Fa rate +(measured in units of 0.5Mbps) to a +.Vt plcp +signal. +The +.Fn ieee80211_plcp2rate +function performs the reverse of this conversion, +returning the bit rate (in 0.5Mbps units) corresponding to a +.Vt plcp +signal. .\" .Sh SEE ALSO .Xr ifmedia 4 , |