Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149968746
D48096.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48096.diff
View Options
diff --git a/sys/net80211/ieee80211_ratectl.h b/sys/net80211/ieee80211_ratectl.h
--- a/sys/net80211/ieee80211_ratectl.h
+++ b/sys/net80211/ieee80211_ratectl.h
@@ -43,6 +43,11 @@
#define IEEE80211_RATECTL_STATUS_SHORT_RETRY 0x00000004
#define IEEE80211_RATECTL_STATUS_LONG_RETRY 0x00000008
#define IEEE80211_RATECTL_STATUS_RSSI 0x00000010
+#define IEEE80211_RATECTL_STATUS_FREQ 0x00000020
+#define IEEE80211_RATECTL_STATUS_NSS 0x00000040
+#define IEEE80211_RATECTL_STATUS_MCS 0x00000080
+#define IEEE80211_RATECTL_STATUS_PHYTYPE 0x00000100
+#define IEEE80211_RATECTL_STATUS_CHWIDTH 0x00000200
/* failure reason */
enum ieee80211_ratectl_tx_fail_reason {
@@ -60,10 +65,15 @@
enum ieee80211_ratectl_tx_fail_reason status; /* Tx status */
int pktlen; /* frame length */
- int final_rate; /* transmission rate */
+ int final_rate; /* dot11rate transmission rate */
uint_fast8_t short_retries; /* RTS/CTS retries */
uint_fast8_t long_retries; /* ACK retries */
int8_t rssi; /* ACK RSSI */
+ uint32_t freq; /* Frequency, MHz */
+ uint16_t chwidth; /* Channel width, MHz */
+ uint8_t nss; /* Number of spatial streams */
+ uint8_t mcs; /* HT MCS, VHT MCS */
+ enum ieee80211_phytype phytype; /* PHY type for completed rate */
uint8_t spare[15]; /* for future use */
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 29, 11:38 AM (15 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30519413
Default Alt Text
D48096.diff (1 KB)
Attached To
Mode
D48096: net80211: add TX rate control completion fields for HT, VHT, channel info
Attached
Detach File
Event Timeline
Log In to Comment