developer | 1d9da7d | 2023-04-15 12:45:34 +0800 | [diff] [blame^] | 1 | From 3bd97531ce8c3828b0ae570b11668e4c227bb940 Mon Sep 17 00:00:00 2001 |
developer | 2e48786 | 2022-10-04 11:16:07 +0800 | [diff] [blame] | 2 | From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| 3 | Date: Tue, 4 Oct 2022 10:47:05 +0800 |
developer | ed7222c | 2023-04-14 07:19:52 +0800 | [diff] [blame] | 4 | Subject: [PATCH 10/17] mac80211: mtk: Set TWT Information Frame Disabled bit |
developer | a09ec1d | 2022-11-26 11:00:33 +0800 | [diff] [blame] | 5 | as 1. |
developer | 2e48786 | 2022-10-04 11:16:07 +0800 | [diff] [blame] | 6 | |
developer | a09ec1d | 2022-11-26 11:00:33 +0800 | [diff] [blame] | 7 | This modification means that current implementation do not support twt information frame. |
developer | 2e48786 | 2022-10-04 11:16:07 +0800 | [diff] [blame] | 8 | --- |
| 9 | net/mac80211/s1g.c | 1 + |
| 10 | 1 file changed, 1 insertion(+) |
| 11 | |
| 12 | diff --git a/net/mac80211/s1g.c b/net/mac80211/s1g.c |
developer | 77ffbda | 2022-12-16 04:36:08 +0800 | [diff] [blame] | 13 | index 10b34bc..ecb37b9 100644 |
developer | 2e48786 | 2022-10-04 11:16:07 +0800 | [diff] [blame] | 14 | --- a/net/mac80211/s1g.c |
| 15 | +++ b/net/mac80211/s1g.c |
| 16 | @@ -101,6 +101,7 @@ ieee80211_s1g_rx_twt_setup(struct ieee80211_sub_if_data *sdata, |
| 17 | struct ieee80211_twt_params *twt_agrt = (void *)twt->params; |
| 18 | |
| 19 | twt_agrt->req_type &= cpu_to_le16(~IEEE80211_TWT_REQTYPE_REQUEST); |
| 20 | + twt->control |= IEEE80211_TWT_CONTROL_RX_DISABLED; |
| 21 | |
| 22 | /* broadcast TWT not supported yet */ |
| 23 | if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) { |
| 24 | -- |
developer | ed7222c | 2023-04-14 07:19:52 +0800 | [diff] [blame] | 25 | 2.18.0 |
developer | 2e48786 | 2022-10-04 11:16:07 +0800 | [diff] [blame] | 26 | |