mt76: mt7915: fix twt table_mask to u16 in mt7915_dev
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Thu, 5 May 2022 08:25:52 +0000 (16:25 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:35 +0000 (09:39 +0200)
mt7915 can support 16 twt stations so modify table_mask to u16.

Fixes: 3782b69d03e7 ("mt76: mt7915: introduce mt7915_mac_add_twt_setup routine")
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h

index 6c590ef..0f51d76 100644 (file)
@@ -319,7 +319,7 @@ struct mt7915_dev {
        void *cal;
 
        struct {
-               u8 table_mask;
+               u16 table_mask;
                u8 n_agrt;
        } twt;