'\" t .\" Title: ieee80211_rts_duration .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The basic mac80211 driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_RTS_DURATI" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The basic mac80211 driver inte" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_rts_duration \- Get the duration field for an RTS frame .SH "SYNOPSIS" .HP \w'__le16\ ieee80211_rts_duration('u .BI "__le16 ieee80211_rts_duration(struct\ ieee80211_hw\ *\ " "hw" ", struct\ ieee80211_vif\ *\ " "vif" ", size_t\ " "frame_len" ", const\ struct\ ieee80211_tx_info\ *\ " "frame_txctl" ");" .SH "ARGUMENTS" .PP \fIhw\fR .RS 4 pointer obtained from \fBieee80211_alloc_hw\fR\&. .RE .PP \fIvif\fR .RS 4 struct ieee80211_vif pointer from the add_interface callback\&. .RE .PP \fIframe_len\fR .RS 4 the length of the frame that is going to be protected by the RTS\&. .RE .PP \fIframe_txctl\fR .RS 4 struct ieee80211_tx_info of the frame\&. .RE .SH "DESCRIPTION" .PP If the RTS is generated in firmware, but the host system must provide the duration field, the low\-level driver uses this function to receive the duration field value in little\-endian byteorder\&. .SH "RETURN" .PP The duration\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br