Lines Matching refs:vif_priv
600 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv; in carl9170_op_add_interface() local
607 if (vif_priv->active) { in carl9170_op_add_interface()
612 vif_id = vif_priv->id; in carl9170_op_add_interface()
613 vif_priv->enable_beacon = false; in carl9170_op_add_interface()
616 dev_kfree_skb_any(vif_priv->beacon); in carl9170_op_add_interface()
617 vif_priv->beacon = NULL; in carl9170_op_add_interface()
671 BUG_ON(ar->vif_priv[vif_id].id != vif_id); in carl9170_op_add_interface()
673 vif_priv->active = true; in carl9170_op_add_interface()
674 vif_priv->id = vif_id; in carl9170_op_add_interface()
675 vif_priv->enable_beacon = false; in carl9170_op_add_interface()
682 list_add_rcu(&vif_priv->list, &ar->vif_list); in carl9170_op_add_interface()
687 list_add_tail_rcu(&vif_priv->list, &ar->vif_list); in carl9170_op_add_interface()
689 rcu_assign_pointer(ar->vif_priv[vif_id].vif, vif); in carl9170_op_add_interface()
695 rcu_assign_pointer(ar->beacon_iter, vif_priv); in carl9170_op_add_interface()
732 vif_priv->active = false; in carl9170_op_add_interface()
735 RCU_INIT_POINTER(ar->vif_priv[vif_id].vif, NULL); in carl9170_op_add_interface()
736 list_del_rcu(&vif_priv->list); in carl9170_op_add_interface()
752 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv; in carl9170_op_remove_interface() local
759 if (WARN_ON_ONCE(!vif_priv->active)) in carl9170_op_remove_interface()
767 id = vif_priv->id; in carl9170_op_remove_interface()
769 vif_priv->active = false; in carl9170_op_remove_interface()
770 WARN_ON(vif_priv->enable_beacon); in carl9170_op_remove_interface()
771 vif_priv->enable_beacon = false; in carl9170_op_remove_interface()
772 list_del_rcu(&vif_priv->list); in carl9170_op_remove_interface()
773 RCU_INIT_POINTER(ar->vif_priv[id].vif, NULL); in carl9170_op_remove_interface()
794 dev_kfree_skb_any(vif_priv->beacon); in carl9170_op_remove_interface()
795 vif_priv->beacon = NULL; in carl9170_op_remove_interface()
1040 struct carl9170_vif_info *vif_priv; in carl9170_op_bss_info_changed() local
1044 vif_priv = (void *) vif->drv_priv; in carl9170_op_bss_info_changed()
1053 vif_priv->enable_beacon = bss_conf->enable_beacon; in carl9170_op_bss_info_changed()
1972 ar->vif_priv[i].id = i; in carl9170_register()
1973 ar->vif_priv[i].vif = NULL; in carl9170_register()