diff options
| author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2019-03-11 01:27:01 +0000 |
|---|---|---|
| committer | Andriy Voskoboinyk <avos@FreeBSD.org> | 2019-03-11 01:27:01 +0000 |
| commit | 786ac7035f938bf3764ec6d5ee2f0e50b5d959b6 (patch) | |
| tree | fd96adb573524a50d28e6308d66510e38dfa3433 /sys/dev/ral | |
| parent | 4f4463dfa3242118fc001fef60adf552db705c05 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ral')
| -rw-r--r-- | sys/dev/ral/rt2560var.h | 4 | ||||
| -rw-r--r-- | sys/dev/ral/rt2661var.h | 2 | ||||
| -rw-r--r-- | sys/dev/ral/rt2860var.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ral/rt2560var.h b/sys/dev/ral/rt2560var.h index 1043ef42b72e..51c5372aa662 100644 --- a/sys/dev/ral/rt2560var.h +++ b/sys/dev/ral/rt2560var.h @@ -27,7 +27,7 @@ struct rt2560_rx_radiotap_header { int8_t wr_antsignal; int8_t wr_antnoise; uint8_t wr_antenna; -}; +} __packed __aligned(8); #define RT2560_RX_RADIOTAP_PRESENT \ ((1 << IEEE80211_RADIOTAP_TSFT) | \ @@ -45,7 +45,7 @@ struct rt2560_tx_radiotap_header { uint16_t wt_chan_freq; uint16_t wt_chan_flags; uint8_t wt_antenna; -}; +} __packed; #define RT2560_TX_RADIOTAP_PRESENT \ ((1 << IEEE80211_RADIOTAP_FLAGS) | \ diff --git a/sys/dev/ral/rt2661var.h b/sys/dev/ral/rt2661var.h index 57ebce70d5b0..7adcdb8096a6 100644 --- a/sys/dev/ral/rt2661var.h +++ b/sys/dev/ral/rt2661var.h @@ -42,7 +42,7 @@ struct rt2661_tx_radiotap_header { uint8_t wt_rate; uint16_t wt_chan_freq; uint16_t wt_chan_flags; -} __packed __aligned(8); +} __packed; #define RT2661_TX_RADIOTAP_PRESENT \ ((1 << IEEE80211_RADIOTAP_FLAGS) | \ diff --git a/sys/dev/ral/rt2860var.h b/sys/dev/ral/rt2860var.h index 854e8459f5df..25953c90850c 100644 --- a/sys/dev/ral/rt2860var.h +++ b/sys/dev/ral/rt2860var.h @@ -55,7 +55,7 @@ struct rt2860_tx_radiotap_header { uint8_t wt_rate; uint16_t wt_chan_freq; uint16_t wt_chan_flags; -} __packed __aligned(8); +} __packed; #define RT2860_TX_RADIOTAP_PRESENT \ ((1 << IEEE80211_RADIOTAP_FLAGS) | \ |
