1IEEE80211_GENERIC_FR(9) The basic mac80211 driver inte IEEE80211_GENERIC_FR(9)
2
3
4
6 ieee80211_generic_frame_duration - Calculate the duration field for a
7 frame
8
10 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw * hw,
11 struct ieee80211_vif * vif,
12 size_t frame_len,
13 struct ieee80211_rate * rate);
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.
25
26 rate
27 the rate at which the frame is going to be transmitted.
28
30 Calculate the duration field of some generic frame, given its length
31 and transmission rate (in 100kbps).
32
34 Johannes Berg <johannes@sipsolutions.net>
35 Author.
36
38Kernel Hackers Manual 2.6. November 2011 IEEE80211_GENERIC_FR(9)