Lines Matching refs:tx_resp

911 static inline u32 iwlagn_get_scd_ssn(struct iwlagn_tx_resp *tx_resp)  in iwlagn_get_scd_ssn()  argument
913 return le32_to_cpup((__le32 *)&tx_resp->status + in iwlagn_get_scd_ssn()
914 tx_resp->frame_count) & IEEE80211_MAX_SN; in iwlagn_get_scd_ssn()
918 struct iwlagn_tx_resp *tx_resp) in iwl_rx_reply_tx_agg() argument
920 struct agg_tx_status *frame_status = &tx_resp->status; in iwl_rx_reply_tx_agg()
921 int tid = (tx_resp->ra_tid & IWLAGN_TX_RES_TID_MSK) >> in iwl_rx_reply_tx_agg()
923 int sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> in iwl_rx_reply_tx_agg()
926 u32 status = le16_to_cpu(tx_resp->status.status); in iwl_rx_reply_tx_agg()
935 agg->rate_n_flags = le32_to_cpu(tx_resp->rate_n_flags); in iwl_rx_reply_tx_agg()
936 agg->wait_for_ba = (tx_resp->frame_count > 1); in iwl_rx_reply_tx_agg()
942 if (tx_resp->bt_kill_count && tx_resp->frame_count == 1 && in iwl_rx_reply_tx_agg()
948 if (tx_resp->frame_count == 1) in iwl_rx_reply_tx_agg()
953 le32_to_cpu(tx_resp->rate_n_flags), in iwl_rx_reply_tx_agg()
954 iwlagn_get_scd_ssn(tx_resp), tx_resp->frame_count); in iwl_rx_reply_tx_agg()
957 for (i = 0; i < tx_resp->frame_count; i++) { in iwl_rx_reply_tx_agg()
1084 struct iwlagn_tx_resp *tx_resp) in iwlagn_set_tx_status() argument
1086 u16 status = le16_to_cpu(tx_resp->status.status); in iwlagn_set_tx_status()
1090 info->status.rates[0].count = tx_resp->failure_frame + 1; in iwlagn_set_tx_status()
1092 iwlagn_hwrate_to_tx_control(priv, le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_set_tx_status()
1114 struct iwlagn_tx_resp *tx_resp = (void *)pkt->data; in iwlagn_rx_reply_tx() local
1116 u32 status = le16_to_cpu(tx_resp->status.status); in iwlagn_rx_reply_tx()
1117 u16 ssn = iwlagn_get_scd_ssn(tx_resp); in iwlagn_rx_reply_tx()
1127 tid = (tx_resp->ra_tid & IWLAGN_TX_RES_TID_MSK) >> in iwlagn_rx_reply_tx()
1129 sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> in iwlagn_rx_reply_tx()
1140 iwl_rx_reply_tx_agg(priv, tx_resp); in iwlagn_rx_reply_tx()
1145 if (tx_resp->frame_count == 1) { in iwlagn_rx_reply_tx()
1146 u16 next_reclaimed = le16_to_cpu(tx_resp->seq_ctl); in iwlagn_rx_reply_tx()
1181 priv->last_seq_ctl = tx_resp->seq_ctl; in iwlagn_rx_reply_tx()
1205 le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_rx_reply_tx()
1206 tx_resp->failure_frame); in iwlagn_rx_reply_tx()
1210 tx_resp->frame_count, cmd_index); in iwlagn_rx_reply_tx()
1217 tx_resp); in iwlagn_rx_reply_tx()
1239 le32_to_cpu(tx_resp->rate_n_flags), in iwlagn_rx_reply_tx()
1240 tx_resp->failure_frame, in iwlagn_rx_reply_tx()
1242 le16_to_cpu(tx_resp->seq_ctl)); in iwlagn_rx_reply_tx()
1245 iwl_check_abort_status(priv, tx_resp->frame_count, status); in iwlagn_rx_reply_tx()