Lines Matching refs:tx_resp
916 static inline u32 iwlagn_get_scd_ssn(struct iwlagn_tx_resp *tx_resp) in iwlagn_get_scd_ssn() argument
918 return le32_to_cpup((__le32 *)&tx_resp->status + in iwlagn_get_scd_ssn()
919 tx_resp->frame_count) & IEEE80211_MAX_SN; in iwlagn_get_scd_ssn()
923 struct iwlagn_tx_resp *tx_resp) in iwl_rx_reply_tx_agg() argument
925 struct agg_tx_status *frame_status = &tx_resp->status; in iwl_rx_reply_tx_agg()
926 int tid = (tx_resp->ra_tid & IWLAGN_TX_RES_TID_MSK) >> in iwl_rx_reply_tx_agg()
928 int sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> in iwl_rx_reply_tx_agg()
931 u32 status = le16_to_cpu(tx_resp->status.status); in iwl_rx_reply_tx_agg()
940 agg->rate_n_flags = le32_to_cpu(tx_resp->rate_n_flags); in iwl_rx_reply_tx_agg()
941 agg->wait_for_ba = (tx_resp->frame_count > 1); in iwl_rx_reply_tx_agg()
947 if (tx_resp->bt_kill_count && tx_resp->frame_count == 1 && in iwl_rx_reply_tx_agg()
953 if (tx_resp->frame_count == 1) in iwl_rx_reply_tx_agg()
958 le32_to_cpu(tx_resp->rate_n_flags), in iwl_rx_reply_tx_agg()
959 iwlagn_get_scd_ssn(tx_resp), tx_resp->frame_count); in iwl_rx_reply_tx_agg()
962 for (i = 0; i < tx_resp->frame_count; i++) { in iwl_rx_reply_tx_agg()
1089 struct iwlagn_tx_resp *tx_resp) in iwlagn_set_tx_status() argument
1091 u16 status = le16_to_cpu(tx_resp->status.status); in iwlagn_set_tx_status()
1095 info->status.rates[0].count = tx_resp->failure_frame + 1; in iwlagn_set_tx_status()
1097 iwlagn_hwrate_to_tx_control(priv, le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_set_tx_status()
1119 struct iwlagn_tx_resp *tx_resp = (void *)pkt->data; in iwlagn_rx_reply_tx() local
1121 u32 status = le16_to_cpu(tx_resp->status.status); in iwlagn_rx_reply_tx()
1122 u16 ssn = iwlagn_get_scd_ssn(tx_resp); in iwlagn_rx_reply_tx()
1132 tid = (tx_resp->ra_tid & IWLAGN_TX_RES_TID_MSK) >> in iwlagn_rx_reply_tx()
1134 sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> in iwlagn_rx_reply_tx()
1145 iwl_rx_reply_tx_agg(priv, tx_resp); in iwlagn_rx_reply_tx()
1150 if (tx_resp->frame_count == 1) { in iwlagn_rx_reply_tx()
1151 u16 next_reclaimed = le16_to_cpu(tx_resp->seq_ctl); in iwlagn_rx_reply_tx()
1186 priv->last_seq_ctl = tx_resp->seq_ctl; in iwlagn_rx_reply_tx()
1210 le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_rx_reply_tx()
1211 tx_resp->failure_frame); in iwlagn_rx_reply_tx()
1215 tx_resp->frame_count, cmd_index); in iwlagn_rx_reply_tx()
1222 tx_resp); in iwlagn_rx_reply_tx()
1244 le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_rx_reply_tx()
1245 tx_resp->failure_frame, in iwlagn_rx_reply_tx()
1247 le16_to_cpu(tx_resp->seq_ctl)); in iwlagn_rx_reply_tx()
1250 iwl_check_abort_status(priv, tx_resp->frame_count, status); in iwlagn_rx_reply_tx()