diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2020-07-01 16:13:07 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-07-21 19:01:16 +0200 |
commit | 0d4b6909987723f11c23b3a996499cb8f7a0e2b7 (patch) | |
tree | c66e8c4eacf6b53a91784e0de317a2322ba84eb0 /drivers/net/wireless/mediatek/mt76/mt7915/mac.h | |
parent | 05b5a339a7b2308ec38563a7da6649ff1f9cc28b (diff) |
mt76: mt7915: avoid memcpy in rxv operation
Avoid memcpy in Rx hot path to slightly improve performance.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7915/mac.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7915/mac.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.h b/drivers/net/wireless/mediatek/mt76/mt7915/mac.h index 4b0871ab2414..c8bb5ea96c60 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.h +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.h @@ -128,13 +128,6 @@ enum rx_pkt_type { #define MT_CRXV_HE_BEAM_CHNG BIT(13) #define MT_CRXV_HE_DOPPLER BIT(16) -struct mt7915_rxv { - u32 phy; - - /* P-RXV: bit 0~1, C-RXV: bit 2~19 */ - __le32 v[20]; -}; - enum tx_header_format { MT_HDR_FORMAT_802_3, MT_HDR_FORMAT_CMD, |