43 priv->
wdev->wiphy->bands[radio_type];
45 ht_cap->
ht_cap.ampdu_params_info =
46 (sband->
ht_cap.ampdu_factor &
48 ((sband->
ht_cap.ampdu_density <<
53 sizeof(sband->
ht_cap.mcs));
80 if (tx_ba_tsr_tbl->
ba_status == ba_status) {
290 if (!buffer || !*buffer)
294 sband = priv->
wdev->wiphy->bands[radio_type];
423 tx_buf =
min(priv->
adapter->max_tx_buf_size, max_amsdu);
425 dev_dbg(priv->
adapter->dev,
"info: max_amsdu=%d, max_tx_buf=%d\n",
426 max_amsdu, priv->
adapter->max_tx_buf_size);
434 if (curr_tx_buf_size != tx_buf)
443 static int mwifiex_is_tx_ba_stream_ptr_valid(
struct mwifiex_private *priv,
449 if (tx_ba_tsr_tbl == tx_tbl_ptr)
465 if (!tx_ba_tsr_tbl &&
466 mwifiex_is_tx_ba_stream_ptr_valid(priv, tx_ba_tsr_tbl))
469 dev_dbg(priv->
adapter->dev,
"info: tx_ba_tsr_tbl %p\n", tx_ba_tsr_tbl);
473 kfree(tx_ba_tsr_tbl);
511 tx_ba_tsr_tbl->
tid == tid) {
514 return tx_ba_tsr_tbl;
536 "%s: failed to alloc new_node\n", __func__);
540 INIT_LIST_HEAD(&new_node->
list);
558 static u8 dialog_tok;
595 memset(&delba, 0,
sizeof(delba));
644 rx_reo_tbl->
tid = (
u16) rx_reorder_tbl_ptr->
tid;
648 for (i = 0; i < rx_reorder_tbl_ptr->
win_size; ++
i) {
678 rx_reo_tbl->
tid = (
u16) tx_ba_tsr_tbl->
tid;
680 __func__, rx_reo_tbl->
tid);