ieee80211_ctstoself_get — CTS-to-self frame generation function
void ieee80211_ctstoself_get ( | struct ieee80211_hw * hw, |
| struct ieee80211_vif * vif, | |
| const void * frame, | |
| size_t frame_len, | |
| const struct ieee80211_tx_info * frame_txctl, | |
struct ieee80211_cts * cts); |
hw
pointer obtained from ieee80211_alloc_hw.
vifstruct ieee80211_vif pointer from the add_interface callback.
framepointer to the frame that is going to be protected by the CTS-to-self.
frame_lenthe frame length (in octets).
frame_txctlstruct ieee80211_tx_info of the frame.
ctsThe buffer where to store the CTS-to-self frame.