Lines Matching refs:link_data

754 	struct mac80211_hwsim_link_data link_data[IEEE80211_MLD_MAX_NUM_LINKS];  member
1230 u32 bcn_int = data->link_data[0].beacon_int; in mac80211_hwsim_set_tsf()
2117 for (i = 0; i < ARRAY_SIZE(data->link_data); i++) in mac80211_hwsim_stop()
2118 hrtimer_cancel(&data->link_data[i].beacon_timer); in mac80211_hwsim_stop()
2272 struct mac80211_hwsim_link_data *link_data = arg; in mac80211_hwsim_beacon_tx() local
2273 u32 link_id = link_data->link_id; in mac80211_hwsim_beacon_tx()
2276 container_of(link_data, struct mac80211_hwsim_data, in mac80211_hwsim_beacon_tx()
2277 link_data[link_id]); in mac80211_hwsim_beacon_tx()
2334 struct mac80211_hwsim_link_data *link_data = in mac80211_hwsim_beacon() local
2337 container_of(link_data, struct mac80211_hwsim_data, in mac80211_hwsim_beacon()
2338 link_data[link_data->link_id]); in mac80211_hwsim_beacon()
2340 u64 bcn_int = link_data->beacon_int; in mac80211_hwsim_beacon()
2347 mac80211_hwsim_beacon_tx, link_data); in mac80211_hwsim_beacon()
2354 hrtimer_forward_now(&link_data->beacon_timer, in mac80211_hwsim_beacon()
2439 for (idx = 0; idx < ARRAY_SIZE(data->link_data); idx++) { in mac80211_hwsim_config()
2440 struct mac80211_hwsim_link_data *link_data = in mac80211_hwsim_config() local
2441 &data->link_data[idx]; in mac80211_hwsim_config()
2443 if (!data->started || !link_data->beacon_int) { in mac80211_hwsim_config()
2444 hrtimer_cancel(&link_data->beacon_timer); in mac80211_hwsim_config()
2445 } else if (!hrtimer_is_queued(&link_data->beacon_timer)) { in mac80211_hwsim_config()
2447 u32 bcn_int = link_data->beacon_int; in mac80211_hwsim_config()
2450 hrtimer_start(&link_data->beacon_timer, in mac80211_hwsim_config()
2522 struct mac80211_hwsim_link_data *link_data = &data->link_data[link_id]; in mac80211_hwsim_link_info_changed() local
2540 !hrtimer_is_queued(&link_data->beacon_timer) && in mac80211_hwsim_link_info_changed()
2544 link_data->beacon_int = info->beacon_int * 1024; in mac80211_hwsim_link_info_changed()
2546 bcn_int = link_data->beacon_int; in mac80211_hwsim_link_info_changed()
2549 hrtimer_start(&link_data->beacon_timer, in mac80211_hwsim_link_info_changed()
2560 hrtimer_cancel(&link_data->beacon_timer); in mac80211_hwsim_link_info_changed()
2561 link_data->beacon_int = 0; in mac80211_hwsim_link_info_changed()
5511 for (i = 0; i < ARRAY_SIZE(data->link_data); i++) { in mac80211_hwsim_new_radio()
5512 hrtimer_init(&data->link_data[i].beacon_timer, CLOCK_MONOTONIC, in mac80211_hwsim_new_radio()
5514 data->link_data[i].beacon_timer.function = in mac80211_hwsim_new_radio()
5516 data->link_data[i].link_id = i; in mac80211_hwsim_new_radio()