Lines Matching refs:link_data

722 	struct mac80211_hwsim_link_data link_data[IEEE80211_MLD_MAX_NUM_LINKS];  member
1092 u32 bcn_int = data->link_data[0].beacon_int; in mac80211_hwsim_set_tsf()
1968 for (i = 0; i < ARRAY_SIZE(data->link_data); i++) in mac80211_hwsim_stop()
1969 hrtimer_cancel(&data->link_data[i].beacon_timer); in mac80211_hwsim_stop()
2060 struct mac80211_hwsim_link_data *link_data = arg; in mac80211_hwsim_beacon_tx() local
2061 u32 link_id = link_data->link_id; in mac80211_hwsim_beacon_tx()
2064 container_of(link_data, struct mac80211_hwsim_data, in mac80211_hwsim_beacon_tx()
2065 link_data[link_id]); in mac80211_hwsim_beacon_tx()
2086 skb = ieee80211_beacon_get(hw, vif, link_data->link_id); in mac80211_hwsim_beacon_tx()
2131 struct mac80211_hwsim_link_data *link_data = in mac80211_hwsim_beacon() local
2134 container_of(link_data, struct mac80211_hwsim_data, in mac80211_hwsim_beacon()
2135 link_data[link_data->link_id]); in mac80211_hwsim_beacon()
2137 u64 bcn_int = link_data->beacon_int; in mac80211_hwsim_beacon()
2144 mac80211_hwsim_beacon_tx, link_data); in mac80211_hwsim_beacon()
2151 hrtimer_forward_now(&link_data->beacon_timer, in mac80211_hwsim_beacon()
2235 for (idx = 0; idx < ARRAY_SIZE(data->link_data); idx++) { in mac80211_hwsim_config()
2236 struct mac80211_hwsim_link_data *link_data = in mac80211_hwsim_config() local
2237 &data->link_data[idx]; in mac80211_hwsim_config()
2239 if (!data->started || !link_data->beacon_int) { in mac80211_hwsim_config()
2240 hrtimer_cancel(&link_data->beacon_timer); in mac80211_hwsim_config()
2241 } else if (!hrtimer_is_queued(&link_data->beacon_timer)) { in mac80211_hwsim_config()
2243 u32 bcn_int = link_data->beacon_int; in mac80211_hwsim_config()
2246 hrtimer_start(&link_data->beacon_timer, in mac80211_hwsim_config()
2310 struct mac80211_hwsim_link_data *link_data = &data->link_data[link_id]; in mac80211_hwsim_link_info_changed() local
2328 !hrtimer_is_queued(&link_data->beacon_timer) && in mac80211_hwsim_link_info_changed()
2332 link_data->beacon_int = info->beacon_int * 1024; in mac80211_hwsim_link_info_changed()
2334 bcn_int = link_data->beacon_int; in mac80211_hwsim_link_info_changed()
2337 hrtimer_start(&link_data->beacon_timer, in mac80211_hwsim_link_info_changed()
2348 hrtimer_cancel(&link_data->beacon_timer); in mac80211_hwsim_link_info_changed()
2349 link_data->beacon_int = 0; in mac80211_hwsim_link_info_changed()
4574 for (i = 0; i < ARRAY_SIZE(data->link_data); i++) { in mac80211_hwsim_new_radio()
4575 hrtimer_init(&data->link_data[i].beacon_timer, CLOCK_MONOTONIC, in mac80211_hwsim_new_radio()
4577 data->link_data[i].beacon_timer.function = in mac80211_hwsim_new_radio()
4579 data->link_data[i].link_id = i; in mac80211_hwsim_new_radio()