Skip to contentSkip to conversation

ath9k: make ath_frame_info fit into reduced-size rate_driver_data

PATCH Applied Florian Westphal 2 participants 2 messages Mar 10, 2015 – Mar 13, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: make ath_frame_info fit into reduced-size rate_driver_data

pre-requisite to shrink size of ieee80211_tx_info which in turn is needed to shrink skb->cb to 40 bytes again.

---
 drivers/net/wireless/ath/ath9k/ath9k.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/ath9k.h +1 -1
index 7e89236..a7a81b3 100644
@@ -184,12 +184,12 @@ struct ath_frame_info {
 	struct ath_buf *bf;
 	u16 framelen;
 	s8 txq;
-	enum ath9k_key_type keytype;
 	u8 keyix;
 	u8 rtscts_rate;
 	u8 retries : 7;
 	u8 baw_tracked : 1;
 	u8 tx_power;
+	enum ath9k_key_type keytype:2;
 };
 
 struct ath_rxbuf {
Signature · 1 line
2.0.5
Applied
#1 lore raw

Re: [next] ath9k: make ath_frame_info fit into reduced-sizerate_driver_data

Quoted 5 lines

pre-requisite to shrink size of ieee80211_tx_info which in turn is needed to shrink skb->cb to 40 bytes again.

Thanks, applied to wireless-drivers-next.git.

Kalle Valo