Home
last modified time | relevance | path

Searched hist:"5 b8f1840c3e11e5422f395a0acb0bbb1ba5f889f" (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmcu.c5b8f1840c3e11e5422f395a0acb0bbb1ba5f889f Fri Sep 17 23:54:21 UTC 2021 Sean Wang <sean.wang@mediatek.com> mt76: drop MCU header size from buffer size in __mt76_mcu_send_firmware

Each firmware piece with mt7915 and mt7921 do not have the MCU header to
reroute the packet to the internal RAM. So we do not need to consider the
MCU header size in __mt76_mcu_send_firmware.
Move the MCU header overhead calculation to mt76_mcu_send_firmware (for
older chipsets)

Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Fixes: 1c099ab44727 ("mt76: mt7921: add MCU support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
H A Dmt76.h5b8f1840c3e11e5422f395a0acb0bbb1ba5f889f Fri Sep 17 23:54:21 UTC 2021 Sean Wang <sean.wang@mediatek.com> mt76: drop MCU header size from buffer size in __mt76_mcu_send_firmware

Each firmware piece with mt7915 and mt7921 do not have the MCU header to
reroute the packet to the internal RAM. So we do not need to consider the
MCU header size in __mt76_mcu_send_firmware.
Move the MCU header overhead calculation to mt76_mcu_send_firmware (for
older chipsets)

Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Fixes: 1c099ab44727 ("mt76: mt7921: add MCU support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c5b8f1840c3e11e5422f395a0acb0bbb1ba5f889f Fri Sep 17 23:54:21 UTC 2021 Sean Wang <sean.wang@mediatek.com> mt76: drop MCU header size from buffer size in __mt76_mcu_send_firmware

Each firmware piece with mt7915 and mt7921 do not have the MCU header to
reroute the packet to the internal RAM. So we do not need to consider the
MCU header size in __mt76_mcu_send_firmware.
Move the MCU header overhead calculation to mt76_mcu_send_firmware (for
older chipsets)

Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Fixes: 1c099ab44727 ("mt76: mt7921: add MCU support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>