Lines Matching refs:an

150 	if (!tid->an->sta)
153 ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno,
180 ath_get_skb_tid(struct ath_softc *sc, struct ath_node *an, struct sk_buff *skb)
183 return ATH_AN_2_TID(an, tidno);
190 struct ath_softc *sc = tid->an->sc;
194 .sta = tid->an->sta,
445 struct ath_node *an = NULL;
486 an = (struct ath_node *)sta->drv_priv;
551 if (txok || !an->sleeping)
631 if (an->sleeping)
635 if (!an->sleeping) {
706 struct ath_node *an = (struct ath_node *)sta->drv_priv;
707 tid = ath_get_skb_tid(sc, an, bf->bf_mpdu);
813 if (tid->an->maxampdu)
814 aggr_limit = min(aggr_limit, tid->an->maxampdu);
865 if (tid->an->mpdudensity == 0)
874 nsymbols = NUM_SYMBOLS_PER_USEC_HALFGI(tid->an->mpdudensity);
876 nsymbols = NUM_SYMBOLS_PER_USEC(tid->an->mpdudensity);
1469 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1496 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1505 if (tid->clear_ps_filter || tid->an->no_ps_filter) {
1521 struct ath_node *an;
1526 an = (struct ath_node *)sta->drv_priv;
1527 txtid = ATH_AN_2_TID(an, tid);
1537 an->maxampdu = (1 << (IEEE80211_HT_MAX_AMPDU_FACTOR +
1540 an->mpdudensity = density;
1558 struct ath_node *an = (struct ath_node *)sta->drv_priv;
1559 struct ath_atx_tid *txtid = ATH_AN_2_TID(an, tid);
1571 struct ath_node *an)
1580 tid = ath_node_to_tid(an, tidno);
1588 void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an)
1598 tid = ath_node_to_tid(an, tidno);
1635 struct ath_node *an = (struct ath_node *)sta->drv_priv;
1650 tid = ATH_AN_2_TID(an, i);
1661 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1672 if (an->sta && skb_queue_empty(&tid->retry_q))
1673 ieee80211_sta_set_buffered(an->sta, i, false);
1729 * The UAPSD queue is an exception, since we take a desc-
2081 struct ath_node *an = NULL;
2099 an = (struct ath_node *) sta->drv_priv;
2118 else if (an && ieee80211_is_data(hdr->frame_control) && an->ps_key > 0)
2119 fi->keyix = an->ps_key;
2241 txctl->an = (struct ath_node *)sta->drv_priv;
2244 txctl->an = &avp->mcast_node;
2284 struct ath_node *an = NULL;
2306 an = (struct ath_node *) sta->drv_priv;
2307 tid = ath_get_skb_tid(sc, an, skb);
2551 * If an underrun error is seen assume it as an excessive
2805 void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
2811 tid = ath_node_to_tid(an, tidno);
2812 tid->an = an;
2824 if (!an->sta)
2829 void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an)
2838 tid = ath_node_to_tid(an, tidno);
2851 if (!an->sta)