diff options
author | adrian <adrian@FreeBSD.org> | 2011-04-21 03:47:40 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-04-21 03:47:40 +0000 |
commit | 81acf7034799a150d418e6daf4ff2e5f09c6a734 (patch) | |
tree | 212e612c3151231179d4634c6d720082cc88d172 /sys/net80211/_ieee80211.h | |
parent | 2d3aacf51384f95cdf3062b3eebbe41a8a97aaa7 (diff) | |
download | FreeBSD-src-81acf7034799a150d418e6daf4ff2e5f09c6a734.zip FreeBSD-src-81acf7034799a150d418e6daf4ff2e5f09c6a734.tar.gz |
Change the MIMO userland export ABI to include flags, number of radio chains,
extended EVM statistics and EXT channel data.
ifconfig still displays 3 chains worth of ctl noise/rssi.
Diffstat (limited to 'sys/net80211/_ieee80211.h')
-rw-r--r-- | sys/net80211/_ieee80211.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h index 3793c66..e9808a9 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -395,9 +395,14 @@ struct ieee80211_regdomain { * XXX This doesn't yet export both ctl/ext chain details */ struct ieee80211_mimo_info { - int8_t rssi[IEEE80211_MAX_CHAINS]; /* per-antenna rssi */ - int8_t noise[IEEE80211_MAX_CHAINS]; /* per-antenna noise floor */ - uint8_t pad[2]; - uint32_t evm[3]; /* EVM data */ + uint16_t flags; /* IEEE80211_R_* flags */ + uint8_t n_rx_chains; /* number of RX chains involved */ + uint8_t pad[1]; + int8_t rssi_ctl[IEEE80211_MAX_CHAINS]; /* per-antenna rssi */ + int8_t noise_ctl[IEEE80211_MAX_CHAINS]; /* per-antenna noise floor */ + int8_t rssi_ext[IEEE80211_MAX_CHAINS]; /* per-antenna ext rssi */ + int8_t noise_ext[IEEE80211_MAX_CHAINS]; /* per-antenna ext noise floor */ + uint32_t evm[IEEE80211_MAX_CHAINS][IEEE80211_MAX_EVM_PILOTS]; + /* EVM data */ }; #endif /* _NET80211__IEEE80211_H_ */ |