Lines Matching full:links
63 sdata->wdev.links[link_id].addr); in ieee80211_link_init()
96 struct link_container **links, u16 mask) in ieee80211_tear_down_links() argument
105 link = &links[link_id]->data; in ieee80211_tear_down_links()
121 struct link_container **links) in ieee80211_free_links() argument
126 kfree(links[link_id]); in ieee80211_free_links()
164 "Invalid links: valid=0x%x, dormant=0x%x", in ieee80211_set_vif_links_bitmaps()
173 /* in an AP all links are always active */ in ieee80211_set_vif_links_bitmaps()
176 /* AP links are not expected to be disabled */ in ieee80211_set_vif_links_bitmaps()
200 struct link_container *links[IEEE80211_MLD_MAX_NUM_LINKS] = {}, *link; in ieee80211_vif_update_links() local
207 memset(to_free, 0, sizeof(links)); in ieee80211_vif_update_links()
212 /* if there were no old links, need to clear the pointers to deflink */ in ieee80211_vif_update_links()
223 links[link_id] = link; in ieee80211_vif_update_links()
233 /* grab old links to free later */ in ieee80211_vif_update_links()
241 typeof(*links[link_id]), in ieee80211_vif_update_links()
254 link = links[link_id]; in ieee80211_vif_update_links()
282 /* and free (only) the newly allocated links */ in ieee80211_vif_update_links()
283 memset(to_free, 0, sizeof(links)); in ieee80211_vif_update_links()
287 /* use deflink/bss_conf again if and only if there are no more links */ in ieee80211_vif_update_links()
294 kfree(links[link_id]); in ieee80211_vif_update_links()
295 links[link_id] = NULL; in ieee80211_vif_update_links()
307 struct link_container *links[IEEE80211_MLD_MAX_NUM_LINKS]; in ieee80211_vif_set_links() local
310 ret = ieee80211_vif_update_links(sdata, links, new_links, in ieee80211_vif_set_links()
312 ieee80211_free_links(sdata, links); in ieee80211_vif_set_links()
319 struct link_container *links[IEEE80211_MLD_MAX_NUM_LINKS]; in ieee80211_vif_clear_links() local
322 * The locking here is different because when we free links in ieee80211_vif_clear_links()
328 ieee80211_vif_update_links(sdata, links, 0, 0); in ieee80211_vif_clear_links()
331 ieee80211_free_links(sdata, links); in ieee80211_vif_clear_links()
416 * from there when filling in the new links, which in _ieee80211_set_active_links()
417 * would set it wrong since the vif's active links are in _ieee80211_set_active_links()
477 * then enable the additional links in __ieee80211_set_active_links()