1IEEE80211_CTSTOSELF_(9) The basic mac80211 driver inte IEEE80211_CTSTOSELF_(9)
2
3
4
6 ieee80211_ctstoself_duration - Get the duration field for a CTS-to-self
7 frame
8
10 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw * hw,
11 struct ieee80211_vif * vif,
12 size_t frame_len,
13 const struct ieee80211_tx_info * frame_txctl);
14
16 hw
17 pointer obtained from ieee80211_alloc_hw.
18
19 vif
20
21 struct ieee80211_vif pointer from the add_interface callback.
22
23 frame_len
24 the length of the frame that is going to be protected by the
25 CTS-to-self.
26
27 frame_txctl
28
29 struct ieee80211_tx_info of the frame.
30
32 If the CTS-to-self is generated in firmware, but the host system must
33 provide the duration field, the low-level driver uses this function to
34 receive the duration field value in little-endian byteorder.
35
37 Johannes Berg <johannes@sipsolutions.net>
38 Author.
39
41Kernel Hackers Manual 2.6. November 2011 IEEE80211_CTSTOSELF_(9)