Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_ratectl.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| struct ieee80211_ratectl_tx_status { | struct ieee80211_ratectl_tx_status { | ||||
| uint32_t flags; /* mark used fields */ | uint32_t flags; /* mark used fields */ | ||||
| enum ieee80211_ratectl_tx_fail_reason status; /* Tx status */ | enum ieee80211_ratectl_tx_fail_reason status; /* Tx status */ | ||||
| int pktlen; /* frame length */ | int pktlen; /* frame length */ | ||||
| int final_rate; /* transmission rate */ | int final_rate; /* transmission rate */ | ||||
| uint_fast8_t short_retries; /* RTS/CTS retries */ | uint_fast8_t short_retries; /* RTS/CTS retries */ | ||||
| uint_fast8_t long_retries; /* ACK retries */ | uint_fast8_t long_retries; /* ACK retries */ | ||||
| int8_t rssi; /* ACK RSSI */ | net80211_rssi_t rssi; /* ACK RSSI */ | ||||
| uint8_t spare[15]; /* for future use */ | uint8_t spare[15]; /* for future use */ | ||||
| }; | }; | ||||
| /* used fields for tx_update() events */ | /* used fields for tx_update() events */ | ||||
| #define IEEE80211_RATECTL_TX_STATS_NODE 0x00000001 | #define IEEE80211_RATECTL_TX_STATS_NODE 0x00000001 | ||||
| #define IEEE80211_RATECTL_TX_STATS_RETRIES 0x00000002 | #define IEEE80211_RATECTL_TX_STATS_RETRIES 0x00000002 | ||||
| ▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines | |||||