summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2024-08-27 11:30:07 +0200
committerFelix Fietkau <nbd@nbd.name>2024-09-06 14:23:07 +0200
commitc37784435277f040cda9552d8b22e21604dd54bd (patch)
tree4f8a7fed3533f3253d56fa75689b0db6a80437dd /drivers/net/wireless
parentwifi: mt76: mt7915: improve hardware restart reliability (diff)
downloadlinux-c37784435277f040cda9552d8b22e21604dd54bd.tar.xz
linux-c37784435277f040cda9552d8b22e21604dd54bd.zip
wifi: mt76: shrink mt76_queue_buf
Reuse one bit from the length field for skip_unmap Link: https://patch.msgid.link/20240827093011.18621-20-nbd@nbd.name Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h
index 794cd33be68b..0b75a45ad2e8 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76.h
@@ -162,8 +162,8 @@ enum mt76_dfs_state {
struct mt76_queue_buf {
dma_addr_t addr;
- u16 len;
- bool skip_unmap;
+ u16 len:15,
+ skip_unmap:1;
};
struct mt76_tx_info {