diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-06-07 20:20:16 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-06-07 20:20:16 +0000 |
commit | 2151f4451c5f87978d5c21794dc33a45a8b6b11c (patch) | |
tree | 50d4fb653e63bb21e53567c66208d43fefe67c39 /share/man/man9/ieee80211_output.9 | |
parent | a6375dcfa344ccca09970470724321331cb34fd6 (diff) |
move ieee80211_compute_duration() and ieee80211_compute_duration1()
functions into the two drivers that use them (atw and rtw.)
this code is not generic enough to be used by other drivers and
there is no chance that it will ever be used in newer driver since
it supports 802.11b only.
plus, it hurts my eyes each time i look into ieee80211_output.c.
"fine with me as long as the logic doesn't change in the functions" jsg@
Diffstat (limited to 'share/man/man9/ieee80211_output.9')
-rw-r--r-- | share/man/man9/ieee80211_output.9 | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/share/man/man9/ieee80211_output.9 b/share/man/man9/ieee80211_output.9 index c92d7557860..7587c35ad1f 100644 --- a/share/man/man9/ieee80211_output.9 +++ b/share/man/man9/ieee80211_output.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ieee80211_output.9,v 1.3 2007/05/31 19:20:00 jmc Exp $ +.\" $OpenBSD: ieee80211_output.9,v 1.4 2007/06/07 20:20:15 damien Exp $ .\" .\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org> .\" Copyright (c) 2004 Darron Broad <darron@kewl.org> @@ -26,14 +26,14 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/share/man/man9/ieee80211_output.9,v 1.2 2004/07/07 12:59:39 ru Exp $ -.\" $Id: ieee80211_output.9,v 1.3 2007/05/31 19:20:00 jmc Exp $ +.\" $Id: ieee80211_output.9,v 1.4 2007/06/07 20:20:15 damien Exp $ .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: June 7 2007 $ .Dt IEEE80211_OUTPUT 9 .Os .Sh NAME .Nm ieee80211_encap , ieee80211_add_rates , -.Nm ieee80211_add_xrates , ieee80211_compute_duration +.Nm ieee80211_add_xrates , .Nm ieee80211_send_mgmt .Nd software 802.11 stack output functions .Sh SYNOPSIS @@ -48,18 +48,6 @@ .Ft u_int8_t * .Fn ieee80211_add_xrates "u_int8_t *frm" "const struct ieee80211_rateset *rs" .Ft int -.Fo ieee80211_compute_duration -.Fa "struct ieee80211_frame *wh" -.Fa "int len" -.Fa "uint32_t flags" -.Fa "int fraglen" -.Fa "int rate" -.Fa "struct ieee80211_duration *d0" -.Fa "struct ieee80211_duration *dn" -.Fa "int *npktp" -.Fa "int debug" -.Fc -.Ft int .Fo ieee80211_send_mgmt .Fa "struct ieee80211com *ic" "struct ieee80211_node *ni" "int type" "int arg" .Fc @@ -123,12 +111,6 @@ software 802.11 stack in 802.11g mode. .Pp .\" The -.Fn ieee80211_compute_duration -function computes for any packet the appropriate 802.11 Duration field, -the PLCP Length field, as well as the Duration and Length fields for an RTS frame. -.Pp -.\" -The .Fn ieee80211_send_mgmt function transmits a management frame on the interface .Fa ic |