Lines Matching refs:dur
115 int dur; in ieee80211_frame_duration() local
143 dur = 16; /* SIFS + signal ext */ in ieee80211_frame_duration()
144 dur += 16; /* IEEE 802.11-2012 18.3.2.4: T_PREAMBLE = 16 usec */ in ieee80211_frame_duration()
145 dur += 4; /* IEEE 802.11-2012 18.3.2.4: T_SIGNAL = 4 usec */ in ieee80211_frame_duration()
151 dur *= 1 << shift; in ieee80211_frame_duration()
156 dur += 4 * DIV_ROUND_UP((16 + 8 * (len + 4) + 6) * 10, in ieee80211_frame_duration()
169 dur = 10; /* aSIFSTime = 10 usec */ in ieee80211_frame_duration()
170 dur += short_preamble ? (72 + 24) : (144 + 48); in ieee80211_frame_duration()
172 dur += DIV_ROUND_UP(8 * (len + 4) * 10, rate); in ieee80211_frame_duration()
175 return dur; in ieee80211_frame_duration()
186 u16 dur; in ieee80211_generic_frame_duration() local
199 dur = ieee80211_frame_duration(band, frame_len, rate->bitrate, erp, in ieee80211_generic_frame_duration()
202 return cpu_to_le16(dur); in ieee80211_generic_frame_duration()
215 u16 dur; in ieee80211_rts_duration() local
236 dur = ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration()
239 dur += ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_rts_duration()
242 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_rts_duration()
245 return cpu_to_le16(dur); in ieee80211_rts_duration()
259 u16 dur; in ieee80211_ctstoself_duration() local
279 dur = ieee80211_frame_duration(sband->band, frame_len, bitrate, in ieee80211_ctstoself_duration()
283 dur += ieee80211_frame_duration(sband->band, 10, bitrate, in ieee80211_ctstoself_duration()
287 return cpu_to_le16(dur); in ieee80211_ctstoself_duration()