Home
last modified time | relevance | path

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

/openbmc/linux/net/mac80211/
H A 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 …]
H A 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()
435 if (sdata->vif.active_links && in drv_link_info_changed()
436 !(sdata->vif.active_links & BIT(link_id))) in drv_link_info_changed()
463 if (WARN_ON(key->link_id >= 0 && sdata->vif.active_links && in drv_set_key()
464 !(sdata->vif.active_links & BIT(key->link_id)))) in drv_set_key()
[all …]
H A 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()
H A 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()
H A Dutil.c2482 if (!(sdata->vif.active_links & BIT(link_id))) in ieee80211_reconfig_ap_links()
2665 u32 active_links = 0; in ieee80211_reconfig() local
2678 active_links = sdata->vif.active_links; in ieee80211_reconfig()
2679 link_id = ffs(active_links) - 1; in ieee80211_reconfig()
2680 sdata->vif.active_links = BIT(link_id); in ieee80211_reconfig()
2684 sdata->vif.active_links, in ieee80211_reconfig()
2692 !(sdata->vif.active_links & BIT(link_id))) in ieee80211_reconfig()
2822 if (active_links) in ieee80211_reconfig()
2823 ieee80211_set_active_links(&sdata->vif, active_links); in ieee80211_reconfig()
H A Dsta_info.c896 if (sdata->vif.active_links & BIT(i)) in sta_info_insert_finish()
2309 void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links) in __ieee80211_sta_recalc_aggregates() argument
2324 if (!(active_links & BIT(link_id))) in __ieee80211_sta_recalc_aggregates()
2358 __ieee80211_sta_recalc_aggregates(sta, sta->sdata->vif.active_links); in ieee80211_sta_recalc_aggregates()
H A Dsta_info.h942 void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links);
H A 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()
H A Dtx.c4459 unsigned long links = sdata->vif.active_links; in ieee80211_mlo_multicast_tx()
6056 link = ffs(sdata->vif.active_links) - 1; in __ieee80211_tx_skb_tid_band()
6092 !(sdata->vif.active_links & BIT(link_id))); in ieee80211_tx_skb_tid()
H A Dieee80211_i.h2044 int __ieee80211_set_active_links(struct ieee80211_vif *vif, u16 active_links);
H A 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()
/openbmc/linux/net/tipc/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A 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()
/openbmc/linux/net/smc/
H A 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()
/openbmc/linux/include/net/
H A Dmac80211.h1894 u16 valid_links, active_links, dormant_links; member
1943 if ((!(vif)->active_links || \
1944 (vif)->active_links & BIT(link_id)) && \
2398 if ((!(vif)->active_links || \
2399 (vif)->active_links & BIT(link_id)) && \
7439 int ieee80211_set_active_links(struct ieee80211_vif *vif, u16 active_links);
7452 u16 active_links);
/openbmc/linux/drivers/media/usb/cx231xx/
H A 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()
/openbmc/linux/drivers/media/pci/saa7134/
H A 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()
/openbmc/linux/drivers/media/usb/em28xx/
H A 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c769 if (info.control.vif->active_links) in iwl_mvm_tx_skb_non_sta()
770 link_id = ffs(info.control.vif->active_links) - 1; in iwl_mvm_tx_skb_non_sta()
H A Dd3.c2030 int link_id = vif->active_links ? __ffs(vif->active_links) : 0; in iwl_mvm_d3_igtk_bigtk_rekey_add()
H A Dscan.c2359 if (vif->active_links) in iwl_mvm_scan_umac_fill_general_p_v12()
2360 link_id = ffs(vif->active_links) - 1; in iwl_mvm_scan_umac_fill_general_p_v12()
H A Dmac80211.c1064 if (mvm_link_sta && !(vif->active_links & BIT(link_id))) { in iwl_mvm_cleanup_sta_iterator()
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1877 if (!(vif->active_links & BIT(link_id))) in mac80211_hwsim_select_tx_link()