| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | power.c | 643 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument 659 if (vifs->bss_vif) in iwl_mvm_power_set_pm() 660 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm() 662 if (vifs->p2p_vif) in iwl_mvm_power_set_pm() 663 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm() 665 if (vifs->ap_vif) in iwl_mvm_power_set_pm() 666 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm() 673 if (bss_mvmvif && vifs->bss_active && !vifs->p2p_active && in iwl_mvm_power_set_pm() 674 !vifs->ap_active) { in iwl_mvm_power_set_pm() 680 if (p2p_mvmvif && vifs->p2p_active && !vifs->bss_active && in iwl_mvm_power_set_pm() [all …]
|
| H A D | mac80211.c | 5231 struct ieee80211_vif_chanctx_switch *vifs, in iwl_mvm_switch_vif_chanctx_swap() argument 5237 ops->__unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() 5238 vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5239 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5241 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5247 ret = ops->__assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() 5248 vifs[0].new_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 5262 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 5265 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap() 5270 if (ops->__assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].link_conf, in iwl_mvm_switch_vif_chanctx_swap() [all …]
|
| H A D | mld-mac80211.c | 793 struct ieee80211_vif_chanctx_switch *vifs, in iwl_mvm_mld_switch_vif_chanctx() argument 802 return iwl_mvm_switch_vif_chanctx_common(hw, vifs, n_vifs, mode, &ops); in iwl_mvm_mld_switch_vif_chanctx()
|
| H A D | mvm.h | 2542 struct ieee80211_vif_chanctx_switch *vifs,
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | channel.c | 191 struct ieee80211_vif_chanctx_switch *vifs, in mt76_switch_vif_chanctx() argument 195 struct mt76_chanctx *old_ctx = (struct mt76_chanctx *)vifs->old_ctx->drv_priv; in mt76_switch_vif_chanctx() 196 struct mt76_chanctx *new_ctx = (struct mt76_chanctx *)vifs->new_ctx->drv_priv; in mt76_switch_vif_chanctx() 197 struct ieee80211_chanctx_conf *conf = vifs->new_ctx; in mt76_switch_vif_chanctx() 227 ret = mt76_phy_update_channel(phy, vifs->new_ctx); in mt76_switch_vif_chanctx() 236 mlink = mt76_vif_conf_link(dev, vifs[i].vif, vifs[i].link_conf); in mt76_switch_vif_chanctx() 240 dev->drv->vif_link_remove(old_phy, vifs[i].vif, in mt76_switch_vif_chanctx() 241 vifs[i].link_conf, mlink); in mt76_switch_vif_chanctx() 243 ret = dev->drv->vif_link_add(phy, vifs[i].vif, in mt76_switch_vif_chanctx() 244 vifs[i].link_conf, mlink); in mt76_switch_vif_chanctx() [all …]
|
| H A D | mt76.h | 1627 struct ieee80211_vif_chanctx_switch *vifs,
|
| /freebsd/bin/sh/ |
| H A D | var.h | 73 extern struct var vifs; 96 #define ifsval() (vifs.text + 4) 97 #define ifsset() ((vifs.flags & VUNSET) == 0)
|
| H A D | var.c | 83 struct var vifs; variable 101 { &vifs, 0, "IFS= \t\n",
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | mac80211.c | 2372 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mld_switch_vif_chanctx_swap() argument 2377 iwl_mld_unassign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_swap() 2378 vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2379 iwl_mld_remove_chanctx(hw, vifs[0].old_ctx); in iwl_mld_switch_vif_chanctx_swap() 2381 ret = iwl_mld_add_chanctx(hw, vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap() 2387 ret = iwl_mld_assign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_swap() 2388 vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap() 2398 iwl_mld_remove_chanctx(hw, vifs[0].new_ctx); in iwl_mld_switch_vif_chanctx_swap() 2400 if (iwl_mld_add_chanctx(hw, vifs[0].old_ctx)) { in iwl_mld_switch_vif_chanctx_swap() 2405 if (iwl_mld_assign_vif_chanctx(hw, vifs[0].vif, vifs[0].link_conf, in iwl_mld_switch_vif_chanctx_swap() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | mac.c | 8726 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument 8737 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel() 8738 WARN_ON(vifs && !n_vifs); in ath10k_mac_update_rx_channel() 8756 if (vifs) in ath10k_mac_update_rx_channel() 8757 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel() 8776 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument 8792 arvif = (void *)vifs[i].vif->drv_priv; in ath10k_mac_update_vif_chan() 8797 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 8798 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 8799 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan() [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
| H A D | main.c | 1429 struct ieee80211_vif_chanctx_switch *vifs, in mt7921_switch_vif_chanctx() argument 1433 return mt792x_assign_vif_chanctx(hw, vifs->vif, vifs->link_conf, in mt7921_switch_vif_chanctx() 1434 vifs->new_ctx); in mt7921_switch_vif_chanctx()
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | mac.h | 292 struct ieee80211_vif_chanctx_switch *vifs,
|
| H A D | mac.c | 11282 struct ieee80211_vif_chanctx_switch *vifs; member 11357 arg->vifs[arg->next_vif].vif = vif; in ath12k_mac_change_chanctx_fill_iter() 11358 arg->vifs[arg->next_vif].old_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter() 11359 arg->vifs[arg->next_vif].new_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter() 11360 arg->vifs[arg->next_vif].link_conf = link_conf; in ath12k_mac_change_chanctx_fill_iter() 11418 struct ieee80211_vif_chanctx_switch *vifs, in ath12k_mac_update_vif_chan() argument 11435 vif = vifs[i].vif; in ath12k_mac_update_vif_chan() 11437 link_conf = vifs[i].link_conf; in ath12k_mac_update_vif_chan() 11450 vifs[i].old_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan() 11451 vifs[i].new_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | mac.c | 7735 struct ieee80211_vif_chanctx_switch *vifs; member 7766 arg->vifs[arg->next_vif].vif = vif; in ath11k_mac_change_chanctx_fill_iter() 7767 arg->vifs[arg->next_vif].old_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter() 7768 arg->vifs[arg->next_vif].new_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter() 7774 struct ieee80211_vif_chanctx_switch *vifs, in ath11k_mac_update_vif_chan() argument 7792 arvif = ath11k_vif_to_arvif(vifs[i].vif); in ath11k_mac_update_vif_chan() 7805 ret = ath11k_mac_vdev_restart(arvif, vifs[i].new_ctx); in ath11k_mac_update_vif_chan() 7819 ret = ath11k_mac_vdev_start(arvif, vifs[i].new_ctx); in ath11k_mac_update_vif_chan() 7879 arg.vifs = kzalloc_objs(arg.vifs[0], arg.n_vifs); in ath11k_mac_update_active_vif_chan() 7880 if (!arg.vifs) in ath11k_mac_update_active_vif_chan() [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | mac80211.c | 1385 struct ieee80211_vif_chanctx_switch *vifs, in rtw89_ops_switch_vif_chanctx() argument 1408 struct ieee80211_vif_chanctx_switch *p = &vifs[i]; in rtw89_ops_switch_vif_chanctx()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_80211.c | 9511 struct ieee80211_vif_chanctx_switch *vifs, int n_vifs, argument 9522 if (vifs == NULL || vifs[0].new_ctx == NULL) 9529 hw->conf.radar_enabled = vifs[0].new_ctx->radar_enabled; 9530 chanctx_conf = vifs[0].new_ctx;
|