summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-06-13 23:43:00 +0000
committersam <sam@FreeBSD.org>2009-06-13 23:43:00 +0000
commitd9713622718e0d4d3d98a1ca67ddaed3b2085c3b (patch)
tree06c837ee46afda137c0acd7233a97e48a1f7bf11 /sys/net80211
parent4fd5fd850ed72c8a2b6c881e81d917f10f4ff749 (diff)
downloadFreeBSD-src-d9713622718e0d4d3d98a1ca67ddaed3b2085c3b.zip
FreeBSD-src-d9713622718e0d4d3d98a1ca67ddaed3b2085c3b.tar.gz
Rev IEEE80211_IOC_STA_INFO abi: ni_flags grew from 16 bits to 32
bits but isi_state did not follow; expand it to 32 bits and pad to maintain alignment. Note this is an incompatible change that requires rebuilding of user applications. Submitted by: rpaulo, cbzimmer, avatar
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_ioctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h
index 10f7170..9e22cc1 100644
--- a/sys/net80211/ieee80211_ioctl.h
+++ b/sys/net80211/ieee80211_ioctl.h
@@ -362,7 +362,7 @@ struct ieee80211req_sta_info {
uint16_t isi_ie_len; /* IE length */
uint16_t isi_freq; /* MHz */
uint32_t isi_flags; /* channel flags */
- uint16_t isi_state; /* state flags */
+ uint32_t isi_state; /* state flags */
uint8_t isi_authmode; /* authentication algorithm */
int8_t isi_rssi; /* receive signal strength */
int8_t isi_noise; /* noise floor */
@@ -381,6 +381,7 @@ struct ieee80211req_sta_info {
uint16_t isi_rxseqs[IEEE80211_TID_SIZE];/* rx seq#/TID */
uint16_t isi_inact; /* inactivity timer */
uint16_t isi_txmbps; /* current tx rate in .5 Mb/s */
+ uint16_t isi_pad;
uint32_t isi_jointime; /* time of assoc/join */
struct ieee80211_mimo_info isi_mimo; /* MIMO info for 11n sta's */
/* XXX frag state? */
OpenPOWER on IntegriCloud