Home
last modified time | relevance | path

Searched refs:tx_resp (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c1543 struct iwl_tx_resp *tx_resp) in iwl_mvm_get_scd_ssn() argument
1545 u32 val = le32_to_cpup((__le32 *)iwl_mvm_get_agg_status(mvm, tx_resp) + in iwl_mvm_get_scd_ssn()
1546 tx_resp->frame_count); in iwl_mvm_get_scd_ssn()
1560 struct iwl_tx_resp *tx_resp = (void *)pkt->data; in iwl_mvm_rx_tx_cmd_single() local
1561 int sta_id = IWL_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_single()
1562 int tid = IWL_TX_RES_GET_TID(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_single()
1564 iwl_mvm_get_agg_status(mvm, tx_resp); in iwl_mvm_rx_tx_cmd_single()
1566 u16 ssn = iwl_mvm_get_scd_ssn(mvm, tx_resp); in iwl_mvm_rx_tx_cmd_single()
1576 txq_id = le16_to_cpu(tx_resp->tx_queue); in iwl_mvm_rx_tx_cmd_single()
1578 seq_ctl = le16_to_cpu(tx_resp->seq_ctl); in iwl_mvm_rx_tx_cmd_single()
[all …]
H A Dmvm.h1589 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) in iwl_mvm_get_agg_status() argument
1592 return &((struct iwl_tx_resp *)tx_resp)->status; in iwl_mvm_get_agg_status()
1594 return ((struct iwl_tx_resp_v3 *)tx_resp)->status; in iwl_mvm_get_agg_status()
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dtx.c1069 struct iwl_tx_resp *tx_resp = (void *)pkt->data; in iwl_mld_handle_tx_resp_notif() local
1070 int txq_id = le16_to_cpu(tx_resp->tx_queue); in iwl_mld_handle_tx_resp_notif()
1071 struct agg_tx_status *agg_status = &tx_resp->status; in iwl_mld_handle_tx_resp_notif()
1074 size_t notif_size = sizeof(*tx_resp) + sizeof(u32); in iwl_mld_handle_tx_resp_notif()
1075 int sta_id = IWL_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mld_handle_tx_resp_notif()
1076 int tid = IWL_TX_RES_GET_TID(tx_resp->ra_tid); in iwl_mld_handle_tx_resp_notif()
1085 if (IWL_FW_CHECK(mld, tx_resp->frame_count != 1, in iwl_mld_handle_tx_resp_notif()
1087 tx_resp->frame_count)) in iwl_mld_handle_tx_resp_notif()
1097 tx_resp->frame_count) & 0xFFFF; in iwl_mld_handle_tx_resp_notif()
1146 iwl_mld_hwrate_to_tx_rate(mld, tx_resp->initial_rate, info); in iwl_mld_handle_tx_resp_notif()
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm.c3443 struct iwm_tx_resp *tx_resp = (void *)pkt->data; in iwm_rx_tx_cmd_single() local
3447 int status = le16toh(tx_resp->status.status) & IWM_TX_STATUS_MSK; in iwm_rx_tx_cmd_single()
3452 KASSERT(tx_resp->frame_count == 1, ("too many frames")); in iwm_rx_tx_cmd_single()
3457 (int) le16toh(tx_resp->status.status), in iwm_rx_tx_cmd_single()
3458 (int) le16toh(tx_resp->status.sequence), in iwm_rx_tx_cmd_single()
3459 tx_resp->frame_count, in iwm_rx_tx_cmd_single()
3460 tx_resp->bt_kill_count, in iwm_rx_tx_cmd_single()
3461 tx_resp->failure_rts, in iwm_rx_tx_cmd_single()
3462 tx_resp->failure_frame, in iwm_rx_tx_cmd_single()
3463 le32toh(tx_resp->initial_rate), in iwm_rx_tx_cmd_single()
[all …]
H A Dif_iwmreg.h5298 * @tx_resp: the Tx response from the fw (agg or non-agg)
5309 static inline uint32_t iwm_get_scd_ssn(struct iwm_tx_resp *tx_resp) in iwm_get_scd_ssn()
5311 return le32_to_cpup((uint32_t *)&tx_resp->status +
5312 tx_resp->frame_count) & 0xfff;
5305 iwm_get_scd_ssn(struct iwm_tx_resp * tx_resp) iwm_get_scd_ssn() argument
/freebsd/sys/dev/iwx/
H A Dif_iwxreg.h6283 static inline uint32_t iwx_get_scd_ssn(struct iwx_tx_resp *tx_resp) in iwx_get_scd_ssn() argument
6285 return le32_to_cpup((uint32_t *)&tx_resp->status + in iwx_get_scd_ssn()
6286 tx_resp->frame_count) & 0xfff; in iwx_get_scd_ssn()
H A Dif_iwx.c4840 struct iwx_tx_resp *tx_resp = (void *)pkt->data; in iwx_rx_tx_cmd() local
4850 if (sizeof(*tx_resp) > len) in iwx_rx_tx_cmd()
4852 if (qid < IWX_FIRST_AGG_TX_QUEUE && tx_resp->frame_count > 1) in iwx_rx_tx_cmd()
4854 if (qid >= IWX_FIRST_AGG_TX_QUEUE && sizeof(*tx_resp) + sizeof(ssn) + in iwx_rx_tx_cmd()
4855 tx_resp->frame_count * sizeof(tx_resp->status) > len) in iwx_rx_tx_cmd()
4860 if (tx_resp->frame_count > 1) /* A-MPDU */ in iwx_rx_tx_cmd()
4863 status = le16toh(tx_resp->status.status) & IWX_TX_STATUS_MSK; in iwx_rx_tx_cmd()
4885 memcpy(&ssn, &tx_resp->status + tx_resp->frame_count, sizeof(ssn)); in iwx_rx_tx_cmd()