Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30f42292 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent d48b2968
Loading
Loading
Loading
Loading
+7 −7
Original line number Original line Diff line number Diff line
@@ -709,13 +709,13 @@ enum mac80211_rx_flags {
 */
 */
struct ieee80211_rx_status {
struct ieee80211_rx_status {
	u64 mactime;
	u64 mactime;
	enum ieee80211_band band;
	u16 flag;
	int freq;
	u16 freq;
	int signal;
	u8 rate_idx;
	int antenna;
	u8 rx_flags;
	int rate_idx;
	u8 band;
	int flag;
	u8 antenna;
	unsigned int rx_flags;
	s8 signal;
};
};


/**
/**