Home
last modified time | relevance | path

Searched refs:active_links (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.6/net/mac80211/
Dlink.c155 sdata->vif.active_links = 0; in ieee80211_set_vif_links_bitmaps()
163 sdata->vif.active_links = valid_links; in ieee80211_set_vif_links_bitmaps()
169 if (sdata->vif.active_links) in ieee80211_set_vif_links_bitmaps()
171 sdata->vif.active_links = valid_links & ~dormant_links; in ieee80211_set_vif_links_bitmaps()
172 WARN_ON(hweight16(sdata->vif.active_links) > 1); in ieee80211_set_vif_links_bitmaps()
184 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links()
262 new_links & sdata->vif.active_links, in ieee80211_vif_update_links()
324 u16 active_links) in _ieee80211_set_active_links() argument
328 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links()
329 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links()
[all …]
Ddriver-ops.c197 if (sdata->vif.active_links && in drv_conf_tx()
198 !(sdata->vif.active_links & BIT(link->link_id))) in drv_conf_tx()
292 if (sdata->vif.active_links && in drv_assign_vif_chanctx()
293 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_assign_vif_chanctx()
320 if (sdata->vif.active_links && in drv_unassign_vif_chanctx()
321 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_unassign_vif_chanctx()
438 if (sdata->vif.active_links && in drv_link_info_changed()
439 !(sdata->vif.active_links & BIT(link_id))) in drv_link_info_changed()
466 if (WARN_ON(key->link_id >= 0 && sdata->vif.active_links && in drv_set_key()
467 !(sdata->vif.active_links & BIT(key->link_id)))) in drv_set_key()
[all …]
Ddebugfs_netdev.c611 return snprintf(buf, buflen, "0x%x\n", sdata->vif.active_links); in ieee80211_if_fmt_active_links()
617 u16 active_links; in ieee80211_if_parse_active_links() local
619 if (kstrtou16(buf, 0, &active_links)) in ieee80211_if_parse_active_links()
622 return ieee80211_set_active_links(&sdata->vif, active_links) ?: buflen; in ieee80211_if_parse_active_links()
624 IEEE80211_IF_FILE_RW(active_links);
737 DEBUGFS_ADD_MODE(active_links, 0600); in add_sta_files()
Dkey.c180 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_enable_hw_accel()
181 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_enable_hw_accel()
253 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_disable_hw_accel()
254 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_disable_hw_accel()
Dutil.c2478 if (!(sdata->vif.active_links & BIT(link_id))) in ieee80211_reconfig_ap_links()
2661 u32 active_links = 0; in ieee80211_reconfig() local
2674 active_links = sdata->vif.active_links; in ieee80211_reconfig()
2675 link_id = ffs(active_links) - 1; in ieee80211_reconfig()
2676 sdata->vif.active_links = BIT(link_id); in ieee80211_reconfig()
2680 sdata->vif.active_links, in ieee80211_reconfig()
2688 !(sdata->vif.active_links & BIT(link_id))) in ieee80211_reconfig()
2818 if (active_links) in ieee80211_reconfig()
2819 ieee80211_set_active_links(&sdata->vif, active_links); in ieee80211_reconfig()
Dsta_info.h938 void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links);
Dsta_info.c893 if (sdata->vif.active_links & BIT(i)) in sta_info_insert_finish()
2282 void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links) in __ieee80211_sta_recalc_aggregates() argument
2297 if (!(active_links & BIT(link_id))) in __ieee80211_sta_recalc_aggregates()
2331 __ieee80211_sta_recalc_aggregates(sta, sta->sdata->vif.active_links); in ieee80211_sta_recalc_aggregates()
Dchan.c1826 if (sdata->vif.active_links && in ieee80211_link_use_channel()
1827 !(sdata->vif.active_links & BIT(link->link_id))) { in ieee80211_link_use_channel()
Dtx.c4452 unsigned long links = sdata->vif.active_links; in ieee80211_mlo_multicast_tx()
6047 link = ffs(sdata->vif.active_links) - 1; in __ieee80211_tx_skb_tid_band()
6083 !(sdata->vif.active_links & BIT(link_id))); in ieee80211_tx_skb_tid()
Dieee80211_i.h2041 int __ieee80211_set_active_links(struct ieee80211_vif *vif, u16 active_links);
Dmlme.c5769 new_active_links = sdata->vif.active_links & ~sdata->u.mgd.removed_links; in ieee80211_ml_reconf_work()
5770 if (new_active_links != sdata->vif.active_links) { in ieee80211_ml_reconf_work()
/Linux-v6.6/net/tipc/
Dnode.c123 int active_links[2]; member
199 int bearer_id = n->active_links[sel & 1]; in node_active_link()
225 bearer_id = n->active_links[sel & 1]; in tipc_node_get_mtu()
578 n->active_links[0] = INVALID_BEARER_ID; in tipc_node_create()
579 n->active_links[1] = INVALID_BEARER_ID; in tipc_node_create()
861 int *slot0 = &n->active_links[0]; in __tipc_node_link_up()
862 int *slot1 = &n->active_links[1]; in __tipc_node_link_up()
995 int *slot0 = &n->active_links[0]; in __tipc_node_link_down()
996 int *slot1 = &n->active_links[1]; in __tipc_node_link_down()
1050 *bearer_id = n->active_links[0]; in __tipc_node_link_down()
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_tc.c1479 int active_links = 0; in tc_port_has_active_links() local
1483 active_links = intel_dp_mst_encoder_active_links(dig_port); in tc_port_has_active_links()
1486 active_links = 1; in tc_port_has_active_links()
1489 if (active_links && !tc_phy_is_connected(tc, pll_type)) in tc_port_has_active_links()
1492 tc->port_name, active_links); in tc_port_has_active_links()
1494 return active_links; in tc_port_has_active_links()
/Linux-v6.6/net/smc/
Dsmc_llc.c1594 int active_links; in smc_llc_process_cli_delete_link() local
1629 active_links = smc_llc_active_link_count(lgr); in smc_llc_process_cli_delete_link()
1632 } else if (active_links == 1) { in smc_llc_process_cli_delete_link()
1634 } else if (!active_links) { in smc_llc_process_cli_delete_link()
1672 int active_links; in smc_llc_process_srv_delete_link() local
1718 active_links = smc_llc_active_link_count(lgr); in smc_llc_process_srv_delete_link()
1719 if (active_links == 1) { in smc_llc_process_srv_delete_link()
1721 } else if (!active_links) { in smc_llc_process_srv_delete_link()
/Linux-v6.6/include/net/
Dmac80211.h1890 u16 valid_links, active_links, dormant_links; member
1939 if ((!(vif)->active_links || \
1940 (vif)->active_links & BIT(link_id)) && \
2394 if ((!(vif)->active_links || \
2395 (vif)->active_links & BIT(link_id)) && \
7435 int ieee80211_set_active_links(struct ieee80211_vif *vif, u16 active_links);
7448 u16 active_links);
/Linux-v6.6/drivers/media/pci/saa7134/
Dsaa7134-video.c584 int ret, active_links = 0; in saa7134_enable_analog_tuner() local
600 active_links++; in saa7134_enable_analog_tuner()
605 if (active_links == 1 || !found_link) in saa7134_enable_analog_tuner()
/Linux-v6.6/drivers/media/usb/cx231xx/
Dcx231xx-video.c96 int ret, active_links = 0; in cx231xx_enable_analog_tuner() local
121 active_links++; in cx231xx_enable_analog_tuner()
126 if (active_links == 1 || !found_link) in cx231xx_enable_analog_tuner()
/Linux-v6.6/drivers/media/usb/em28xx/
Dem28xx-video.c902 int ret, active_links = 0; in em28xx_enable_analog_tuner() local
918 active_links++; in em28xx_enable_analog_tuner()
923 if (active_links == 1 || !found_link) in em28xx_enable_analog_tuner()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c754 if (info.control.vif->active_links) in iwl_mvm_tx_skb_non_sta()
755 link_id = ffs(info.control.vif->active_links) - 1; in iwl_mvm_tx_skb_non_sta()
Dscan.c2355 if (vif->active_links) in iwl_mvm_scan_umac_fill_general_p_v12()
2356 link_id = ffs(vif->active_links) - 1; in iwl_mvm_scan_umac_fill_general_p_v12()
/Linux-v6.6/drivers/net/wireless/virtual/
Dmac80211_hwsim.c1877 if (!(vif->active_links & BIT(link_id))) in mac80211_hwsim_select_tx_link()