summaryrefslogtreecommitdiffstats
path: root/sys/dev/iwi/if_iwivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/iwi/if_iwivar.h')
-rw-r--r--sys/dev/iwi/if_iwivar.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/iwi/if_iwivar.h b/sys/dev/iwi/if_iwivar.h
index b31af36..1acb6c3 100644
--- a/sys/dev/iwi/if_iwivar.h
+++ b/sys/dev/iwi/if_iwivar.h
@@ -33,7 +33,8 @@ struct iwi_rx_radiotap_header {
uint8_t wr_rate;
uint16_t wr_chan_freq;
uint16_t wr_chan_flags;
- uint8_t wr_antsignal;
+ int8_t wr_antsignal;
+ int8_t wr_antnoise;
uint8_t wr_antenna;
};
@@ -42,6 +43,7 @@ struct iwi_rx_radiotap_header {
(1 << IEEE80211_RADIOTAP_RATE) | \
(1 << IEEE80211_RADIOTAP_CHANNEL) | \
(1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL) | \
+ (1 << IEEE80211_RADIOTAP_DB_ANTNOISE) | \
(1 << IEEE80211_RADIOTAP_ANTENNA))
struct iwi_tx_radiotap_header {
@@ -213,10 +215,7 @@ struct iwi_softc {
int sc_busy_timer; /* firmware cmd timer */
struct iwi_rx_radiotap_header sc_rxtap;
- int sc_rxtap_len;
-
struct iwi_tx_radiotap_header sc_txtap;
- int sc_txtap_len;
};
#define IWI_STATE_BEGIN(_sc, _state) do { \
OpenPOWER on IntegriCloud