Home
last modified time | relevance | path

Searched refs:ba_res (Results 1 – 3 of 3) sorted by relevance

/src/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c2092 struct iwl_compressed_ba_notif *ba_res = in iwl_mvm_rx_ba_notif() local
2094 u8 lq_color = TX_RES_RATE_TABLE_COL_GET(ba_res->tlc_rate_info); in iwl_mvm_rx_ba_notif()
2098 if (IWL_FW_CHECK(mvm, sizeof(*ba_res) > pkt_len, in iwl_mvm_rx_ba_notif()
2102 sta_id = ba_res->sta_id; in iwl_mvm_rx_ba_notif()
2103 ba_info.status.ampdu_ack_len = (u8)le16_to_cpu(ba_res->done); in iwl_mvm_rx_ba_notif()
2104 ba_info.status.ampdu_len = (u8)le16_to_cpu(ba_res->txed); in iwl_mvm_rx_ba_notif()
2106 (u16)le32_to_cpu(ba_res->wireless_time); in iwl_mvm_rx_ba_notif()
2108 (void *)(uintptr_t)ba_res->reduced_txp; in iwl_mvm_rx_ba_notif()
2110 tfd_cnt = le16_to_cpu(ba_res->tfd_cnt); in iwl_mvm_rx_ba_notif()
2115 struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mvm_rx_ba_notif()
[all …]
/src/sys/contrib/dev/iwlwifi/mld/
H A Dtx.c1346 struct iwl_compressed_ba_notif *ba_res = (void *)pkt->data; in iwl_mld_handle_compressed_ba_notif() local
1348 u16 tfd_cnt = le16_to_cpu(ba_res->tfd_cnt); in iwl_mld_handle_compressed_ba_notif()
1349 u8 sta_id = ba_res->sta_id; in iwl_mld_handle_compressed_ba_notif()
1355 if (IWL_FW_CHECK(mld, struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mld_handle_compressed_ba_notif()
1362 sta_id, le32_to_cpu(ba_res->flags), in iwl_mld_handle_compressed_ba_notif()
1363 le16_to_cpu(ba_res->txed), in iwl_mld_handle_compressed_ba_notif()
1364 le16_to_cpu(ba_res->done)); in iwl_mld_handle_compressed_ba_notif()
1367 struct iwl_compressed_ba_tfd *ba_tfd = &ba_res->tfd[i]; in iwl_mld_handle_compressed_ba_notif()
1391 iwl_mld_count_mpdu_tx(link_sta, le16_to_cpu(ba_res->txed)); in iwl_mld_handle_compressed_ba_notif()
/src/sys/dev/iwx/
H A Dif_iwx.c4861 struct iwx_compressed_ba_notif *ba_res = (void *)pkt->data; in iwx_rx_compressed_ba() local
4873 if (iwx_rx_packet_payload_len(pkt) < sizeof(*ba_res)) in iwx_rx_compressed_ba()
4876 if (ba_res->sta_id != IWX_STATION_ID) in iwx_rx_compressed_ba()
4881 tfd_cnt = le16toh(ba_res->tfd_cnt); in iwx_rx_compressed_ba()
4882 ra_tid_cnt = le16toh(ba_res->ra_tid_cnt); in iwx_rx_compressed_ba()
4883 if (!tfd_cnt || iwx_rx_packet_payload_len(pkt) < (sizeof(*ba_res) + in iwx_rx_compressed_ba()
4884 sizeof(ba_res->ra_tid[0]) * ra_tid_cnt + in iwx_rx_compressed_ba()
4885 sizeof(ba_res->tfd[0]) * tfd_cnt)) in iwx_rx_compressed_ba()
4889 struct iwx_compressed_ba_tfd *ba_tfd = &ba_res->tfd[i]; in iwx_rx_compressed_ba()