Searched refs:twt (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/net/mac80211/ |
| H A D | s1g.c | 35 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup() argument 37 int len = IEEE80211_MIN_ACTION_SIZE + 4 + twt->length; in ieee80211_s1g_send_twt_setup() 56 memcpy(mgmt->u.action.u.s1g.variable, twt, 3 + twt->length); in ieee80211_s1g_send_twt_setup() 101 struct ieee80211_twt_setup *twt = (void *)mgmt->u.action.u.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() 107 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) { in ieee80211_s1g_rx_twt_setup() 117 twt->control |= IEEE80211_TWT_CONTROL_RX_DISABLED; in ieee80211_s1g_rx_twt_setup() 119 drv_add_twt_setup(sdata->local, sdata, &sta->sta, twt); in ieee80211_s1g_rx_twt_setup() 121 ieee80211_s1g_send_twt_setup(sdata, mgmt->sa, sdata->vif.addr, twt); in ieee80211_s1g_rx_twt_setup() 139 struct ieee80211_twt_setup *twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_s1g_tx_twt_setup_fail() local [all …]
|
| H A D | trace.h | 2410 struct ieee80211_twt_setup *twt, 2413 TP_ARGS(local, sta, twt, twt_agrt), 2421 __field(__le64, twt) 2430 __entry->dialog_token = twt->dialog_token; 2431 __entry->control = twt->control; 2433 __entry->twt = twt_agrt->twt; 2445 le64_to_cpu(__entry->twt), __entry->duration,
|
| H A D | driver-ops.h | 1612 struct ieee80211_twt_setup *twt) in drv_add_twt_setup() argument 1622 twt_agrt = (void *)twt->params; in drv_add_twt_setup() 1624 trace_drv_add_twt_setup(local, sta, twt, twt_agrt); in drv_add_twt_setup() 1625 local->ops->add_twt_setup(&local->hw, sta, twt); in drv_add_twt_setup()
|
| H A D | rx.c | 3470 struct ieee80211_twt_setup *twt; in ieee80211_process_rx_twt_action() local 3478 twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_process_rx_twt_action() 3479 if (twt->element_id != WLAN_EID_S1G_TWT) in ieee80211_process_rx_twt_action() 3484 twt->length) in ieee80211_process_rx_twt_action()
|
| H A D | mlme.c | 4994 bool twt = ieee80211_twt_req_supported(sdata, sband, link_sta, elems); in ieee80211_recalc_twt_req() local 4996 if (link->conf->twt_requester != twt) { in ieee80211_recalc_twt_req() 4997 link->conf->twt_requester = twt; in ieee80211_recalc_twt_req()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mac.c | 2299 f = &msta->twt.flow[i]; in mt7915_mac_twt_param_equal() 2326 if (mt7915_mac_check_twt_req(twt)) in mt7915_mac_add_twt_setup() 2334 if (hweight8(msta->twt.flowid_mask) == ARRAY_SIZE(msta->twt.flow)) in mt7915_mac_add_twt_setup() 2355 flow = &msta->twt.flow[flowid]; in mt7915_mac_add_twt_setup() 2389 dev->twt.table_mask |= BIT(table_id); in mt7915_mac_add_twt_setup() 2390 msta->twt.flowid_mask |= BIT(flowid); in mt7915_mac_add_twt_setup() 2391 dev->twt.n_agrt++; in mt7915_mac_add_twt_setup() 2399 twt->control = (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) | in mt7915_mac_add_twt_setup() 2417 flow = &msta->twt.flow[flowid]; in mt7915_mac_twt_teardown_flow() 2423 msta->twt.flowid_mask &= ~BIT(flowid); in mt7915_mac_twt_teardown_flow() [all …]
|
| H A D | mt7915.h | 152 } twt; member 320 } twt; member 578 struct ieee80211_twt_setup *twt);
|
| H A D | main.c | 853 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7915_mac_sta_event()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | mac.c | 2658 f = &msta_link->twt.flow[i]; in mt7996_mac_twt_param_equal() 2685 if (mt7996_mac_check_twt_req(twt)) in mt7996_mac_add_twt_setup() 2694 ARRAY_SIZE(msta_link->twt.flow)) in mt7996_mac_add_twt_setup() 2715 flow = &msta_link->twt.flow[flowid]; in mt7996_mac_add_twt_setup() 2739 twt_agrt->twt = cpu_to_le64(flow_tsf); in mt7996_mac_add_twt_setup() 2743 flow->tsf = le64_to_cpu(twt_agrt->twt); in mt7996_mac_add_twt_setup() 2750 dev->twt.table_mask |= BIT(table_id); in mt7996_mac_add_twt_setup() 2752 dev->twt.n_agrt++; in mt7996_mac_add_twt_setup() 2760 twt->control = twt->control & IEEE80211_TWT_CONTROL_RX_DISABLED; in mt7996_mac_add_twt_setup() 2778 flow = &msta_link->twt.flow[flowid]; in mt7996_mac_twt_teardown_flow() [all …]
|
| H A D | mt7996.h | 206 } twt; member 390 } twt; member 729 struct ieee80211_twt_setup *twt);
|
| H A D | main.c | 1122 for (i = 0; i < ARRAY_SIZE(msta_link->twt.flow); i++) in mt7996_mac_sta_event()
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | nl80211.yaml | 1159 name: twt-responder
|
| /linux-6.15/include/net/ |
| H A D | mac80211.h | 4838 struct ieee80211_twt_setup *twt);
|
| /linux-6.15/include/linux/ |
| H A D | ieee80211.h | 1286 __le64 twt; member
|