Skip to content

Commit 30ac96f

Browse files
haogrootjmberg-intel
authored andcommitted
wifi: mac80211: Set TWT Information Frame Disabled bit as 1
The TWT Information Frame Disabled bit of control field of TWT Setup frame shall be set to 1 since handling TWT Information frame is not supported by current mac80211 implementation. Fixes: f5a4c24 ("mac80211: introduce individual TWT support in AP mode") Signed-off-by: Howard Hsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 39e7b5d commit 30ac96f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net/mac80211/s1g.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ ieee80211_s1g_rx_twt_setup(struct ieee80211_sub_if_data *sdata,
112112
goto out;
113113
}
114114

115+
/* TWT Information not supported yet */
116+
twt->control |= IEEE80211_TWT_CONTROL_RX_DISABLED;
117+
115118
drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt);
116119
out:
117120
ieee80211_s1g_send_twt_setup(sdata, mgmt->sa, sdata->vif.addr, twt);

0 commit comments

Comments
 (0)