Home
last modified time | relevance | path

Searched refs:twt (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/net/mac80211/
H A Ds1g.c34 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup()
36 int len = IEEE80211_MIN_ACTION_SIZE + 4 + twt->length; in ieee80211_s1g_send_twt_setup()
55 memcpy(mgmt->u.action.u.s1g.variable, twt, 3 + twt->length); in ieee80211_s1g_send_twt_setup()
100 struct ieee80211_twt_setup *twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_s1g_rx_twt_setup() local
101 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in ieee80211_s1g_rx_twt_setup()
106 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) { in ieee80211_s1g_rx_twt_setup()
116 twt->control |= IEEE80211_TWT_CONTROL_RX_DISABLED; in ieee80211_s1g_rx_twt_setup()
118 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup()
120 ieee80211_s1g_send_twt_setup(sdata, mgmt->sa, sdata->vif.addr, twt); in ieee80211_s1g_rx_twt_setup()
33 ieee80211_s1g_send_twt_setup(struct ieee80211_sub_if_data *sdata, const u8 *da, const u8 *bssid, struct ieee80211_twt_setup *twt) ieee80211_s1g_send_twt_setup() argument
138 struct ieee80211_twt_setup *twt = (void *)mgmt->u.action.u.s1g.variable; ieee80211_s1g_tx_twt_setup_fail() local
[all...]
H A Dtrace.h2419 struct ieee80211_twt_setup *twt,
2422 TP_ARGS(local, sta, twt, twt_agrt),
2430 __field(__le64, twt)
2439 __entry->dialog_token = twt->dialog_token;
2440 __entry->control = twt->control;
2442 __entry->twt = twt_agrt->twt;
2451 " twt:%llu duration:%d mantissa:%d channel:%d",
2454 le64_to_cpu(__entry->twt), __entry->duration,
H A Ddriver-ops.h1472 struct ieee80211_twt_setup *twt) in drv_add_twt_setup()
1481 twt_agrt = (void *)twt->params; in drv_add_twt_setup()
1483 trace_drv_add_twt_setup(local, sta, twt, twt_agrt); in drv_add_twt_setup()
1484 local->ops->add_twt_setup(&local->hw, sta, twt); in drv_add_twt_setup()
1469 drv_add_twt_setup(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt) drv_add_twt_setup() argument
H A Drx.c3429 struct ieee80211_twt_setup *twt; in ieee80211_process_rx_twt_action() local
3437 twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_process_rx_twt_action()
3438 if (twt->element_id != WLAN_EID_S1G_TWT) in ieee80211_process_rx_twt_action()
3443 twt->length) in ieee80211_process_rx_twt_action()
H A Dmlme.c3972 bool twt = ieee80211_twt_req_supported(sdata, sband, link_sta, elems); in ieee80211_recalc_twt_req() local
3974 if (link->conf->twt_requester != twt) { in ieee80211_recalc_twt_req()
3975 link->conf->twt_requester = twt; in ieee80211_recalc_twt_req()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c2235 static int mt7915_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7915_mac_check_twt_req() argument
2243 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) in mt7915_mac_check_twt_req()
2247 if (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) in mt7915_mac_check_twt_req()
2250 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7915_mac_check_twt_req()
2280 if (!(msta->twt.flowid_mask & BIT(i))) in mt7915_mac_twt_param_equal()
2283 f = &msta->twt.flow[i]; in mt7915_mac_twt_param_equal()
2298 struct ieee80211_twt_setup *twt) in mt7915_mac_add_twt_setup()
2302 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in mt7915_mac_add_twt_setup()
2310 if (mt7915_mac_check_twt_req(twt)) in mt7915_mac_add_twt_setup()
2315 if (dev->twt in mt7915_mac_add_twt_setup()
2296 mt7915_mac_add_twt_setup(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt) mt7915_mac_add_twt_setup() argument
[all...]
H A Dmt7915.h152 } twt; member
312 } twt; member
569 struct ieee80211_twt_setup *twt);
H A Dmain.c773 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7915_mac_sta_remove()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c2403 static int mt7996_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7996_mac_check_twt_req() argument
2411 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) in mt7996_mac_check_twt_req()
2415 if (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) in mt7996_mac_check_twt_req()
2418 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7996_mac_check_twt_req()
2448 if (!(msta->twt.flowid_mask & BIT(i))) in mt7996_mac_twt_param_equal()
2451 f = &msta->twt.flow[i]; in mt7996_mac_twt_param_equal()
2466 struct ieee80211_twt_setup *twt) in mt7996_mac_add_twt_setup()
2470 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in mt7996_mac_add_twt_setup()
2477 if (mt7996_mac_check_twt_req(twt)) in mt7996_mac_add_twt_setup()
2482 if (dev->twt in mt7996_mac_add_twt_setup()
2464 mt7996_mac_add_twt_setup(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct ieee80211_twt_setup *twt) mt7996_mac_add_twt_setup() argument
[all...]
H A Dmt7996.h121 } twt; member
243 } twt; member
470 struct ieee80211_twt_setup *twt);
H A Dmain.c695 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7996_mac_sta_remove()
/kernel/linux/linux-5.10/net/mac80211/
H A Dmlme.c3264 bool twt = ieee80211_twt_req_supported(sta, elems); in ieee80211_recalc_twt_req() local
3266 if (sdata->vif.bss_conf.twt_requester != twt) { in ieee80211_recalc_twt_req()
3267 sdata->vif.bss_conf.twt_requester = twt; in ieee80211_recalc_twt_req()
/kernel/linux/linux-6.6/include/net/
H A Dmac80211.h4240 * twt structure.
4619 struct ieee80211_twt_setup *twt);
/kernel/linux/linux-6.6/include/linux/
H A Dieee80211.h1228 __le64 twt; member

Completed in 70 milliseconds