Lines Matching refs:tx_resp
934 static inline u32 iwlagn_get_scd_ssn(struct iwlagn_tx_resp *tx_resp) in iwlagn_get_scd_ssn() argument
936 return le32_to_cpup((__le32 *)&tx_resp->status + in iwlagn_get_scd_ssn()
937 tx_resp->frame_count) & IEEE80211_MAX_SN; in iwlagn_get_scd_ssn()
941 struct iwlagn_tx_resp *tx_resp) in iwl_rx_reply_tx_agg() argument
943 struct agg_tx_status *frame_status = &tx_resp->status; in iwl_rx_reply_tx_agg()
944 int tid = (tx_resp->ra_tid & IWLAGN_TX_RES_TID_MSK) >> in iwl_rx_reply_tx_agg()
946 int sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> in iwl_rx_reply_tx_agg()
949 u32 status = le16_to_cpu(tx_resp->status.status); in iwl_rx_reply_tx_agg()
958 agg->rate_n_flags = le32_to_cpu(tx_resp->rate_n_flags); in iwl_rx_reply_tx_agg()
959 agg->wait_for_ba = (tx_resp->frame_count > 1); in iwl_rx_reply_tx_agg()
965 if (tx_resp->bt_kill_count && tx_resp->frame_count == 1 && in iwl_rx_reply_tx_agg()
971 if (tx_resp->frame_count == 1) in iwl_rx_reply_tx_agg()
976 le32_to_cpu(tx_resp->rate_n_flags), in iwl_rx_reply_tx_agg()
977 iwlagn_get_scd_ssn(tx_resp), tx_resp->frame_count); in iwl_rx_reply_tx_agg()
980 for (i = 0; i < tx_resp->frame_count; i++) { in iwl_rx_reply_tx_agg()
1107 struct iwlagn_tx_resp *tx_resp) in iwlagn_set_tx_status() argument
1109 u16 status = le16_to_cpu(tx_resp->status.status); in iwlagn_set_tx_status()
1113 info->status.rates[0].count = tx_resp->failure_frame + 1; in iwlagn_set_tx_status()
1115 iwlagn_hwrate_to_tx_control(priv, le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_set_tx_status()
1137 struct iwlagn_tx_resp *tx_resp = (void *)pkt->data; in iwlagn_rx_reply_tx() local
1139 u32 status = le16_to_cpu(tx_resp->status.status); in iwlagn_rx_reply_tx()
1140 u16 ssn = iwlagn_get_scd_ssn(tx_resp); in iwlagn_rx_reply_tx()
1150 tid = (tx_resp->ra_tid & IWLAGN_TX_RES_TID_MSK) >> in iwlagn_rx_reply_tx()
1152 sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> in iwlagn_rx_reply_tx()
1163 iwl_rx_reply_tx_agg(priv, tx_resp); in iwlagn_rx_reply_tx()
1168 if (tx_resp->frame_count == 1) { in iwlagn_rx_reply_tx()
1169 u16 next_reclaimed = le16_to_cpu(tx_resp->seq_ctl); in iwlagn_rx_reply_tx()
1204 priv->last_seq_ctl = tx_resp->seq_ctl; in iwlagn_rx_reply_tx()
1228 le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_rx_reply_tx()
1229 tx_resp->failure_frame); in iwlagn_rx_reply_tx()
1233 tx_resp->frame_count, cmd_index); in iwlagn_rx_reply_tx()
1240 tx_resp); in iwlagn_rx_reply_tx()
1262 le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_rx_reply_tx()
1263 tx_resp->failure_frame, in iwlagn_rx_reply_tx()
1265 le16_to_cpu(tx_resp->seq_ctl)); in iwlagn_rx_reply_tx()
1268 iwl_check_abort_status(priv, tx_resp->frame_count, status); in iwlagn_rx_reply_tx()