1IEEE80211_RTS_DURATI(9) The basic mac80211 driver inte IEEE80211_RTS_DURATI(9)
2
3
4
6 ieee80211_rts_duration - Get the duration field for an RTS frame
7
9 __le16 ieee80211_rts_duration(struct ieee80211_hw * hw,
10 struct ieee80211_vif * vif,
11 size_t frame_len,
12 const struct ieee80211_tx_info * frame_txctl);
13
15 hw
16 pointer obtained from ieee80211_alloc_hw.
17
18 vif
19
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 RTS.
24
25 frame_txctl
26
27 struct ieee80211_tx_info of the frame.
28
30 If the RTS is generated in firmware, but the host system must provide
31 the duration field, the low-level driver uses this function to receive
32 the duration field value in little-endian byteorder.
33
35 Johannes Berg <johannes@sipsolutions.net>
36 Author.
37
39Kernel Hackers Manual 2.6. November 2011 IEEE80211_RTS_DURATI(9)