Query: ieee80211_generic_frame_duration
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IEEE80211_GENERIC_FR(9) The basic mac80211 driver inte IEEE80211_GENERIC_FR(9)NAMEieee80211_generic_frame_duration - Calculate the duration field for a frameSYNOPSIS__le16 ieee80211_generic_frame_duration(struct ieee80211_hw * hw, struct ieee80211_vif * vif, size_t frame_len, struct ieee80211_rate * rate);ARGUMENTShw pointer obtained from ieee80211_alloc_hw. vif struct ieee80211_vif pointer from the add_interface callback. frame_len the length of the frame. rate the rate at which the frame is going to be transmitted.DESCRIPTIONCalculate the duration field of some generic frame, given its length and transmission rate (in 100kbps).AUTHORJohannes Berg <johannes@sipsolutions.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 IEEE80211_GENERIC_FR(9)