developer | 5e5d680 | 2022-09-01 10:53:06 +0800 | [diff] [blame] | 1 | From 6d7bba2a1a4d4757db3348df9486b8c55a8a5ecf Mon Sep 17 00:00:00 2001 |
developer | 684b610 | 2022-08-08 09:11:25 +0800 | [diff] [blame] | 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Thu, 4 Aug 2022 14:08:11 +0800 |
developer | 071927d | 2022-08-31 20:39:29 +0800 | [diff] [blame] | 4 | Subject: [PATCH 1114/1121] mt76: mt7915: reduce TWT SP sent to FW for cert |
developer | 684b610 | 2022-08-08 09:11:25 +0800 | [diff] [blame] | 5 | |
| 6 | Set TWT SP duration to 88 percent to prevent HW sends PPDU over TWT SP. |
| 7 | |
| 8 | Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 9 | --- |
| 10 | mt7915/mcu.c | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
developer | 071927d | 2022-08-31 20:39:29 +0800 | [diff] [blame] | 14 | index 42b1abc..eb53095 100644 |
developer | 684b610 | 2022-08-08 09:11:25 +0800 | [diff] [blame] | 15 | --- a/mt7915/mcu.c |
| 16 | +++ b/mt7915/mcu.c |
developer | 071927d | 2022-08-31 20:39:29 +0800 | [diff] [blame] | 17 | @@ -3556,7 +3556,7 @@ int mt7915_mcu_twt_agrt_update(struct mt7915_dev *dev, |
developer | 684b610 | 2022-08-08 09:11:25 +0800 | [diff] [blame] | 18 | .own_mac_idx = mvif->mt76.omac_idx, |
| 19 | .flowid = flow->id, |
| 20 | .peer_id = cpu_to_le16(flow->wcid), |
| 21 | - .duration = flow->duration, |
| 22 | + .duration = (flow->duration * 7) >> 3, |
| 23 | .bss_idx = mvif->mt76.idx, |
| 24 | .start_tsf = cpu_to_le64(flow->tsf), |
| 25 | .mantissa = flow->mantissa, |
| 26 | -- |
| 27 | 2.18.0 |
| 28 | |