Lines Matching defs:tid
176 u8 tid;
1641 static int mwl8k_tid_queue_mapping(u8 tid)
1643 BUG_ON(tid > 7);
1645 switch (tid) {
1790 mwl8k_add_stream(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 tid)
1801 stream->tid = tid;
1804 sta->addr, tid);
1819 ret = ieee80211_start_tx_ba_session(stream->sta, stream->tid, 0);
1822 "%d\n", stream->sta->addr, stream->tid, ret);
1825 stream->sta->addr, stream->tid);
1833 stream->tid);
1838 mwl8k_lookup_stream(struct ieee80211_hw *hw, u8 *addr, u8 tid)
1849 stream->tid == tid)
1856 static inline bool mwl8k_ampdu_allowed(struct ieee80211_sta *sta, u8 tid)
1861 BUG_ON(tid >= MWL8K_MAX_TID);
1862 tx_stats = &sta_info->tx_stats[tid];
1868 static inline void mwl8k_tx_count_packet(struct ieee80211_sta *sta, u8 tid)
1873 BUG_ON(tid >= MWL8K_MAX_TID);
1874 tx_stats = &sta_info->tx_stats[tid];
1914 u8 tid = 0;
1970 * particular ra/tid pair. However, packets piled up in the hardware
1971 * for that ra/tid pair will still go out. ADDBA request and the
1982 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
1983 index = mwl8k_tid_queue_mapping(tid);
1990 tid = qos & 0xf;
1991 mwl8k_tx_count_packet(sta, tid);
1993 stream = mwl8k_lookup_stream(hw, sta->addr, tid);
2037 if (mwl8k_ampdu_allowed(sta, tid)) {
2038 stream = mwl8k_add_stream(hw, sta, tid);
3845 streams->tid);
3948 u8 tid;
3990 cmd->create_params.tid = stream->tid;
4025 cmd->create_params.tid = stream->tid;
4041 wiphy_debug(hw->wiphy, "Created a BA stream for %pM : tid %d\n",
4042 stream->sta->addr, stream->tid);
5449 u16 tid = params->tid;
5462 stream = mwl8k_lookup_stream(hw, addr, tid);
5487 stream = mwl8k_add_stream(hw, sta, tid);
5525 wiphy_err(hw->wiphy, "Stream for tid %d busy after %d"
5526 " attempts\n", tid, MAX_AMPDU_ATTEMPTS);
5545 ieee80211_stop_tx_ba_cb_irqsafe(vif, addr, tid);
5561 "Failed adding stream for sta %pM tid %d\n",
5562 addr, tid);