agg 4271 drivers/infiniband/hw/hfi1/mad.c struct opa_aggregate *agg; agg 4276 drivers/infiniband/hw/hfi1/mad.c agg = (struct opa_aggregate *)next_smp; agg 4277 drivers/infiniband/hw/hfi1/mad.c agg_data_len = (be16_to_cpu(agg->err_reqlength) & 0x007f) * 8; agg 4278 drivers/infiniband/hw/hfi1/mad.c agg_size = sizeof(*agg) + agg_data_len; agg 4279 drivers/infiniband/hw/hfi1/mad.c am = be32_to_cpu(agg->attr_mod); agg 4289 drivers/infiniband/hw/hfi1/mad.c memset(next_smp + sizeof(*agg), 0, agg_data_len); agg 4291 drivers/infiniband/hw/hfi1/mad.c (void)subn_get_opa_sma(agg->attr_id, smp, am, agg->data, agg 4297 drivers/infiniband/hw/hfi1/mad.c set_aggr_error(agg); agg 4320 drivers/infiniband/hw/hfi1/mad.c struct opa_aggregate *agg; agg 4325 drivers/infiniband/hw/hfi1/mad.c agg = (struct opa_aggregate *)next_smp; agg 4326 drivers/infiniband/hw/hfi1/mad.c agg_data_len = (be16_to_cpu(agg->err_reqlength) & 0x007f) * 8; agg 4327 drivers/infiniband/hw/hfi1/mad.c agg_size = sizeof(*agg) + agg_data_len; agg 4328 drivers/infiniband/hw/hfi1/mad.c am = be32_to_cpu(agg->attr_mod); agg 4337 drivers/infiniband/hw/hfi1/mad.c (void)subn_set_opa_sma(agg->attr_id, smp, am, agg->data, agg 4344 drivers/infiniband/hw/hfi1/mad.c set_aggr_error(agg); agg 153 drivers/net/bonding/bond_3ad.c struct aggregator *agg; agg 161 drivers/net/bonding/bond_3ad.c agg = first_slave ? &(SLAVE_AD_INFO(first_slave)->aggregator) : NULL; agg 164 drivers/net/bonding/bond_3ad.c return agg; agg 174 drivers/net/bonding/bond_3ad.c static inline int __agg_has_partner(struct aggregator *agg) agg 176 drivers/net/bonding/bond_3ad.c return !is_zero_ether_addr(agg->partner_system.mac_addr_value); agg 678 drivers/net/bonding/bond_3ad.c static int __agg_active_ports(struct aggregator *agg) agg 683 drivers/net/bonding/bond_3ad.c for (port = agg->lag_ports; port; agg 1620 drivers/net/bonding/bond_3ad.c static int agg_device_up(const struct aggregator *agg) agg 1622 drivers/net/bonding/bond_3ad.c struct port *port = agg->lag_ports; agg 1627 drivers/net/bonding/bond_3ad.c for (port = agg->lag_ports; port; agg 1663 drivers/net/bonding/bond_3ad.c static void ad_agg_selection_logic(struct aggregator *agg, agg 1667 drivers/net/bonding/bond_3ad.c struct bonding *bond = agg->slave->bond; agg 1673 drivers/net/bonding/bond_3ad.c origin = agg; agg 1674 drivers/net/bonding/bond_3ad.c active = __get_active_agg(agg); agg 1678 drivers/net/bonding/bond_3ad.c agg = &(SLAVE_AD_INFO(slave)->aggregator); agg 1680 drivers/net/bonding/bond_3ad.c agg->is_active = 0; agg 1682 drivers/net/bonding/bond_3ad.c if (__agg_active_ports(agg) && agg_device_up(agg)) agg 1683 drivers/net/bonding/bond_3ad.c best = ad_agg_selection_test(best, agg); agg 1724 drivers/net/bonding/bond_3ad.c agg = &(SLAVE_AD_INFO(slave)->aggregator); agg 1727 drivers/net/bonding/bond_3ad.c agg->aggregator_identifier, agg->num_of_ports, agg 1728 drivers/net/bonding/bond_3ad.c agg->actor_oper_aggregator_key, agg 1729 drivers/net/bonding/bond_3ad.c agg->partner_oper_aggregator_key, agg 1730 drivers/net/bonding/bond_3ad.c agg->is_individual, agg->is_active); agg 2519 drivers/net/bonding/bond_3ad.c struct aggregator *agg; agg 2547 drivers/net/bonding/bond_3ad.c agg = __get_first_agg(port); agg 2548 drivers/net/bonding/bond_3ad.c ad_agg_selection_logic(agg, &dummy); agg 999 drivers/net/bonding/bond_main.c struct aggregator *agg = agg 1002 drivers/net/bonding/bond_main.c if (agg && agg 1003 drivers/net/bonding/bond_main.c agg->aggregator_identifier != ad_info.aggregator_id) agg 4047 drivers/net/bonding/bond_main.c struct aggregator *agg; agg 4049 drivers/net/bonding/bond_main.c agg = SLAVE_AD_INFO(slave)->port.aggregator; agg 4050 drivers/net/bonding/bond_main.c if (!agg || agg->aggregator_identifier != agg_id) agg 56 drivers/net/bonding/bond_netlink.c const struct aggregator *agg; agg 60 drivers/net/bonding/bond_netlink.c agg = SLAVE_AD_INFO(slave)->port.aggregator; agg 61 drivers/net/bonding/bond_netlink.c if (agg) { agg 63 drivers/net/bonding/bond_netlink.c agg->aggregator_identifier)) agg 195 drivers/net/bonding/bond_procfs.c const struct aggregator *agg = port->aggregator; agg 197 drivers/net/bonding/bond_procfs.c if (agg) { agg 199 drivers/net/bonding/bond_procfs.c agg->aggregator_identifier); agg 68 drivers/net/bonding/bond_sysfs_slave.c const struct aggregator *agg; agg 71 drivers/net/bonding/bond_sysfs_slave.c agg = SLAVE_AD_INFO(slave)->port.aggregator; agg 72 drivers/net/bonding/bond_sysfs_slave.c if (agg) agg 74 drivers/net/bonding/bond_sysfs_slave.c agg->aggregator_identifier); agg 849 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct rx_agg_cmp *agg; agg 852 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = (struct rx_agg_cmp *) agg 854 drivers/net/ethernet/broadcom/bnxt/bnxt.c return agg; agg 882 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct rx_agg_cmp *agg; agg 888 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = bnxt_get_tpa_agg_p5(bp, rxr, idx, start + i); agg 890 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = bnxt_get_agg(bp, cpr, idx, start + i); agg 891 drivers/net/ethernet/broadcom/bnxt/bnxt.c cons = agg->rx_agg_cmp_opaque; agg 1016 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct rx_agg_cmp *agg; agg 1022 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = bnxt_get_tpa_agg_p5(bp, rxr, idx, i); agg 1024 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = bnxt_get_agg(bp, cpr, idx, i); agg 1025 drivers/net/ethernet/broadcom/bnxt/bnxt.c cons = agg->rx_agg_cmp_opaque; agg 1026 drivers/net/ethernet/broadcom/bnxt/bnxt.c frag_len = (le32_to_cpu(agg->rx_agg_cmp_len_flags_type) & agg 1080 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct rx_agg_cmp *agg; agg 1084 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = (struct rx_agg_cmp *) agg 1086 drivers/net/ethernet/broadcom/bnxt/bnxt.c return RX_AGG_CMP_VALID(agg, *raw_cons); agg 2747 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct rx_agg_cmp *agg; agg 2756 drivers/net/ethernet/broadcom/bnxt/bnxt.c agg = kcalloc(total_aggs, sizeof(*agg), GFP_KERNEL); agg 2757 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr->rx_tpa[0].agg_arr = agg; agg 2758 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (!agg) agg 2761 drivers/net/ethernet/broadcom/bnxt/bnxt.c rxr->rx_tpa[j].agg_arr = agg + j * MAX_SKB_FRAGS; agg 621 drivers/net/ethernet/broadcom/bnxt/bnxt.h #define RX_AGG_CMP_VALID(agg, raw_cons) \ agg 622 drivers/net/ethernet/broadcom/bnxt/bnxt.h (!!((agg)->rx_agg_cmp_v & cpu_to_le32(RX_AGG_CMP_V)) == \ agg 1197 drivers/net/usb/r8152.c r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags); agg 1349 drivers/net/usb/r8152.c struct rx_agg *agg; agg 1353 drivers/net/usb/r8152.c agg = urb->context; agg 1354 drivers/net/usb/r8152.c if (!agg) agg 1357 drivers/net/usb/r8152.c tp = agg->context; agg 1382 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->rx_done); agg 1402 drivers/net/usb/r8152.c r8152_submit_rx(tp, agg, GFP_ATOMIC); agg 1409 drivers/net/usb/r8152.c struct tx_agg *agg; agg 1414 drivers/net/usb/r8152.c agg = urb->context; agg 1415 drivers/net/usb/r8152.c if (!agg) agg 1418 drivers/net/usb/r8152.c tp = agg->context; agg 1427 drivers/net/usb/r8152.c stats->tx_errors += agg->skb_num; agg 1429 drivers/net/usb/r8152.c stats->tx_packets += agg->skb_num; agg 1430 drivers/net/usb/r8152.c stats->tx_bytes += agg->skb_len; agg 1434 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->tx_free); agg 1525 drivers/net/usb/r8152.c static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg) agg 1527 drivers/net/usb/r8152.c list_del(&agg->info_list); agg 1529 drivers/net/usb/r8152.c usb_free_urb(agg->urb); agg 1530 drivers/net/usb/r8152.c put_page(agg->page); agg 1531 drivers/net/usb/r8152.c kfree(agg); agg 1579 drivers/net/usb/r8152.c struct rx_agg *agg, *agg_next; agg 1585 drivers/net/usb/r8152.c list_for_each_entry_safe(agg, agg_next, &tp->rx_info, info_list) agg 1586 drivers/net/usb/r8152.c free_rx_agg(tp, agg); agg 1685 drivers/net/usb/r8152.c struct tx_agg *agg = NULL; agg 1697 drivers/net/usb/r8152.c agg = list_entry(cursor, struct tx_agg, list); agg 1701 drivers/net/usb/r8152.c return agg; agg 1873 drivers/net/usb/r8152.c static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) agg 1884 drivers/net/usb/r8152.c tx_data = agg->head; agg 1885 drivers/net/usb/r8152.c agg->skb_num = 0; agg 1886 drivers/net/usb/r8152.c agg->skb_len = 0; agg 1931 drivers/net/usb/r8152.c agg->skb_len += len; agg 1932 drivers/net/usb/r8152.c agg->skb_num += skb_shinfo(skb)->gso_segs ?: 1; agg 1936 drivers/net/usb/r8152.c remain = agg_buf_sz - (int)(tx_agg_align(tx_data) - agg->head); agg 1960 drivers/net/usb/r8152.c usb_fill_bulk_urb(agg->urb, tp->udev, usb_sndbulkpipe(tp->udev, 2), agg 1961 drivers/net/usb/r8152.c agg->head, (int)(tx_data - (u8 *)agg->head), agg 1962 drivers/net/usb/r8152.c (usb_complete_t)write_bulk_callback, agg); agg 1964 drivers/net/usb/r8152.c ret = usb_submit_urb(agg->urb, GFP_ATOMIC); agg 2006 drivers/net/usb/r8152.c static inline int agg_offset(struct rx_agg *agg, void *addr) agg 2008 drivers/net/usb/r8152.c return (int)(addr - agg->buffer); agg 2013 drivers/net/usb/r8152.c struct rx_agg *agg, *agg_next, *agg_free = NULL; agg 2018 drivers/net/usb/r8152.c list_for_each_entry_safe(agg, agg_next, &tp->rx_used, list) { agg 2019 drivers/net/usb/r8152.c if (page_count(agg->page) == 1) { agg 2021 drivers/net/usb/r8152.c list_del_init(&agg->list); agg 2022 drivers/net/usb/r8152.c agg_free = agg; agg 2026 drivers/net/usb/r8152.c list_del_init(&agg->list); agg 2027 drivers/net/usb/r8152.c free_rx_agg(tp, agg); agg 2076 drivers/net/usb/r8152.c struct rx_agg *agg, *agg_free; agg 2083 drivers/net/usb/r8152.c agg = list_entry(cursor, struct rx_agg, list); agg 2084 drivers/net/usb/r8152.c urb = agg->urb; agg 2090 drivers/net/usb/r8152.c rx_desc = agg->buffer; agg 2091 drivers/net/usb/r8152.c rx_data = agg->buffer; agg 2132 drivers/net/usb/r8152.c skb_add_rx_frag(skb, 0, agg->page, agg 2133 drivers/net/usb/r8152.c agg_offset(agg, rx_data), agg 2136 drivers/net/usb/r8152.c get_page(agg->page); agg 2153 drivers/net/usb/r8152.c len_used = agg_offset(agg, rx_data); agg 2157 drivers/net/usb/r8152.c WARN_ON(!agg_free && page_count(agg->page) > 1); agg 2161 drivers/net/usb/r8152.c if (page_count(agg->page) == 1) { agg 2164 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->rx_used); agg 2165 drivers/net/usb/r8152.c agg = agg_free; agg 2166 drivers/net/usb/r8152.c urb = agg->urb; agg 2173 drivers/net/usb/r8152.c ret = r8152_submit_rx(tp, agg, GFP_ATOMIC); agg 2176 drivers/net/usb/r8152.c list_add_tail(&agg->list, next); agg 2195 drivers/net/usb/r8152.c struct tx_agg *agg; agg 2200 drivers/net/usb/r8152.c agg = r8152_get_tx_agg(tp); agg 2201 drivers/net/usb/r8152.c if (!agg) agg 2204 drivers/net/usb/r8152.c res = r8152_tx_agg_fill(tp, agg); agg 2217 drivers/net/usb/r8152.c stats->tx_dropped += agg->skb_num; agg 2220 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->tx_free); agg 2268 drivers/net/usb/r8152.c int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) agg 2277 drivers/net/usb/r8152.c usb_fill_bulk_urb(agg->urb, tp->udev, usb_rcvbulkpipe(tp->udev, 1), agg 2278 drivers/net/usb/r8152.c agg->buffer, tp->rx_buf_sz, agg 2279 drivers/net/usb/r8152.c (usb_complete_t)read_bulk_callback, agg); agg 2281 drivers/net/usb/r8152.c ret = usb_submit_urb(agg->urb, mem_flags); agg 2286 drivers/net/usb/r8152.c struct urb *urb = agg->urb; agg 2291 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->rx_done); agg 2295 drivers/net/usb/r8152.c "Couldn't submit rx[%p], ret = %d\n", agg, ret); agg 2495 drivers/net/usb/r8152.c struct rx_agg *agg, *agg_next; agg 2511 drivers/net/usb/r8152.c list_for_each_entry_safe(agg, agg_next, &tmp_list, info_list) { agg 2512 drivers/net/usb/r8152.c INIT_LIST_HEAD(&agg->list); agg 2517 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->rx_used); agg 2521 drivers/net/usb/r8152.c list_add_tail(&agg->list, &tp->rx_done); agg 2524 drivers/net/usb/r8152.c ret = r8152_submit_rx(tp, agg, GFP_KERNEL); agg 2538 drivers/net/usb/r8152.c struct rx_agg *agg, *agg_next; agg 2554 drivers/net/usb/r8152.c list_for_each_entry_safe(agg, agg_next, &tmp_list, info_list) { agg 2558 drivers/net/usb/r8152.c if (page_count(agg->page) > 1) agg 2559 drivers/net/usb/r8152.c free_rx_agg(tp, agg); agg 2561 drivers/net/usb/r8152.c usb_kill_urb(agg->urb); agg 489 drivers/net/wireless/ath/carl9170/carl9170.h struct carl9170_sta_tid __rcu *agg[IEEE80211_NUM_TIDS]; agg 1334 drivers/net/wireless/ath/carl9170/main.c for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) agg 1335 drivers/net/wireless/ath/carl9170/main.c RCU_INIT_POINTER(sta_info->agg[i], NULL); agg 1358 drivers/net/wireless/ath/carl9170/main.c for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { agg 1361 drivers/net/wireless/ath/carl9170/main.c tid_info = rcu_dereference(sta_info->agg[i]); agg 1362 drivers/net/wireless/ath/carl9170/main.c RCU_INIT_POINTER(sta_info->agg[i], NULL); agg 1449 drivers/net/wireless/ath/carl9170/main.c rcu_assign_pointer(sta_info->agg[tid], tid_info); agg 1459 drivers/net/wireless/ath/carl9170/main.c tid_info = rcu_dereference(sta_info->agg[tid]); agg 1467 drivers/net/wireless/ath/carl9170/main.c RCU_INIT_POINTER(sta_info->agg[tid], NULL); agg 1476 drivers/net/wireless/ath/carl9170/main.c tid_info = rcu_dereference(sta_info->agg[tid]); agg 400 drivers/net/wireless/ath/carl9170/tx.c tid_info = rcu_dereference(sta_info->agg[tid]); agg 1129 drivers/net/wireless/ath/carl9170/tx.c struct sk_buff_head agg; agg 1145 drivers/net/wireless/ath/carl9170/tx.c __skb_queue_head_init(&agg); agg 1201 drivers/net/wireless/ath/carl9170/tx.c __skb_queue_tail(&agg, skb); agg 1203 drivers/net/wireless/ath/carl9170/tx.c if (skb_queue_len(&agg) >= CARL9170_NUM_TX_AGG_MAX) agg 1221 drivers/net/wireless/ath/carl9170/tx.c if (skb_queue_empty(&agg)) agg 1225 drivers/net/wireless/ath/carl9170/tx.c carl9170_set_ampdu_params(ar, skb_peek(&agg)); agg 1228 drivers/net/wireless/ath/carl9170/tx.c carl9170_set_immba(ar, skb_peek_tail(&agg)); agg 1231 drivers/net/wireless/ath/carl9170/tx.c skb_queue_splice_tail_init(&agg, &ar->tx_pending[queue]); agg 1399 drivers/net/wireless/ath/carl9170/tx.c struct carl9170_sta_tid *agg; agg 1409 drivers/net/wireless/ath/carl9170/tx.c agg = rcu_dereference(sta_info->agg[tid]); agg 1411 drivers/net/wireless/ath/carl9170/tx.c if (!agg) agg 1414 drivers/net/wireless/ath/carl9170/tx.c spin_lock_bh(&agg->lock); agg 1415 drivers/net/wireless/ath/carl9170/tx.c if (unlikely(agg->state < CARL9170_TID_STATE_IDLE)) agg 1419 drivers/net/wireless/ath/carl9170/tx.c if (unlikely(!BAW_WITHIN(agg->bsn, CARL9170_BAW_BITS, seq))) agg 1422 drivers/net/wireless/ath/carl9170/tx.c if (WARN_ON_ONCE(!BAW_WITHIN(agg->snx, CARL9170_BAW_BITS, seq))) agg 1425 drivers/net/wireless/ath/carl9170/tx.c off = SEQ_DIFF(seq, agg->bsn); agg 1426 drivers/net/wireless/ath/carl9170/tx.c if (WARN_ON_ONCE(test_and_set_bit(off, agg->bitmap))) agg 1429 drivers/net/wireless/ath/carl9170/tx.c if (likely(BAW_WITHIN(agg->hsn, CARL9170_BAW_BITS, seq))) { agg 1430 drivers/net/wireless/ath/carl9170/tx.c __skb_queue_tail(&agg->queue, skb); agg 1431 drivers/net/wireless/ath/carl9170/tx.c agg->hsn = seq; agg 1435 drivers/net/wireless/ath/carl9170/tx.c skb_queue_reverse_walk(&agg->queue, iter) { agg 1439 drivers/net/wireless/ath/carl9170/tx.c __skb_queue_after(&agg->queue, iter, skb); agg 1444 drivers/net/wireless/ath/carl9170/tx.c __skb_queue_head(&agg->queue, skb); agg 1447 drivers/net/wireless/ath/carl9170/tx.c if (unlikely(agg->state != CARL9170_TID_STATE_XMIT)) { agg 1448 drivers/net/wireless/ath/carl9170/tx.c if (agg->snx == carl9170_get_seq(skb_peek(&agg->queue))) { agg 1449 drivers/net/wireless/ath/carl9170/tx.c agg->state = CARL9170_TID_STATE_XMIT; agg 1454 drivers/net/wireless/ath/carl9170/tx.c spin_unlock_bh(&agg->lock); agg 1460 drivers/net/wireless/ath/carl9170/tx.c spin_unlock_bh(&agg->lock); agg 557 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.ba_timeout), accum_tx->agg.ba_timeout, agg 558 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.ba_timeout, max_tx->agg.ba_timeout); agg 562 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.ba_reschedule_frames), agg 563 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.ba_reschedule_frames, agg 564 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.ba_reschedule_frames, agg 565 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.ba_reschedule_frames); agg 569 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.scd_query_agg_frame_cnt), agg 570 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.scd_query_agg_frame_cnt, agg 571 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.scd_query_agg_frame_cnt, agg 572 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.scd_query_agg_frame_cnt); agg 576 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.scd_query_no_agg), agg 577 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.scd_query_no_agg, agg 578 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.scd_query_no_agg, agg 579 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.scd_query_no_agg); agg 582 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.scd_query_agg), agg 583 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.scd_query_agg, delta_tx->agg.scd_query_agg, agg 584 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.scd_query_agg); agg 588 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.scd_query_mismatch), agg 589 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.scd_query_mismatch, agg 590 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.scd_query_mismatch, agg 591 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.scd_query_mismatch); agg 594 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.frame_not_ready), agg 595 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.frame_not_ready, agg 596 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.frame_not_ready, agg 597 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.frame_not_ready); agg 600 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.underrun), accum_tx->agg.underrun, agg 601 drivers/net/wireless/intel/iwlegacy/4965-debug.c delta_tx->agg.underrun, max_tx->agg.underrun); agg 604 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.bt_prio_kill), agg 605 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.bt_prio_kill, delta_tx->agg.bt_prio_kill, agg 606 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.bt_prio_kill); agg 609 drivers/net/wireless/intel/iwlegacy/4965-debug.c le32_to_cpu(tx->agg.rx_ba_rsp_cnt), agg 610 drivers/net/wireless/intel/iwlegacy/4965-debug.c accum_tx->agg.rx_ba_rsp_cnt, delta_tx->agg.rx_ba_rsp_cnt, agg 611 drivers/net/wireless/intel/iwlegacy/4965-debug.c max_tx->agg.rx_ba_rsp_cnt); agg 1743 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].tid[tid].agg.state == IL_AGG_ON) { agg 1744 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = il->stations[sta_id].tid[tid].agg.txq_id; agg 2241 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->stations[sta_id].tid[tid].agg.state != IL_AGG_OFF) { agg 2255 drivers/net/wireless/intel/iwlegacy/4965-mac.c tid_data->agg.txq_id = txq_id; agg 2267 drivers/net/wireless/intel/iwlegacy/4965-mac.c tid_data->agg.state = IL_AGG_ON; agg 2272 drivers/net/wireless/intel/iwlegacy/4965-mac.c tid_data->agg.state = IL_EMPTYING_HW_QUEUE_ADDBA; agg 2336 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq_id = tid_data->agg.txq_id; agg 2338 drivers/net/wireless/intel/iwlegacy/4965-mac.c switch (il->stations[sta_id].tid[tid].agg.state) { agg 2360 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].tid[tid].agg.state = agg 2368 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->stations[sta_id].tid[tid].agg.state = IL_AGG_OFF; agg 2398 drivers/net/wireless/intel/iwlegacy/4965-mac.c switch (il->stations[sta_id].tid[tid].agg.state) { agg 2402 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (txq_id == tid_data->agg.txq_id && agg 2408 drivers/net/wireless/intel/iwlegacy/4965-mac.c tid_data->agg.state = IL_AGG_OFF; agg 2416 drivers/net/wireless/intel/iwlegacy/4965-mac.c tid_data->agg.state = IL_AGG_ON; agg 2497 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_status_reply_compressed_ba(struct il_priv *il, struct il_ht_agg *agg, agg 2507 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (unlikely(!agg->wait_for_ba)) { agg 2514 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->wait_for_ba = 0; agg 2515 drivers/net/wireless/intel/iwlegacy/4965-mac.c D_TX_REPLY("BA %d %d\n", agg->start_idx, ba_resp->seq_ctl); agg 2518 drivers/net/wireless/intel/iwlegacy/4965-mac.c sh = agg->start_idx - SEQ_TO_IDX(seq_ctl >> 4); agg 2522 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (agg->frame_count > (64 - sh)) { agg 2532 drivers/net/wireless/intel/iwlegacy/4965-mac.c sent_bitmap = bitmap & agg->bitmap; agg 2541 drivers/net/wireless/intel/iwlegacy/4965-mac.c i, (agg->start_idx + i) & 0xff, agg->start_idx + i); agg 2548 drivers/net/wireless/intel/iwlegacy/4965-mac.c info = IEEE80211_SKB_CB(il->txq[scd_flow].skbs[agg->start_idx]); agg 2553 drivers/net/wireless/intel/iwlegacy/4965-mac.c info->status.ampdu_len = agg->frame_count; agg 2554 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_hwrate_to_tx_control(il, agg->rate_n_flags, info); agg 2647 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_status_reply_tx(struct il_priv *il, struct il_ht_agg *agg, agg 2658 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (agg->wait_for_ba) agg 2661 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->frame_count = tx_resp->frame_count; agg 2662 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->start_idx = start_idx; agg 2663 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->rate_n_flags = rate_n_flags; agg 2664 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->bitmap = 0; agg 2667 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (agg->frame_count == 1) { agg 2673 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->frame_count, agg->start_idx, idx); agg 2685 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->wait_for_ba = 0; agg 2689 drivers/net/wireless/intel/iwlegacy/4965-mac.c int start = agg->start_idx; agg 2693 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (i = 0; i < agg->frame_count; i++) { agg 2706 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->frame_count, txq_id, idx); agg 2743 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->bitmap = bitmap; agg 2744 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->start_idx = start; agg 2746 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->frame_count, agg->start_idx, agg 2747 drivers/net/wireless/intel/iwlegacy/4965-mac.c (unsigned long long)agg->bitmap); agg 2750 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->wait_for_ba = 1; agg 2818 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_ht_agg *agg = NULL; agg 2821 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg = &il->stations[sta_id].tid[tid].agg; agg 2823 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_status_reply_tx(il, agg, tx_resp, txq_id, idx); agg 2841 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->state != IL_EMPTYING_HW_QUEUE_DELBA) agg 2911 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_ht_agg *agg; agg 2932 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg = &il->stations[sta_id].tid[tid].agg; agg 2933 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (unlikely(agg->txq_id != scd_flow)) { agg 2941 drivers/net/wireless/intel/iwlegacy/4965-mac.c scd_flow, agg->txq_id); agg 2951 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->wait_for_ba, (u8 *) &ba_resp->sta_addr_lo32, agg 2957 drivers/net/wireless/intel/iwlegacy/4965-mac.c D_TX_REPLY("DAT start_idx = %d, bitmap = 0x%llx\n", agg->start_idx, agg 2958 drivers/net/wireless/intel/iwlegacy/4965-mac.c (unsigned long long)agg->bitmap); agg 2961 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_status_reply_compressed_ba(il, agg, ba_resp); agg 2973 drivers/net/wireless/intel/iwlegacy/4965-mac.c agg->state != IL_EMPTYING_HW_QUEUE_DELBA) agg 1768 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (tid_data->agg.state == IL_AGG_OFF) agg 2099 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (tid_data->agg.state == IL_AGG_OFF) { agg 2897 drivers/net/wireless/intel/iwlegacy/commands.h struct stats_tx_non_phy_agg agg; agg 647 drivers/net/wireless/intel/iwlegacy/common.h struct il_ht_agg agg; agg 430 drivers/net/wireless/intel/iwlegacy/debug.c station->tid[j].agg.txq_id, agg 431 drivers/net/wireless/intel/iwlegacy/debug.c station->tid[j].agg.frame_count, agg 433 drivers/net/wireless/intel/iwlegacy/debug.c station->tid[j].agg.start_idx, agg 434 drivers/net/wireless/intel/iwlegacy/debug.c station->tid[j].agg.bitmap, agg 435 drivers/net/wireless/intel/iwlegacy/debug.c station->tid[j].agg.rate_n_flags); agg 437 drivers/net/wireless/intel/iwlegacy/debug.c if (station->tid[j].agg.wait_for_ba) agg 2650 drivers/net/wireless/intel/iwlwifi/dvm/commands.h struct statistics_tx_non_phy_agg agg; agg 225 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c tid_data->agg.rate_n_flags, agg 226 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c tid_data->agg.state, agg 227 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c tid_data->agg.txq_id); agg 229 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (tid_data->agg.wait_for_ba) agg 1215 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.ba_timeout), agg 1216 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.ba_timeout, agg 1217 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.ba_timeout, agg 1218 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.ba_timeout); agg 1221 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.ba_reschedule_frames), agg 1222 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.ba_reschedule_frames, agg 1223 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.ba_reschedule_frames, agg 1224 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.ba_reschedule_frames); agg 1227 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.scd_query_agg_frame_cnt), agg 1228 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.scd_query_agg_frame_cnt, agg 1229 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.scd_query_agg_frame_cnt, agg 1230 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.scd_query_agg_frame_cnt); agg 1233 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.scd_query_no_agg), agg 1234 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.scd_query_no_agg, agg 1235 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.scd_query_no_agg, agg 1236 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.scd_query_no_agg); agg 1239 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.scd_query_agg), agg 1240 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.scd_query_agg, agg 1241 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.scd_query_agg, agg 1242 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.scd_query_agg); agg 1245 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.scd_query_mismatch), agg 1246 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.scd_query_mismatch, agg 1247 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.scd_query_mismatch, agg 1248 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.scd_query_mismatch); agg 1251 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.frame_not_ready), agg 1252 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.frame_not_ready, agg 1253 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.frame_not_ready, agg 1254 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.frame_not_ready); agg 1257 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.underrun), agg 1258 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.underrun, agg 1259 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.underrun, max_tx->agg.underrun); agg 1262 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.bt_prio_kill), agg 1263 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.bt_prio_kill, agg 1264 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.bt_prio_kill, agg 1265 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.bt_prio_kill); agg 1268 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c le32_to_cpu(tx->agg.rx_ba_rsp_cnt), agg 1269 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c accum_tx->agg.rx_ba_rsp_cnt, agg 1270 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c delta_tx->agg.rx_ba_rsp_cnt, agg 1271 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c max_tx->agg.rx_ba_rsp_cnt); agg 171 drivers/net/wireless/intel/iwlwifi/dvm/dev.h struct iwl_ht_agg agg; agg 2235 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (tid_data->agg.state == IWL_AGG_OFF) agg 2607 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (tid_data->agg.state == IWL_AGG_OFF) { agg 386 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state != IWL_AGG_ON) { agg 389 drivers/net/wireless/intel/iwlwifi/dvm/tx.c info->flags, tid_data->agg.state); agg 399 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (WARN_ONCE(tid_data->agg.state != IWL_AGG_ON && agg 400 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state != IWL_AGG_OFF, agg 401 drivers/net/wireless/intel/iwlwifi/dvm/tx.c "Tx while agg.state = %d\n", tid_data->agg.state)) agg 421 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = priv->tid_data[sta_id][tid].agg.txq_id; agg 503 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = tid_data->agg.txq_id; agg 505 drivers/net/wireless/intel/iwlwifi/dvm/tx.c switch (tid_data->agg.state) { agg 527 drivers/net/wireless/intel/iwlwifi/dvm/tx.c sta_id, tid, tid_data->agg.state); agg 532 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.ssn = IEEE80211_SEQ_TO_SN(tid_data->seq_number); agg 539 drivers/net/wireless/intel/iwlwifi/dvm/tx.c } else if (tid_data->agg.ssn != tid_data->next_reclaimed) { agg 542 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.ssn, agg 544 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_EMPTYING_HW_QUEUE_DELBA; agg 550 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.ssn); agg 552 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg_state = tid_data->agg.state; agg 553 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_AGG_OFF; agg 595 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (priv->tid_data[sta_id][tid].agg.state != IWL_AGG_OFF) { agg 614 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.ssn = IEEE80211_SEQ_TO_SN(tid_data->seq_number); agg 615 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.txq_id = txq_id; agg 617 drivers/net/wireless/intel/iwlwifi/dvm/tx.c *ssn = tid_data->agg.ssn; agg 621 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.ssn); agg 622 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_AGG_STARTING; agg 627 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.ssn, agg 629 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_EMPTYING_HW_QUEUE_ADDBA; agg 651 drivers/net/wireless/intel/iwlwifi/dvm/tx.c txq_id = tid_data->agg.txq_id; agg 652 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg_state = tid_data->agg.state; agg 654 drivers/net/wireless/intel/iwlwifi/dvm/tx.c sta_id, tid, txq_id, tid_data->agg.state); agg 656 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_AGG_OFF; agg 692 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; agg 693 drivers/net/wireless/intel/iwlwifi/dvm/tx.c q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; agg 694 drivers/net/wireless/intel/iwlwifi/dvm/tx.c priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; agg 758 drivers/net/wireless/intel/iwlwifi/dvm/tx.c switch (priv->tid_data[sta_id][tid].agg.state) { agg 761 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (tid_data->agg.ssn == tid_data->next_reclaimed) { agg 766 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.txq_id, true); agg 767 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwlagn_dealloc_agg_txq(priv, tid_data->agg.txq_id); agg 768 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_AGG_OFF; agg 774 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (tid_data->agg.ssn == tid_data->next_reclaimed) { agg 778 drivers/net/wireless/intel/iwlwifi/dvm/tx.c tid_data->agg.state = IWL_AGG_STARTING; agg 930 drivers/net/wireless/intel/iwlwifi/dvm/tx.c struct iwl_ht_agg *agg = &priv->tid_data[sta_id][tid].agg; agg 936 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (agg->wait_for_ba) agg 940 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg->rate_n_flags = le32_to_cpu(tx_resp->rate_n_flags); agg 941 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg->wait_for_ba = (tx_resp->frame_count > 1); agg 957 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg->txq_id, agg 1142 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (txq_id != priv->tid_data[sta_id][tid].agg.txq_id) agg 1144 drivers/net/wireless/intel/iwlwifi/dvm/tx.c priv->tid_data[sta_id][tid].agg.txq_id); agg 1270 drivers/net/wireless/intel/iwlwifi/dvm/tx.c struct iwl_ht_agg *agg; agg 1292 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg = &priv->tid_data[sta_id][tid].agg; agg 1296 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (unlikely(!agg->wait_for_ba)) { agg 1303 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (unlikely(scd_flow != agg->txq_id)) { agg 1312 drivers/net/wireless/intel/iwlwifi/dvm/tx.c scd_flow, sta_id, tid, agg->txq_id); agg 1327 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg->wait_for_ba, agg 1338 drivers/net/wireless/intel/iwlwifi/dvm/tx.c agg->wait_for_ba = false; agg 1383 drivers/net/wireless/intel/iwlwifi/dvm/tx.c iwlagn_hwrate_to_tx_control(priv, agg->rate_n_flags, agg 280 drivers/net/wireless/intel/iwlwifi/fw/api/stats.h struct mvm_statistics_tx_non_phy_agg agg; agg 286 drivers/net/wireless/intel/iwlwifi/fw/api/stats.h struct mvm_statistics_tx_non_phy_agg agg; agg 1768 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_update_frame_stats(struct iwl_mvm *mvm, u32 rate, bool agg); agg 2896 drivers/net/wireless/intel/iwlwifi/mvm/rs.c void iwl_mvm_update_frame_stats(struct iwl_mvm *mvm, u32 rate, bool agg) agg 2902 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (agg) agg 1424 drivers/net/wireless/realtek/rtlwifi/base.c if (tid_data->agg.rx_agg_state == agg 1777 drivers/net/wireless/realtek/rtlwifi/base.c tid_data->agg.agg_state = RTL_AGG_START; agg 1799 drivers/net/wireless/realtek/rtlwifi/base.c sta_entry->tids[tid].agg.agg_state = RTL_AGG_STOP; agg 1835 drivers/net/wireless/realtek/rtlwifi/base.c tid_data->agg.rx_agg_state = RTL_RX_AGG_START; agg 1855 drivers/net/wireless/realtek/rtlwifi/base.c sta_entry->tids[tid].agg.rx_agg_state = RTL_RX_AGG_STOP; agg 1876 drivers/net/wireless/realtek/rtlwifi/base.c sta_entry->tids[tid].agg.agg_state = RTL_AGG_OPERATIONAL; agg 1576 drivers/net/wireless/realtek/rtlwifi/pci.c if (sta_entry->tids[tid].agg.agg_state != RTL_AGG_OPERATIONAL) agg 201 drivers/net/wireless/realtek/rtlwifi/rc.c if (sta_entry->tids[tid].agg.agg_state == RTL_AGG_STOP) agg 239 drivers/net/wireless/realtek/rtlwifi/rc.c sta_entry->tids[tid].agg.agg_state = agg 502 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c if (mac->tids[tid].agg.agg_state == RTL_AGG_ON && agg 1439 drivers/net/wireless/realtek/rtlwifi/wifi.h struct rtl_ht_agg agg; agg 139 net/sched/sch_qfq.c struct qfq_aggregate *agg; /* Parent aggregate. */ agg 253 net/sched/sch_qfq.c static void qfq_init_agg(struct qfq_sched *q, struct qfq_aggregate *agg, agg 256 net/sched/sch_qfq.c INIT_LIST_HEAD(&agg->active); agg 257 net/sched/sch_qfq.c hlist_add_head(&agg->nonfull_next, &q->nonfull_aggs); agg 259 net/sched/sch_qfq.c agg->lmax = lmax; agg 260 net/sched/sch_qfq.c agg->class_weight = weight; agg 266 net/sched/sch_qfq.c struct qfq_aggregate *agg; agg 268 net/sched/sch_qfq.c hlist_for_each_entry(agg, &q->nonfull_aggs, nonfull_next) agg 269 net/sched/sch_qfq.c if (agg->lmax == lmax && agg->class_weight == weight) agg 270 net/sched/sch_qfq.c return agg; agg 277 net/sched/sch_qfq.c static void qfq_update_agg(struct qfq_sched *q, struct qfq_aggregate *agg, agg 283 net/sched/sch_qfq.c hlist_del_init(&agg->nonfull_next); agg 285 net/sched/sch_qfq.c if (agg->num_classes > new_num_classes && agg 287 net/sched/sch_qfq.c hlist_add_head(&agg->nonfull_next, &q->nonfull_aggs); agg 293 net/sched/sch_qfq.c agg->budgetmax = new_num_classes * agg->lmax; agg 294 net/sched/sch_qfq.c new_agg_weight = agg->class_weight * new_num_classes; agg 295 net/sched/sch_qfq.c agg->inv_w = ONE_FP/new_agg_weight; agg 297 net/sched/sch_qfq.c if (agg->grp == NULL) { agg 298 net/sched/sch_qfq.c int i = qfq_calc_index(agg->inv_w, agg->budgetmax, agg 300 net/sched/sch_qfq.c agg->grp = &q->groups[i]; agg 304 net/sched/sch_qfq.c (int) agg->class_weight * (new_num_classes - agg->num_classes); agg 307 net/sched/sch_qfq.c agg->num_classes = new_num_classes; agg 312 net/sched/sch_qfq.c struct qfq_aggregate *agg, agg 315 net/sched/sch_qfq.c cl->agg = agg; agg 317 net/sched/sch_qfq.c qfq_update_agg(q, agg, agg->num_classes+1); agg 319 net/sched/sch_qfq.c list_add_tail(&cl->alist, &agg->active); agg 320 net/sched/sch_qfq.c if (list_first_entry(&agg->active, struct qfq_class, alist) == agg 321 net/sched/sch_qfq.c cl && q->in_serv_agg != agg) /* agg was inactive */ agg 322 net/sched/sch_qfq.c qfq_activate_agg(q, agg, enqueue); /* schedule agg */ agg 328 net/sched/sch_qfq.c static void qfq_destroy_agg(struct qfq_sched *q, struct qfq_aggregate *agg) agg 330 net/sched/sch_qfq.c hlist_del_init(&agg->nonfull_next); agg 331 net/sched/sch_qfq.c q->wsum -= agg->class_weight; agg 335 net/sched/sch_qfq.c if (q->in_serv_agg == agg) agg 337 net/sched/sch_qfq.c kfree(agg); agg 343 net/sched/sch_qfq.c struct qfq_aggregate *agg = cl->agg; agg 347 net/sched/sch_qfq.c if (list_empty(&agg->active)) /* agg is now inactive */ agg 348 net/sched/sch_qfq.c qfq_deactivate_agg(q, agg); agg 354 net/sched/sch_qfq.c struct qfq_aggregate *agg = cl->agg; agg 356 net/sched/sch_qfq.c cl->agg = NULL; agg 357 net/sched/sch_qfq.c if (agg->num_classes == 1) { /* agg being emptied, destroy it */ agg 358 net/sched/sch_qfq.c qfq_destroy_agg(q, agg); agg 361 net/sched/sch_qfq.c qfq_update_agg(q, agg, agg->num_classes-1); agg 437 net/sched/sch_qfq.c lmax == cl->agg->lmax && agg 438 net/sched/sch_qfq.c weight == cl->agg->class_weight) agg 441 net/sched/sch_qfq.c delta_w = weight - (cl ? cl->agg->class_weight : 0); agg 622 net/sched/sch_qfq.c if (nla_put_u32(skb, TCA_QFQ_WEIGHT, cl->agg->class_weight) || agg 623 net/sched/sch_qfq.c nla_put_u32(skb, TCA_QFQ_LMAX, cl->agg->lmax)) agg 640 net/sched/sch_qfq.c xstats.weight = cl->agg->class_weight; agg 641 net/sched/sch_qfq.c xstats.lmax = cl->agg->lmax; agg 876 net/sched/sch_qfq.c static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, agg 885 net/sched/sch_qfq.c agg->S -= deltaS; agg 886 net/sched/sch_qfq.c agg->F -= deltaS; agg 892 net/sched/sch_qfq.c hlist_add_head(&agg->next, &grp->slots[i]); agg 908 net/sched/sch_qfq.c struct qfq_aggregate *agg = qfq_slot_head(grp); agg 910 net/sched/sch_qfq.c BUG_ON(!agg); agg 911 net/sched/sch_qfq.c hlist_del(&agg->next); agg 974 net/sched/sch_qfq.c static void agg_dequeue(struct qfq_aggregate *agg, agg 984 net/sched/sch_qfq.c cl->deficit += agg->lmax; agg 985 net/sched/sch_qfq.c list_move_tail(&cl->alist, &agg->active); agg 989 net/sched/sch_qfq.c static inline struct sk_buff *qfq_peek_skb(struct qfq_aggregate *agg, agg 995 net/sched/sch_qfq.c *cl = list_first_entry(&agg->active, struct qfq_class, alist); agg 1006 net/sched/sch_qfq.c static inline void charge_actual_service(struct qfq_aggregate *agg) agg 1013 net/sched/sch_qfq.c u32 service_received = min(agg->budgetmax, agg 1014 net/sched/sch_qfq.c agg->initial_budget - agg->budget); agg 1016 net/sched/sch_qfq.c agg->F = agg->S + (u64)service_received * agg->inv_w; agg 1031 net/sched/sch_qfq.c static void qfq_update_start(struct qfq_sched *q, struct qfq_aggregate *agg) agg 1035 net/sched/sch_qfq.c int slot_shift = agg->grp->slot_shift; agg 1037 net/sched/sch_qfq.c roundedF = qfq_round_down(agg->F, slot_shift); agg 1040 net/sched/sch_qfq.c if (!qfq_gt(agg->F, q->V) || qfq_gt(roundedF, limit)) { agg 1042 net/sched/sch_qfq.c mask = mask_from(q->bitmaps[ER], agg->grp->index); agg 1047 net/sched/sch_qfq.c agg->S = next->F; agg 1049 net/sched/sch_qfq.c agg->S = limit; agg 1053 net/sched/sch_qfq.c agg->S = q->V; agg 1055 net/sched/sch_qfq.c agg->S = agg->F; agg 1065 net/sched/sch_qfq.c struct qfq_aggregate *agg, enum update_reason reason) agg 1068 net/sched/sch_qfq.c qfq_update_start(q, agg); agg 1070 net/sched/sch_qfq.c agg->S = agg->F; agg 1072 net/sched/sch_qfq.c agg->F = agg->S + (u64)agg->budgetmax * agg->inv_w; agg 1075 net/sched/sch_qfq.c static void qfq_schedule_agg(struct qfq_sched *q, struct qfq_aggregate *agg); agg 1157 net/sched/sch_qfq.c struct qfq_aggregate *agg, *new_front_agg; agg 1169 net/sched/sch_qfq.c agg = qfq_slot_head(grp); agg 1184 net/sched/sch_qfq.c return agg; agg 1194 net/sched/sch_qfq.c return agg; agg 1203 net/sched/sch_qfq.c struct qfq_aggregate *agg; agg 1216 net/sched/sch_qfq.c if (unlikely(cl->agg->lmax < len)) { agg 1218 net/sched/sch_qfq.c cl->agg->lmax, len, cl->common.classid); agg 1219 net/sched/sch_qfq.c err = qfq_change_agg(sch, cl, cl->agg->class_weight, len); agg 1243 net/sched/sch_qfq.c agg = cl->agg; agg 1247 net/sched/sch_qfq.c list_first_entry(&agg->active, struct qfq_class, alist) agg 1249 net/sched/sch_qfq.c list_move_tail(&cl->alist, &agg->active); agg 1255 net/sched/sch_qfq.c cl->deficit = agg->lmax; agg 1256 net/sched/sch_qfq.c list_add_tail(&cl->alist, &agg->active); agg 1258 net/sched/sch_qfq.c if (list_first_entry(&agg->active, struct qfq_class, alist) != cl || agg 1259 net/sched/sch_qfq.c q->in_serv_agg == agg) agg 1262 net/sched/sch_qfq.c qfq_activate_agg(q, agg, enqueue); agg 1270 net/sched/sch_qfq.c static void qfq_schedule_agg(struct qfq_sched *q, struct qfq_aggregate *agg) agg 1272 net/sched/sch_qfq.c struct qfq_group *grp = agg->grp; agg 1276 net/sched/sch_qfq.c roundedS = qfq_round_down(agg->S, grp->slot_shift); agg 1288 net/sched/sch_qfq.c if (!qfq_gt(grp->S, agg->S)) agg 1307 net/sched/sch_qfq.c (unsigned long long) agg->S, agg 1308 net/sched/sch_qfq.c (unsigned long long) agg->F, agg 1312 net/sched/sch_qfq.c qfq_slot_insert(grp, agg, roundedS); agg 1317 net/sched/sch_qfq.c static void qfq_activate_agg(struct qfq_sched *q, struct qfq_aggregate *agg, agg 1320 net/sched/sch_qfq.c agg->initial_budget = agg->budget = agg->budgetmax; /* recharge budg. */ agg 1322 net/sched/sch_qfq.c qfq_update_agg_ts(q, agg, reason); agg 1324 net/sched/sch_qfq.c q->in_serv_agg = agg; /* start serving this aggregate */ agg 1326 net/sched/sch_qfq.c q->oldV = q->V = agg->S; agg 1327 net/sched/sch_qfq.c } else if (agg != q->in_serv_agg) agg 1328 net/sched/sch_qfq.c qfq_schedule_agg(q, agg); agg 1332 net/sched/sch_qfq.c struct qfq_aggregate *agg) agg 1337 net/sched/sch_qfq.c roundedS = qfq_round_down(agg->S, grp->slot_shift); agg 1342 net/sched/sch_qfq.c hlist_del(&agg->next); agg 1354 net/sched/sch_qfq.c static void qfq_deactivate_agg(struct qfq_sched *q, struct qfq_aggregate *agg) agg 1356 net/sched/sch_qfq.c struct qfq_group *grp = agg->grp; agg 1361 net/sched/sch_qfq.c if (agg == q->in_serv_agg) { agg 1362 net/sched/sch_qfq.c charge_actual_service(agg); agg 1367 net/sched/sch_qfq.c agg->F = agg->S; agg 1368 net/sched/sch_qfq.c qfq_slot_remove(q, grp, agg); agg 1387 net/sched/sch_qfq.c agg = qfq_slot_scan(grp); agg 1388 net/sched/sch_qfq.c roundedS = qfq_round_down(agg->S, grp->slot_shift);