Home
last modified time | relevance | path

Searched refs:vifs (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dpower.c635 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument
651 if (vifs->bss_vif) in iwl_mvm_power_set_pm()
652 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm()
654 if (vifs->p2p_vif) in iwl_mvm_power_set_pm()
655 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm()
657 if (vifs->ap_vif) in iwl_mvm_power_set_pm()
658 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm()
665 if (vifs->bss_active && !vifs->p2p_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
671 if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
677 if (vifs->bss_active && vifs->p2p_active) in iwl_mvm_power_set_pm()
[all …]
Dmac80211.c3594 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_swap() argument
3599 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
3600 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3602 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3608 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3623 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3626 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
3631 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3651 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_reassign() argument
3656 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
[all …]
/linux-4.4.14/net/mac80211/
Ddriver-ops.c233 struct ieee80211_vif_chanctx_switch *vifs, in drv_switch_vif_chanctx() argument
246 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
250 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
261 trace_drv_switch_vif_chanctx(local, vifs, n_vifs, mode); in drv_switch_vif_chanctx()
263 vifs, n_vifs, mode); in drv_switch_vif_chanctx()
269 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
273 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
Dtrace.h1465 #define SWITCH_ENTRY_ASSIGN(to, from) local_vifs[i].to = vifs[i].from
1470 struct ieee80211_vif_chanctx_switch *vifs,
1472 TP_ARGS(local, vifs, n_vifs, mode),
1478 __dynamic_array(u8, vifs,
1488 __get_dynamic_array(vifs);
1494 sdata = container_of(vifs[i].vif,
Ddriver-ops.h928 struct ieee80211_vif_chanctx_switch *vifs,
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c306 adapter->vifs[0] = vif; in rsi_mac80211_add_interface()
338 if (!memcmp(adapter->vifs[0], vif, sizeof(struct ieee80211_vif))) in rsi_mac80211_remove_interface()
339 adapter->vifs[0] = NULL; in rsi_mac80211_remove_interface()
358 struct ieee80211_bss_conf *bss = &adapter->vifs[0]->bss_conf; in rsi_channel_change()
431 struct ieee80211_vif *vif = adapter->vifs[0]; in rsi_get_connected_channel()
687 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action()
826 ieee80211_cqm_rssi_notify(adapter->vifs[0], event, GFP_KERNEL); in rsi_perform_cqm()
846 struct ieee80211_bss_conf *bss = &common->priv->vifs[0]->bss_conf; in rsi_fill_rx_status()
Drsi_main.h212 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
Drsi_91x_core.c109 adapter->vifs[0], in rsi_get_num_pkts_dequeue()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dchannel.c118 INIT_LIST_HEAD(&ctx->vifs); in ath_chanctx_init()
165 list_for_each_entry(avp, &ctx->vifs, list) { in ath_is_go_chanctx_present()
262 list_for_each_entry(avp, &ctx->vifs, list) { in ath_chanctx_check_active()
279 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_check_active()
846 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_get_oper_chan()
1131 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame()
1325 INIT_LIST_HEAD(&ctx->vifs); in ath9k_offchannel_init()
Dmain.c973 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
1005 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
1260 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
2469 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
Dath9k.h326 struct list_head vifs; member
Ddebug.c735 if (list_empty(&ctx->vifs)) in read_file_misc()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c6388 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument
6399 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel()
6400 WARN_ON(vifs && n_vifs != 1); in ath10k_mac_update_rx_channel()
6418 if (vifs) in ath10k_mac_update_rx_channel()
6419 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel()
6438 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument
6454 arvif = ath10k_vif_to_arvif(vifs[i].vif); in ath10k_mac_update_vif_chan()
6459 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
6460 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan()
6461 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dmain.c691 ar->vifs++; in carl9170_op_add_interface()
749 ar->vifs--; in carl9170_op_add_interface()
755 if (ar->vifs > 1) in carl9170_op_add_interface()
777 ar->vifs--; in carl9170_op_remove_interface()
793 if (ar->vifs) { in carl9170_op_remove_interface()
817 if (ar->vifs == 1) in carl9170_op_remove_interface()
1822 ar->vifs = 0; in carl9170_alloc()
Dcarl9170.h305 unsigned int vifs; member
Ddebug.c441 ar->vifs, ar->fw.vif_num); in carl9170_debugfs_vif_dump_read()
Dtx.c1549 if (ar->vifs > 0 && cvif) { in carl9170_pick_beaconing_vif()
/linux-4.4.14/include/net/
Dmac80211.h3459 struct ieee80211_vif_chanctx_switch *vifs,
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dmain.c4837 struct ieee80211_vif_chanctx_switch *vifs, in wlcore_op_switch_vif_chanctx() argument
4855 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); in wlcore_op_switch_vif_chanctx()
4857 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx); in wlcore_op_switch_vif_chanctx()