/openbmc/linux/net/mac80211/ |
H A D | s1g.c | 34 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup() argument 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() 138 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 | 2419 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; 2454 le64_to_cpu(__entry->twt), __entry->duration,
|
H A D | driver-ops.h | 1475 struct ieee80211_twt_setup *twt) in drv_add_twt_setup() argument 1484 twt_agrt = (void *)twt->params; in drv_add_twt_setup() 1486 trace_drv_add_twt_setup(local, sta, twt, twt_agrt); in drv_add_twt_setup() 1487 local->ops->add_twt_setup(&local->hw, sta, twt); in drv_add_twt_setup()
|
H A D | rx.c | 3437 struct ieee80211_twt_setup *twt; in ieee80211_process_rx_twt_action() local 3445 twt = (void *)mgmt->u.action.u.s1g.variable; in ieee80211_process_rx_twt_action() 3446 if (twt->element_id != WLAN_EID_S1G_TWT) in ieee80211_process_rx_twt_action() 3451 twt->length) in ieee80211_process_rx_twt_action()
|
H A D | mlme.c | 3972 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()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 2245 static int mt7915_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7915_mac_check_twt_req() argument 2253 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) in mt7915_mac_check_twt_req() 2257 if (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) in mt7915_mac_check_twt_req() 2260 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7915_mac_check_twt_req() 2290 if (!(msta->twt.flowid_mask & BIT(i))) in mt7915_mac_twt_param_equal() 2293 f = &msta->twt.flow[i]; in mt7915_mac_twt_param_equal() 2308 struct ieee80211_twt_setup *twt) in mt7915_mac_add_twt_setup() argument 2312 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in mt7915_mac_add_twt_setup() 2320 if (mt7915_mac_check_twt_req(twt)) in mt7915_mac_add_twt_setup() 2325 if (dev->twt.n_agrt == MT7915_MAX_TWT_AGRT) in mt7915_mac_add_twt_setup() [all …]
|
H A D | mt7915.h | 152 } twt; member 314 } twt; member 571 struct ieee80211_twt_setup *twt);
|
H A D | main.c | 773 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7915_mac_sta_remove()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mac.c | 2404 static int mt7996_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7996_mac_check_twt_req() argument 2412 if (twt->control & IEEE80211_TWT_CONTROL_NEG_TYPE_BROADCAST) in mt7996_mac_check_twt_req() 2416 if (twt->control & IEEE80211_TWT_CONTROL_WAKE_DUR_UNIT) in mt7996_mac_check_twt_req() 2419 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7996_mac_check_twt_req() 2449 if (!(msta->twt.flowid_mask & BIT(i))) in mt7996_mac_twt_param_equal() 2452 f = &msta->twt.flow[i]; in mt7996_mac_twt_param_equal() 2467 struct ieee80211_twt_setup *twt) in mt7996_mac_add_twt_setup() argument 2471 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in mt7996_mac_add_twt_setup() 2478 if (mt7996_mac_check_twt_req(twt)) in mt7996_mac_add_twt_setup() 2483 if (dev->twt.n_agrt == MT7996_MAX_TWT_AGRT) in mt7996_mac_add_twt_setup() [all …]
|
H A D | mt7996.h | 121 } twt; member 243 } twt; member 469 struct ieee80211_twt_setup *twt);
|
H A D | main.c | 698 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7996_mac_sta_remove()
|
/openbmc/linux/include/net/ |
H A D | mac80211.h | 4636 struct ieee80211_twt_setup *twt);
|
/openbmc/linux/include/linux/ |
H A D | ieee80211.h | 1235 __le64 twt; member
|