Lines Matching full:avp
1537 struct ath_vap *avp; in ath_vap_create() local
1543 avp = malloc(sizeof(struct ath_vap), M_80211_VAP, M_WAITOK | M_ZERO); in ath_vap_create()
1640 vap = &avp->av_vap; in ath_vap_create()
1659 avp->av_recv_mgmt = vap->iv_recv_mgmt; in ath_vap_create()
1663 avp->av_newstate = vap->iv_newstate; in ath_vap_create()
1665 avp->av_bmiss = vap->iv_bmiss; in ath_vap_create()
1668 avp->av_node_ps = vap->iv_node_ps; in ath_vap_create()
1671 avp->av_set_tim = vap->iv_set_tim; in ath_vap_create()
1674 avp->av_recv_pspoll = vap->iv_recv_pspoll; in ath_vap_create()
1693 avp->av_bslot = -1; in ath_vap_create()
1700 avp->av_bcbuf = TAILQ_FIRST(&sc->sc_bbuf); in ath_vap_create()
1701 TAILQ_REMOVE(&sc->sc_bbuf, avp->av_bcbuf, bf_list); in ath_vap_create()
1707 avp->av_bslot = assign_bslot(sc); in ath_vap_create()
1708 KASSERT(sc->sc_bslot[avp->av_bslot] == NULL, in ath_vap_create()
1709 ("beacon slot %u not empty", avp->av_bslot)); in ath_vap_create()
1710 sc->sc_bslot[avp->av_bslot] = vap; in ath_vap_create()
1721 ath_txq_init(sc, &avp->av_mcastq, ATH_TXQ_SWQ); in ath_vap_create()
1785 free(avp, M_80211_VAP); in ath_vap_create()
1796 struct ath_vap *avp = ATH_VAP(vap); in ath_vap_delete() local
1845 if (avp->av_bcbuf != NULL) { in ath_vap_delete()
1846 if (avp->av_bslot != -1) { in ath_vap_delete()
1847 sc->sc_bslot[avp->av_bslot] = NULL; in ath_vap_delete()
1850 ath_beacon_return(sc, avp->av_bcbuf); in ath_vap_delete()
1851 avp->av_bcbuf = NULL; in ath_vap_delete()
1860 ath_tx_draintxq(sc, &avp->av_mcastq); in ath_vap_delete()
1886 free(avp, M_80211_VAP); in ath_vap_delete()
2585 struct ath_vap *avp; in ath_vap_clear_quiet_ie() local
2588 avp = ATH_VAP(vap); in ath_vap_clear_quiet_ie()
2590 memset(&avp->quiet_ie, 0, sizeof(avp->quiet_ie)); in ath_vap_clear_quiet_ie()
5677 struct ath_vap *avp = ATH_VAP(vap); in ath_set_quiet_ie() local
5690 memset(&avp->quiet_ie, 0, sizeof(avp->quiet_ie)); in ath_set_quiet_ie()
5707 if ((q->period == avp->quiet_ie.period) && in ath_set_quiet_ie()
5708 (le16dec(&q->duration) == le16dec(&avp->quiet_ie.duration)) && in ath_set_quiet_ie()
5709 (le16dec(&q->offset) == le16dec(&avp->quiet_ie.offset))) in ath_set_quiet_ie()
5770 memcpy(&avp->quiet_ie, ie, sizeof(struct ieee80211_quiet_ie)); in ath_set_quiet_ie()
5822 struct ath_vap *avp = ATH_VAP(vap); in ath_newstate() local
5935 error = avp->av_newstate(vap, nstate, arg); in ath_newstate()
6091 memset(&avp->quiet_ie, 0, sizeof(avp->quiet_ie)); in ath_newstate()
6158 memset(&avp->quiet_ie, 0, sizeof(avp->quiet_ie)); in ath_newstate()
6227 memset(&avp->quiet_ie, 0, sizeof(avp->quiet_ie)); in ath_newstate()
6719 struct ath_vap *avp = ATH_VAP(ni->ni_vap); in ath_node_powersave() local
6736 avp->av_node_ps(ni, enable); in ath_node_powersave()
6738 struct ath_vap *avp = ATH_VAP(ni->ni_vap); in ath_node_powersave()
6741 avp->av_node_ps(ni, enable); in ath_node_powersave()
6771 * just wraps the driver state change and this call to avp->av_set_tim().
6787 struct ath_vap *avp = ATH_VAP(ni->ni_vap); in ath_node_set_tim() local
6795 * even if avp->av_set_tim is unset. in ath_node_set_tim()
6800 if (avp->av_set_tim == NULL) { in ath_node_set_tim()
6836 changed = avp->av_set_tim(ni, enable); in ath_node_set_tim()
6847 changed = avp->av_set_tim(ni, enable); in ath_node_set_tim()
6860 changed = avp->av_set_tim(ni, enable); in ath_node_set_tim()
6879 struct ath_vap *avp = ATH_VAP(ni->ni_vap); in ath_node_set_tim()
6885 if (avp->av_set_tim == NULL) in ath_node_set_tim()
6888 return (avp->av_set_tim(ni, enable)); in ath_node_set_tim()
6919 struct ath_vap *avp; in ath_tx_update_tim() local
6926 avp = ATH_VAP(ni->ni_vap); in ath_tx_update_tim()
6932 if (avp->av_set_tim == NULL) in ath_tx_update_tim()
6947 (void) avp->av_set_tim(ni, 1); in ath_tx_update_tim()
6967 (void) avp->av_set_tim(ni, 0); in ath_tx_update_tim()
6988 struct ath_vap *avp; in ath_node_recv_pspoll() local
7007 avp = ATH_VAP(ni->ni_vap); in ath_node_recv_pspoll()
7048 avp->av_recv_pspoll(ni, m); in ath_node_recv_pspoll()
7073 avp->av_recv_pspoll(ni, m); in ath_node_recv_pspoll()
7115 avp->av_recv_pspoll(ni, m); in ath_node_recv_pspoll()
7117 avp->av_recv_pspoll(ni, m); in ath_node_recv_pspoll()