1IEEE80211_CTSTOSELF_(9) The basic mac80211 driver inte IEEE80211_CTSTOSELF_(9)
2
3
4
6 ieee80211_ctstoself_get - CTS-to-self frame generation function
7
9 void ieee80211_ctstoself_get(struct ieee80211_hw * hw,
10 struct ieee80211_vif * vif,
11 const void * frame, size_t frame_len,
12 const struct ieee80211_tx_info * frame_txctl,
13 struct ieee80211_cts * cts);
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
23 pointer to the frame that is going to be protected by the
24 CTS-to-self.
25
26 frame_len
27 the frame length (in octets).
28
29 frame_txctl
30 struct ieee80211_tx_info of the frame.
31
32 cts
33 The buffer where to store the CTS-to-self frame.
34
36 If the CTS-to-self frames are generated by the host system (i.e., not
37 in hardware/firmware), the low-level driver uses this function to
38 receive the next CTS-to-self frame from the 802.11 code. The low-level
39 is responsible for calling this function before and CTS-to-self frame
40 is needed.
41
43 Johannes Berg <johannes@sipsolutions.net>
44 Author.
45
47Kernel Hackers Manual 3.10 June 2019 IEEE80211_CTSTOSELF_(9)