ieee80211_rts_duration — Get the duration field for an RTS frame
__le16 ieee80211_rts_duration ( | struct ieee80211_hw * hw, |
| struct ieee80211_vif * vif, | |
| size_t frame_len, | |
const struct ieee80211_tx_info * frame_txctl); |
hw
pointer obtained from ieee80211_alloc_hw.
vifstruct ieee80211_vif pointer from the add_interface callback.
frame_lenthe length of the frame that is going to be protected by the RTS.
frame_txctlstruct ieee80211_tx_info of the frame.