]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mt76: move mt76x02_mac_process_rx in mt76x02-lib module
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 4 Oct 2018 21:53:10 +0000 (23:53 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 5 Oct 2018 18:05:45 +0000 (20:05 +0200)
commitd9f8934ed147b334edbaf7688965a4365eedc288
treec7308582b90c4df9fe2b7551a1427a466b67551d
parentb2d871c049e0546141737f012cfb8efdaeacebe8
mt76: move mt76x02_mac_process_rx in mt76x02-lib module

Move mt76x02_mac_process_rx utility routine in mt76x02-lib
in order to by reused by mt76x0 driver for rxwi parsing.
Add stream number check in mt76x02_mac_process_rx since mt76x0
chipsets are 1x1:1

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
drivers/net/wireless/mediatek/mt76/mt76x2/common.c
drivers/net/wireless/mediatek/mt76/mt76x2/mac.c
drivers/net/wireless/mediatek/mt76/mt76x2/mac.h
drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h