---
name: "ieee80211_ctstoself_get"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ieee80211_ctstoself_get"
---

# ieee80211\_ctstoself\_get(9)

CTS-to-self frame generation function

## NAME

ieee80211\_ctstoself\_get - CTS-to-self frame generation function

## SYNOPSIS

**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***);**

## ARGUMENTS

*hw*

pointer obtained from **ieee80211\_alloc\_hw**.

*vif*

struct ieee80211\_vif pointer from the add\_interface callback.

*frame*

pointer to the frame that is going to be protected by the CTS-to-self.

*frame\_len*

the frame length (in octets).

*frame\_txctl*

struct ieee80211\_tx\_info of the frame.

*cts*

The buffer where to store the CTS-to-self frame.

## DESCRIPTION

If the CTS-to-self frames are generated by the host system (i.e., not in hardware/firmware), the low-level driver uses this function to receive the next CTS-to-self frame from the 802.11 code. The low-level is responsible for calling this function before and CTS-to-self frame is needed.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
