mt76: use macro for sn and seq_ctrl conversion
authorRyder Lee <ryder.lee@mediatek.com>
Mon, 1 Apr 2019 07:16:43 +0000 (15:16 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:59 +0000 (13:03 +0200)
commitb183878a74510879e513a8686ada81746e62a846
tree7f33e13d4a79ba22b29b2182163f22b8934966c1
parent6edf07478da50ffbe64110391dada12bc1711f29
mt76: use macro for sn and seq_ctrl conversion

Use macro to convert sn and seq_ctrl for better readability.

Signed-off-by: Roy Luo <royluo@google.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/agg-rx.c
drivers/net/wireless/mediatek/mt76/mt7603/mac.c
drivers/net/wireless/mediatek/mt76/mt7603/main.c
drivers/net/wireless/mediatek/mt76/mt76x02_util.c