1IEEE80211_GENERIC_FR(9) The basic mac80211 driver inte IEEE80211_GENERIC_FR(9)
2
3
4

NAME

6       ieee80211_generic_frame_duration - Calculate the duration field for a
7       frame
8

SYNOPSIS

10       __le16 ieee80211_generic_frame_duration(struct ieee80211_hw * hw,
11                                               struct ieee80211_vif * vif,
12                                               enum ieee80211_band band,
13                                               size_t frame_len,
14                                               struct ieee80211_rate * rate);
15

ARGUMENTS

17       hw
18           pointer obtained from ieee80211_alloc_hw.
19
20       vif
21
22           struct ieee80211_vif pointer from the add_interface callback.
23
24       band
25           the band to calculate the frame duration on
26
27       frame_len
28           the length of the frame.
29
30       rate
31           the rate at which the frame is going to be transmitted.
32

DESCRIPTION

34       Calculate the duration field of some generic frame, given its length
35       and transmission rate (in 100kbps).
36

RETURN

38       The duration.
39

AUTHOR

41       Johannes Berg <johannes@sipsolutions.net>
42           Author.
43
45Kernel Hackers Manual 2.6.         June 2019           IEEE80211_GENERIC_FR(9)
Impressum