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 struct ieee80211_vif pointer from the add_interface callback.
21
22 frame_len
23 the length of the frame that is going to be protected by the
24 CTS-to-self.
25
26 frame_txctl
27 struct ieee80211_tx_info of the frame.
28
30 If the CTS-to-self is generated in firmware, but the host system must
31 provide the duration field, the low-level driver uses this function to
32 receive the duration field value in little-endian byteorder.
33
35 The duration.
36
38 Johannes Berg <johannes@sipsolutions.net>
39 Author.
40
42Kernel Hackers Manual 3.10 June 2019 IEEE80211_CTSTOSELF_(9)