ieee80211_ctstoself_(9)
NAME
ieee80211_ctstoself_duration - Get the duration field for a CTS-to-self
frame
SYNOPSIS
__le16 ieee80211_ctstoself_duration(struct ieee80211_hw * hw,
struct ieee80211_vif * vif,
size_t frame_len,
const struct ieee80211_tx_control * frame_txctl);
ARGUMENTS
- hw
- pointer obtained from ieee80211_alloc_hw.
- vif
struct ieee80211_vif pointer from struct ieee80211_if_init_conf.- frame_len
- the length of the frame that is going to be protected by the
CTS-to-self. - frame_txctl
struct ieee80211_tx_control of the frame.
DESCRIPTION
If the CTS-to-self 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.
AUTHOR
- Johannes Berg <johannes@sipsolutions.net>
- Author.