Searched refs:twt (Results 1 – 10 of 10) sorted by relevance
35 const u8 *bssid, struct ieee80211_twt_setup *twt) in ieee80211_s1g_send_twt_setup() argument37 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() local102 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 …]
3597 struct ieee80211_twt_setup *twt; in ieee80211_process_rx_twt_action() local3604 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()
5751 bool twt = ieee80211_twt_req_supported(sdata, sband, link_sta, elems); in ieee80211_recalc_twt_req() local5753 if (link->conf->twt_requester != twt) { in ieee80211_recalc_twt_req()5754 link->conf->twt_requester = twt; in ieee80211_recalc_twt_req()
2234 static int mt7915_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7915_mac_check_twt_req() argument2242 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() argument2301 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 …]
155 } twt; member326 } twt; member618 struct ieee80211_twt_setup *twt);
869 for (i = 0; i < ARRAY_SIZE(msta->twt.flow); i++) in mt7915_mac_sta_event()
3146 static int mt7996_mac_check_twt_req(struct ieee80211_twt_setup *twt) in mt7996_mac_check_twt_req() argument3154 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() argument3213 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 …]
261 } twt; member514 } twt; member898 struct ieee80211_twt_setup *twt);
1418 for (i = 0; i < ARRAY_SIZE(msta_link->twt.flow); i++) in mt7996_mac_sta_event()
5104 struct ieee80211_twt_setup *twt);