OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3782b69
)
mt76: mt7915: enable twt responder capability
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Thu, 23 Sep 2021 14:29:33 +0000
(16:29 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 20 Oct 2021 08:36:50 +0000
(10:36 +0200)
Enable TWT support in AP mode
Tested-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Tested-by: Evelyn Tsai <evelyn.tsai@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7915/init.c
b/drivers/net/wireless/mediatek/mt76/mt7915/init.c
index
409f2b6
..
ffe744e
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7915/init.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7915/init.c
@@
-777,6
+777,8
@@
mt7915_init_he_caps(struct mt7915_phy *phy, enum nl80211_band band,
switch (i) {
case NL80211_IFTYPE_AP:
+ he_cap_elem->mac_cap_info[0] |=
+ IEEE80211_HE_MAC_CAP0_TWT_RES;
he_cap_elem->mac_cap_info[2] |=
IEEE80211_HE_MAC_CAP2_BSR;
he_cap_elem->mac_cap_info[4] |=