ieee80211_rts_duration(9)

ieee80211_rts_duration9

Get the duration field for an rts frame

Usage

__le16 ieee80211_rts_duration(struct ieee80211_hw * hw, struct ieee80211_vif * vif, size_t frame_len, const struct ieee80211_tx_info * frame_txctl);

Arguments

hw

pointer obtained from ieee80211_alloc_hw.

vif

struct ieee80211_vif pointer from the add_interface callback.

frame_len

the length of the frame that is going to be protected by the RTS.

frame_txctl

struct ieee80211_tx_info of the frame.

Overview

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.

Return

The duration.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Author

Johannes Berg <[email protected]>

Author.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.