Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_ieee80211_tx_rate(9) [centos man page]

STRUCT 
IEEE80211_TX_(9) The basic mac80211 driver inte STRUCT IEEE80211_TX_(9) NAME
struct_ieee80211_tx_rate - rate selection/status SYNOPSIS
struct ieee80211_tx_rate { s8 idx; u16 count:5; u16 flags:11; }; MEMBERS
idx rate index to attempt to send with count number of tries in this rate before going to the next rate flags rate control flags (enum mac80211_rate_control_flags) DESCRIPTION
A value of -1 for idx indicates an invalid rate and, if used in an array of retry rates, that no more rates should be tried. When used for transmit status reporting, the driver should always report the rate along with the flags it used. struct ieee80211_tx_info contains an array of these structs in the control information, and it will be filled by the rate control algorithm according to what should be sent. For example, if this array contains, in the format { <idx>, <count> } the information { 3, 2 }, { 2, 2 }, { 1, 4 }, { -1, 0 }, { -1, 0 } then this means that the frame should be transmitted up to twice at rate 3, up to twice at rate 2, and up to four times at rate 1 if it doesn't get acknowledged. Say it gets acknowledged by the peer after the fifth attempt, the status information should then contain { 3, 2 }, { 2, 2 }, { 1, 1 }, { -1, 0 } ... since it was transmitted twice at rate 3, twice at rate 2 and once at rate 1 after which we received an acknowledgement. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_TX_(9)

Check Out this Related Man Page

STRUCT 
IEEE80211_RX_(9) The basic mac80211 driver inte STRUCT IEEE80211_RX_(9) NAME
struct_ieee80211_rx_status - receive status SYNOPSIS
struct ieee80211_rx_status { u64 mactime; u32 device_timestamp; u32 ampdu_reference; u32 flag; u32 vendor_radiotap_bitmap; u16 vendor_radiotap_len; u16 freq; u8 rate_idx; u8 vht_nss; u8 rx_flags; u8 band; u8 antenna; s8 signal; u8 ampdu_delimiter_crc; u8 vendor_radiotap_align; u8 vendor_radiotap_oui[3]; u8 vendor_radiotap_subns; }; MEMBERS
mactime value in microseconds of the 64-bit Time Synchronization Function (TSF) timer when the first data symbol (MPDU) arrived at the hardware. device_timestamp arbitrary timestamp for the device, mac80211 doesn't use it but can store it and pass it back to the driver for synchronisation ampdu_reference A-MPDU reference number, must be a different value for each A-MPDU but the same for each subframe within one A-MPDU flag RX_FLAG_* vendor_radiotap_bitmap radiotap vendor namespace presence bitmap vendor_radiotap_len radiotap vendor namespace length freq frequency the radio was tuned to when receiving this frame, in MHz rate_idx index of data rate into band's supported rates or MCS index if HT or VHT is used (RX_FLAG_HT/RX_FLAG_VHT) vht_nss number of streams (VHT only) rx_flags internal RX flags for mac80211 band the active band when this frame was received antenna antenna used signal signal strength when receiving this frame, either in dBm, in dB or unspecified depending on the hardware capabilities flags IEEE80211_HW_SIGNAL_* ampdu_delimiter_crc A-MPDU delimiter CRC vendor_radiotap_align radiotap vendor namespace alignment. Note that the actual data must be at the start of the SKB data already. vendor_radiotap_oui[3] radiotap vendor namespace OUI vendor_radiotap_subns radiotap vendor sub namespace DESCRIPTION
The low-level driver should provide this information (the subset supported by hardware) to the 802.11 code with each received frame, in the skb's control buffer (cb). AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_RX_(9)
Man Page