ieee80211_rts_get — RTS frame generation function
void ieee80211_rts_get
(struct ieee80211_hw * hw, struct ieee80211_vif * vif, const void * frame, size_t frame_len, const struct ieee80211_tx_control * frame_txctl, struct ieee80211_rts * rts);
pointer obtained from ieee80211_alloc_hw.
struct ieee80211_vif pointer from struct ieee80211_if_init_conf.
pointer to the frame that is going to be protected by the RTS.
the frame length (in octets).
struct ieee80211_tx_control of the frame.
The buffer where to store the RTS frame.
If the RTS frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next RTS frame from the 802.11 code. The low-level is responsible for calling this function before and RTS frame is needed.