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.c1580 struct iwl_tx_resp *tx_resp) in iwl_mvm_get_scd_ssn() argument
1582 u32 val = le32_to_cpup((__le32 *)iwl_mvm_get_agg_status(mvm, tx_resp) + in iwl_mvm_get_scd_ssn()
1583 tx_resp->frame_count); in iwl_mvm_get_scd_ssn()
1597 struct iwl_tx_resp *tx_resp = (void *)pkt->data; in iwl_mvm_rx_tx_cmd_single() local
1598 int sta_id = IWL_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_single()
1599 int tid = IWL_TX_RES_GET_TID(tx_resp->ra_tid); in iwl_mvm_rx_tx_cmd_single()
1601 iwl_mvm_get_agg_status(mvm, tx_resp); in iwl_mvm_rx_tx_cmd_single()
1603 u16 ssn = iwl_mvm_get_scd_ssn(mvm, tx_resp); in iwl_mvm_rx_tx_cmd_single()
1613 txq_id = le16_to_cpu(tx_resp->tx_queue); in iwl_mvm_rx_tx_cmd_single()
1615 seq_ctl = le16_to_cpu(tx_resp->seq_ctl); in iwl_mvm_rx_tx_cmd_single()
[all …]
H A Dmvm.h1692 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) in iwl_mvm_get_agg_status() argument
1695 return &((struct iwl_tx_resp *)tx_resp)->status; in iwl_mvm_get_agg_status()
1697 return ((struct iwl_tx_resp_v3 *)tx_resp)->status; in iwl_mvm_get_agg_status()
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dtx.c1058 struct iwl_tx_resp *tx_resp = (void *)pkt->data; in iwl_mld_handle_tx_resp_notif() local
1059 int txq_id = le16_to_cpu(tx_resp->tx_queue); in iwl_mld_handle_tx_resp_notif()
1060 struct agg_tx_status *agg_status = &tx_resp->status; in iwl_mld_handle_tx_resp_notif()
1063 size_t notif_size = sizeof(*tx_resp) + sizeof(u32); in iwl_mld_handle_tx_resp_notif()
1064 int sta_id = IWL_TX_RES_GET_RA(tx_resp->ra_tid); in iwl_mld_handle_tx_resp_notif()
1065 int tid = IWL_TX_RES_GET_TID(tx_resp->ra_tid); in iwl_mld_handle_tx_resp_notif()
1074 if (IWL_FW_CHECK(mld, tx_resp->frame_count != 1, in iwl_mld_handle_tx_resp_notif()
1076 tx_resp->frame_count)) in iwl_mld_handle_tx_resp_notif()
1086 tx_resp->frame_count) & 0xFFFF; in iwl_mld_handle_tx_resp_notif()
1135 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.c4786 struct iwx_tx_resp *tx_resp = (void *)pkt->data; in iwx_rx_tx_cmd() local
4796 if (sizeof(*tx_resp) > len) in iwx_rx_tx_cmd()
4798 if (qid < IWX_FIRST_AGG_TX_QUEUE && tx_resp->frame_count > 1) in iwx_rx_tx_cmd()
4800 if (qid >= IWX_FIRST_AGG_TX_QUEUE && sizeof(*tx_resp) + sizeof(ssn) + in iwx_rx_tx_cmd()
4801 tx_resp->frame_count * sizeof(tx_resp->status) > len) in iwx_rx_tx_cmd()
4806 if (tx_resp->frame_count > 1) /* A-MPDU */ in iwx_rx_tx_cmd()
4809 status = le16toh(tx_resp->status.status) & IWX_TX_STATUS_MSK; in iwx_rx_tx_cmd()
4831 memcpy(&ssn, &tx_resp->status + tx_resp in iwx_rx_tx_cmd()
[all...]