diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-08-27 11:30:07 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-09-06 14:23:07 +0200 |
commit | c37784435277f040cda9552d8b22e21604dd54bd (patch) | |
tree | 4f8a7fed3533f3253d56fa75689b0db6a80437dd /drivers/net/wireless | |
parent | wifi: mt76: mt7915: improve hardware restart reliability (diff) | |
download | linux-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.h | 4 |
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 { |