]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7915: limit minimum twt duration
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Thu, 5 May 2022 08:25:54 +0000 (16:25 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 May 2022 07:39:35 +0000 (09:39 +0200)
commitbe3d0b94e8e90d5cd56744647e7910050380d851
tree520605dd49756f735148e40eaea719a6754ec188
parentd9e51a999f19619fc9b2244287e639c9ea87046f
mt76: mt7915: limit minimum twt duration

The minimum twt duration supported by mt7915 is 64 according to hardware
design. Reply station with TWT_SETUP_CMD_DICTATE if min_twt_dur smaller
than 64.

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h