Lines Matching defs:tid

176 	u8 tid;
1637 static int mwl8k_tid_queue_mapping(u8 tid)
1639 BUG_ON(tid > 7);
1641 switch (tid) {
1786 mwl8k_add_stream(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 tid)
1797 stream->tid = tid;
1800 sta->addr, tid);
1815 ret = ieee80211_start_tx_ba_session(stream->sta, stream->tid, 0);
1818 "%d\n", stream->sta->addr, stream->tid, ret);
1821 stream->sta->addr, stream->tid);
1829 stream->tid);
1834 mwl8k_lookup_stream(struct ieee80211_hw *hw, u8 *addr, u8 tid)
1845 stream->tid == tid)
1852 static inline bool mwl8k_ampdu_allowed(struct ieee80211_sta *sta, u8 tid)
1857 BUG_ON(tid >= MWL8K_MAX_TID);
1858 tx_stats = &sta_info->tx_stats[tid];
1864 static inline void mwl8k_tx_count_packet(struct ieee80211_sta *sta, u8 tid)
1869 BUG_ON(tid >= MWL8K_MAX_TID);
1870 tx_stats = &sta_info->tx_stats[tid];
1910 u8 tid = 0;
1966 * particular ra/tid pair. However, packets piled up in the hardware
1967 * for that ra/tid pair will still go out. ADDBA request and the
1978 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
1979 index = mwl8k_tid_queue_mapping(tid);
1986 tid = qos & 0xf;
1987 mwl8k_tx_count_packet(sta, tid);
1989 stream = mwl8k_lookup_stream(hw, sta->addr, tid);
2033 if (mwl8k_ampdu_allowed(sta, tid)) {
2034 stream = mwl8k_add_stream(hw, sta, tid);
3841 streams->tid);
3944 u8 tid;
3986 cmd->create_params.tid = stream->tid;
4021 cmd->create_params.tid = stream->tid;
4037 wiphy_debug(hw->wiphy, "Created a BA stream for %pM : tid %d\n",
4038 stream->sta->addr, stream->tid);
5442 u16 tid = params->tid;
5455 stream = mwl8k_lookup_stream(hw, addr, tid);
5480 stream = mwl8k_add_stream(hw, sta, tid);
5518 wiphy_err(hw->wiphy, "Stream for tid %d busy after %d"
5519 " attempts\n", tid, MAX_AMPDU_ATTEMPTS);
5538 ieee80211_stop_tx_ba_cb_irqsafe(vif, addr, tid);
5554 "Failed adding stream for sta %pM tid %d\n",
5555 addr, tid);