Lines Matching defs:links
55 sdata->wdev.links[link_id].addr);
85 struct link_container **links, u16 mask)
94 link = &links[link_id]->data;
110 struct link_container **links)
115 kfree(links[link_id]);
153 "Invalid links: valid=0x%x, dormant=0x%x",
162 /* in an AP all links are always active */
165 /* AP links are not expected to be disabled */
189 struct link_container *links[IEEE80211_MLD_MAX_NUM_LINKS] = {}, *link;
196 memset(to_free, 0, sizeof(links));
201 /* if there were no old links, need to clear the pointers to deflink */
212 links[link_id] = link;
222 /* grab old links to free later */
230 typeof(*links[link_id]),
243 link = links[link_id];
271 /* and free (only) the newly allocated links */
272 memset(to_free, 0, sizeof(links));
276 /* use deflink/bss_conf again if and only if there are no more links */
283 kfree(links[link_id]);
284 links[link_id] = NULL;
296 struct link_container *links[IEEE80211_MLD_MAX_NUM_LINKS];
299 ret = ieee80211_vif_update_links(sdata, links, new_links,
301 ieee80211_free_links(sdata, links);
308 struct link_container *links[IEEE80211_MLD_MAX_NUM_LINKS];
311 * The locking here is different because when we free links
317 ieee80211_vif_update_links(sdata, links, 0, 0);
320 ieee80211_free_links(sdata, links);
405 * from there when filling in the new links, which
406 * would set it wrong since the vif's active links are
466 * then enable the additional links