Lines Matching refs:sta

60 			    struct ieee80211_sta *sta);
63 struct ieee80211_sta *sta,
93 struct ieee80211_sta *sta = info->status.status_driver_data[0];
101 if (sta)
102 ieee80211_tx_status_noskb(hw, sta, info);
138 queue->sta ? queue->sta->addr : queue->vif->addr,
156 if (!tid->an->sta)
159 ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno,
163 static bool ath_merge_ratetbl(struct ieee80211_sta *sta, struct ath_buf *bf,
169 if (!sta)
172 ratetbl = rcu_dereference(sta->rates);
199 static void ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta,
206 if (!ath_merge_ratetbl(sta, bf, tx_info))
207 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates,
241 .sta = tid->an->sta,
489 struct ieee80211_sta *sta,
519 if (!sta) {
534 an = (struct ath_node *)sta->drv_priv;
633 ts, sta);
636 ath_tx_complete_buf(sc, bf, txq, &bf_head, sta, ts,
641 ieee80211_sta_eosp(sta);
680 ieee80211_sta_set_buffered(sta, tid->tidno, true);
712 struct ieee80211_sta *sta,
726 ieee80211_sta_register_airtime(sta, tid, airtime, 0);
735 struct ieee80211_sta *sta;
752 sta = ieee80211_find_sta_by_ifaddr(hw, hdr->addr1, hdr->addr2);
753 if (sta) {
754 struct ath_node *an = (struct ath_node *)sta->drv_priv;
756 ath_tx_count_airtime(sc, sta, bf, ts, tid->tidno);
768 sta);
770 ath_tx_complete_buf(sc, bf, txq, bf_head, sta, ts, txok);
772 ath_tx_complete_aggr(sc, txq, bf, bf_head, sta, tid, ts, txok);
1529 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1556 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1575 int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta,
1586 an = (struct ath_node *)sta->drv_priv;
1596 if (sta->deflink.ht_cap.ht_supported) {
1598 sta->deflink.ht_cap.ampdu_factor)) - 1;
1599 density = ath9k_parse_mpdudensity(sta->deflink.ht_cap.ampdu_density);
1615 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid)
1618 struct ath_node *an = (struct ath_node *)sta->drv_priv;
1630 void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
1643 ieee80211_sta_set_buffered(sta, tid->tidno, true);
1695 struct ieee80211_sta *sta,
1701 struct ath_node *an = (struct ath_node *)sta->drv_priv;
1726 ath_set_rates(tid->an->vif, tid->an->sta, bf);
1736 if (an->sta && skb_queue_empty(&tid->retry_q))
1737 ieee80211_sta_set_buffered(an->sta, i, false);
2136 struct ieee80211_sta *sta,
2162 if (sta)
2163 an = (struct ath_node *) sta->drv_priv;
2186 fi->dyn_smps = sta && sta->deflink.smps_mode == IEEE80211_SMPS_DYNAMIC;
2296 struct ieee80211_sta *sta = txctl->sta;
2303 /* NOTE: sta can be NULL according to net/mac80211.h */
2304 if (sta)
2305 txctl->an = (struct ath_node *)sta->drv_priv;
2332 setup_frame_info(hw, sta, skb, frmlen);
2342 struct ieee80211_sta *sta = txctl->sta;
2360 * At this point, the vif, hw_key and sta pointers in the tx control
2369 if (txctl->sta) {
2370 an = (struct ath_node *) sta->drv_priv;
2395 ath_set_rates(vif, sta, bf);
2472 struct ieee80211_sta *sta)
2518 tx_info->status.status_driver_data[0] = sta;
2524 struct ieee80211_sta *sta,
2552 ath_tx_complete(sc, skb, tx_flags, txq, sta);
2888 if (!an->sta)
2915 if (!an->sta)