Home
last modified time | relevance | path

Searched refs:twt (Results 1 – 10 of 10) sorted by relevance

/linux/net/mac80211/
H A Ds1g.c35 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup() argument
37 int len = IEEE80211_MIN_ACTION_SIZE(s1g) + 3 + twt->length; in ieee80211_s1g_send_twt_setup()
56 memcpy(mgmt->u.action.s1g.variable, twt, 3 + twt->length); in ieee80211_s1g_send_twt_setup()
101 struct ieee80211_twt_setup *twt = (void *)mgmt->u.action.s1g.variable; in ieee80211_s1g_rx_twt_setup() local
102 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in ieee80211_s1g_rx_twt_setup()
104 if (!(twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) && in ieee80211_s1g_rx_twt_setup()
105 twt->length < sizeof(twt->control) + sizeof(*twt_agrt)) in ieee80211_s1g_rx_twt_setup()
111 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) { in ieee80211_s1g_rx_twt_setup()
121 twt->control |= IEEE80211_TWT_CONTROL_RX_DISABLED; in ieee80211_s1g_rx_twt_setup()
123 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup()
[all …]
H A Drx.c3597 struct ieee80211_twt_setup *twt; in ieee80211_process_rx_twt_action() local
3604 twt = (void *)mgmt->u.action.s1g.variable; in ieee80211_process_rx_twt_action()
3605 if (twt->element_id != WLAN_EID_S1G_TWT) in ieee80211_process_rx_twt_action()
3610 twt->length) in ieee80211_process_rx_twt_action()
H A Dmlme.c5751 bool twt = ieee80211_twt_req_supported(sdata, sband, link_sta, elems); in ieee80211_recalc_twt_req() local
5753 if (link->conf->twt_requester != twt) { in ieee80211_recalc_twt_req()
5754 link->conf->twt_requester = twt; in ieee80211_recalc_twt_req()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c2234 static int mt7915_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7915_mac_check_twt_req() argument
2242 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) in mt7915_mac_check_twt_req()
2246 if (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) in mt7915_mac_check_twt_req()
2249 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7915_mac_check_twt_req()
2279 if (!(msta->twt.flowid_mask & BIT(i))) in mt7915_mac_twt_param_equal()
2282 f = &msta->twt.flow[i]; in mt7915_mac_twt_param_equal()
2297 struct ieee80211_twt_setup *twt) in mt7915_mac_add_twt_setup() argument
2301 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in mt7915_mac_add_twt_setup()
2309 if (mt7915_mac_check_twt_req(twt)) in mt7915_mac_add_twt_setup()
2314 if (dev->twt.n_agrt == MT7915_MAX_TWT_AGRT) in mt7915_mac_add_twt_setup()
[all …]
H A Dmt7915.h155 } twt; member
326 } twt; member
618 struct ieee80211_twt_setup *twt);
H A Dmain.c869 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7915_mac_sta_event()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c3146 static int mt7996_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7996_mac_check_twt_req() argument
3154 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) in mt7996_mac_check_twt_req()
3158 if (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) in mt7996_mac_check_twt_req()
3161 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7996_mac_check_twt_req()
3191 if (!(msta_link->twt.flowid_mask & BIT(i))) in mt7996_mac_twt_param_equal()
3194 f = &msta_link->twt.flow[i]; in mt7996_mac_twt_param_equal()
3209 struct ieee80211_twt_setup *twt) in mt7996_mac_add_twt_setup() argument
3213 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in mt7996_mac_add_twt_setup()
3227 if (mt7996_mac_check_twt_req(twt)) in mt7996_mac_add_twt_setup()
3232 if (dev->twt.n_agrt == MT7996_MAX_TWT_AGRT) in mt7996_mac_add_twt_setup()
[all …]
H A Dmt7996.h261 } twt; member
514 } twt; member
898 struct ieee80211_twt_setup *twt);
H A Dmain.c1418 for (i = 0; i < ARRAY_SIZE(msta_link->twt.flow); i++) in mt7996_mac_sta_event()
/linux/include/net/
H A Dmac80211.h5104 struct ieee80211_twt_setup *twt);