aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_athioctl.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2013-03-11 06:54:58 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2013-03-11 06:54:58 +0000
commit0e168bb8e32e0cd7551087bdc64d0e63a985d674 (patch)
treeefcf8c82f3d96df104646dd73120fe6473307b95 /sys/dev/ath/if_athioctl.h
parent6b3ba411d3b62ff51ceca12d833376170fd0382b (diff)
Notes
Diffstat (limited to 'sys/dev/ath/if_athioctl.h')
-rw-r--r--sys/dev/ath/if_athioctl.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/ath/if_athioctl.h b/sys/dev/ath/if_athioctl.h
index 05562ace7c4a..577b7597bcd1 100644
--- a/sys/dev/ath/if_athioctl.h
+++ b/sys/dev/ath/if_athioctl.h
@@ -305,7 +305,16 @@ struct ath_radiotap_vendor_hdr { /* 30 bytes */
uint8_t vh_phyerr_code; /* Phy error code, or 0xff */
uint8_t vh_rs_status; /* RX status */
uint8_t vh_rssi; /* Raw RSSI */
- uint8_t vh_pad1[1]; /* Pad to 4 byte boundary */
+ uint8_t vh_flags; /* General flags */
+#define ATH_VENDOR_PKT_RX 0x01
+#define ATH_VENDOR_PKT_TX 0x02
+#define ATH_VENDOR_PKT_RXPHYERR 0x04
+#define ATH_VENDOR_PKT_ISAGGR 0x08
+#define ATH_VENDOR_PKT_MOREAGGR 0x10
+
+ uint8_t vh_rx_hwrate; /* hardware RX ratecode */
+ uint8_t vh_rs_flags; /* RX HAL flags */
+ uint8_t vh_pad[2]; /* pad to DWORD boundary */
} __packed;
#endif /* ATH_ENABLE_RADIOTAP_VENDOR_EXT */