summaryrefslogtreecommitdiffstats
path: root/sys/dev/ral/rt2560var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ral/rt2560var.h')
-rw-r--r--sys/dev/ral/rt2560var.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ral/rt2560var.h b/sys/dev/ral/rt2560var.h
index d53c0d1..288577b 100644
--- a/sys/dev/ral/rt2560var.h
+++ b/sys/dev/ral/rt2560var.h
@@ -24,8 +24,9 @@ struct rt2560_rx_radiotap_header {
uint8_t wr_rate;
uint16_t wr_chan_freq;
uint16_t wr_chan_flags;
+ int8_t wr_antsignal;
+ int8_t wr_antnoise;
uint8_t wr_antenna;
- uint8_t wr_antsignal;
};
#define RT2560_RX_RADIOTAP_PRESENT \
@@ -34,7 +35,8 @@ struct rt2560_rx_radiotap_header {
(1 << IEEE80211_RADIOTAP_RATE) | \
(1 << IEEE80211_RADIOTAP_CHANNEL) | \
(1 << IEEE80211_RADIOTAP_ANTENNA) | \
- (1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL))
+ (1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL) | \
+ (1 << IEEE80211_RADIOTAP_DBM_ANTNOISE))
struct rt2560_tx_radiotap_header {
struct ieee80211_radiotap_header wt_ihdr;
OpenPOWER on IntegriCloud