aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-05 07:14:18 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-07-12 06:10:45 -0400
commit30f422925c39edf61cbcf6d35140d726402d4b04 (patch)
tree748876a91a84689c4863cd2a0bbaddf760787cfe /include/net/mac80211.h
parentd48b296850f25cb559cb9b907d6d8c09eca3e89d (diff)
mac80211: optimize ieee80211_rx_status struct layout
We waste a lot of space in this struct because it uses int values where smaller ones would be sufficient. The upcoming A-MPDU information needs some space, optimize the struct now. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index c5dbb46debb0..7300cb51dd5f 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -709,13 +709,13 @@ enum mac80211_rx_flags {
709 */ 709 */
710struct ieee80211_rx_status { 710struct ieee80211_rx_status {
711 u64 mactime; 711 u64 mactime;
712 enum ieee80211_band band; 712 u16 flag;
713 int freq; 713 u16 freq;
714 int signal; 714 u8 rate_idx;
715 int antenna; 715 u8 rx_flags;
716 int rate_idx; 716 u8 band;
717 int flag; 717 u8 antenna;
718 unsigned int rx_flags; 718 s8 signal;
719}; 719};
720 720
721/** 721/**