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
21 struct ieee80211_vif pointer from the add_interface callback.
22
23 frame
24 pointer to the frame that is going to be protected by the
25 CTS-to-self.
26
27 frame_len
28 the frame length (in octets).
29
30 frame_txctl
31
32 struct ieee80211_tx_info of the frame.
33
34 cts
35 The buffer where to store the CTS-to-self frame.
36
38 If the CTS-to-self frames are generated by the host system (i.e., not
39 in hardware/firmware), the low-level driver uses this function to
40 receive the next CTS-to-self frame from the 802.11 code. The low-level
41 is responsible for calling this function before and CTS-to-self frame
42 is needed.
43
45 Johannes Berg <johannes@sipsolutions.net>
46 Author.
47
49Kernel Hackers Manual 2.6. November 2011 IEEE80211_CTSTOSELF_(9)