Lines Matching refs:an
156 if (!tid->an->sta)
159 ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno,
227 ath_get_skb_tid(struct ath_softc *sc, struct ath_node *an, struct sk_buff *skb)
230 return ATH_AN_2_TID(an, tidno);
237 struct ath_softc *sc = tid->an->sc;
241 .sta = tid->an->sta,
494 struct ath_node *an = NULL;
535 an = (struct ath_node *)sta->drv_priv;
600 if (txok || !an->sleeping)
680 if (an->sleeping)
684 if (!an->sleeping) {
755 struct ath_node *an = (struct ath_node *)sta->drv_priv;
756 tid = ath_get_skb_tid(sc, an, bf->bf_mpdu);
862 if (tid->an->maxampdu)
863 aggr_limit = min(aggr_limit, tid->an->maxampdu);
914 if (tid->an->mpdudensity == 0)
923 nsymbols = NUM_SYMBOLS_PER_USEC_HALFGI(tid->an->mpdudensity);
925 nsymbols = NUM_SYMBOLS_PER_USEC(tid->an->mpdudensity);
1530 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1557 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1566 if (tid->clear_ps_filter || tid->an->no_ps_filter) {
1582 struct ath_node *an;
1587 an = (struct ath_node *)sta->drv_priv;
1588 txtid = ATH_AN_2_TID(an, tid);
1598 an->maxampdu = (1 << (IEEE80211_HT_MAX_AMPDU_FACTOR +
1601 an->mpdudensity = density;
1619 struct ath_node *an = (struct ath_node *)sta->drv_priv;
1620 struct ath_atx_tid *txtid = ATH_AN_2_TID(an, tid);
1632 struct ath_node *an)
1641 tid = ath_node_to_tid(an, tidno);
1649 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an)
1659 tid = ath_node_to_tid(an, tidno);
1696 struct ath_node *an = (struct ath_node *)sta->drv_priv;
1710 tid = ATH_AN_2_TID(an, i);
1721 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1731 if (an->sta && skb_queue_empty(&tid->retry_q))
1732 ieee80211_sta_set_buffered(an->sta, i, false);
1788 * The UAPSD queue is an exception, since we take a desc-
2140 struct ath_node *an = NULL;
2158 an = (struct ath_node *) sta->drv_priv;
2177 else if (an && ieee80211_is_data(hdr->frame_control) && an->ps_key > 0)
2178 fi->keyix = an->ps_key;
2300 txctl->an = (struct ath_node *)sta->drv_priv;
2303 txctl->an = &avp->mcast_node;
2343 struct ath_node *an = NULL;
2365 an = (struct ath_node *) sta->drv_priv;
2366 tid = ath_get_skb_tid(sc, an, skb);
2610 * If an underrun error is seen assume it as an excessive
2864 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
2870 tid = ath_node_to_tid(an, tidno);
2871 tid->an = an;
2883 if (!an->sta)
2888 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an)
2897 tid = ath_node_to_tid(an, tidno);
2910 if (!an->sta)