Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dpower.c617 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument
633 if (vifs->bss_vif) in iwl_mvm_power_set_pm()
634 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm()
636 if (vifs->p2p_vif) in iwl_mvm_power_set_pm()
637 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm()
639 if (vifs->ap_vif) in iwl_mvm_power_set_pm()
640 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm()
647 if (vifs->bss_active && !vifs->p2p_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
653 if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { in iwl_mvm_power_set_pm()
659 if (vifs->bss_active && vifs->p2p_active) in iwl_mvm_power_set_pm()
[all …]
Dmac80211.c3506 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_swap() argument
3511 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap()
3512 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3514 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3520 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3535 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap()
3538 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap()
3543 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap()
3563 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_reassign() argument
3568 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign()
[all …]
/linux-4.1.27/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()
685 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action()
824 ieee80211_cqm_rssi_notify(adapter->vifs[0], event, GFP_KERNEL); in rsi_perform_cqm()
844 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.1.27/net/mac80211/
Ddriver-ops.h1095 struct ieee80211_vif_chanctx_switch *vifs, in drv_switch_vif_chanctx() argument
1107 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
1111 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
1122 trace_drv_switch_vif_chanctx(local, vifs, n_vifs, mode); in drv_switch_vif_chanctx()
1124 vifs, n_vifs, mode); in drv_switch_vif_chanctx()
1130 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx()
1134 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
Dtrace.h1433 #define SWITCH_ENTRY_ASSIGN(to, from) local_vifs[i].to = vifs[i].from
1438 struct ieee80211_vif_chanctx_switch *vifs,
1440 TP_ARGS(local, vifs, n_vifs, mode),
1446 __dynamic_array(u8, vifs,
1456 __get_dynamic_array(vifs);
1462 sdata = container_of(vifs[i].vif,
/linux-4.1.27/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()
1122 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame()
1316 INIT_LIST_HEAD(&ctx->vifs); in ath9k_offchannel_init()
Dmain.c970 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask()
1002 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data()
1255 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface()
2459 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
Dath9k.h335 struct list_head vifs; member
Ddebug.c735 if (list_empty(&ctx->vifs)) in read_file_misc()
/linux-4.1.27/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()
1823 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.1.27/include/net/
Dmac80211.h3349 struct ieee80211_vif_chanctx_switch *vifs,
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dmain.c4800 struct ieee80211_vif_chanctx_switch *vifs, in wlcore_op_switch_vif_chanctx() argument
4818 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); in wlcore_op_switch_vif_chanctx()
4820 ret = __wlcore_switch_vif_chan(wl, wlvif, vifs[i].new_ctx); in wlcore_op_switch_vif_chanctx()