Lines Matching refs:aggr_conn
1318 struct aggr_info_conn *aggr_conn; in ath6kl_rx() local
1606 aggr_conn = conn->aggr_conn; in ath6kl_rx()
1608 aggr_conn = vif->aggr_cntxt->aggr_conn; in ath6kl_rx()
1611 if (aggr_process_recv_frm(aggr_conn, tid, seq_no, in ath6kl_rx()
1626 struct aggr_info_conn *aggr_conn = from_timer(aggr_conn, t, timer); in aggr_timeout() local
1631 rxtid = &aggr_conn->rx_tid[i]; in aggr_timeout()
1632 stats = &aggr_conn->stat[i]; in aggr_timeout()
1643 aggr_deque_frms(aggr_conn, i, 0, 0); in aggr_timeout()
1646 aggr_conn->timer_scheduled = false; in aggr_timeout()
1649 rxtid = &aggr_conn->rx_tid[i]; in aggr_timeout()
1655 aggr_conn->timer_scheduled = true; in aggr_timeout()
1667 if (aggr_conn->timer_scheduled) in aggr_timeout()
1668 mod_timer(&aggr_conn->timer, in aggr_timeout()
1672 static void aggr_delete_tid_state(struct aggr_info_conn *aggr_conn, u8 tid) in aggr_delete_tid_state() argument
1677 if (!aggr_conn || tid >= NUM_OF_TIDS) in aggr_delete_tid_state()
1680 rxtid = &aggr_conn->rx_tid[tid]; in aggr_delete_tid_state()
1681 stats = &aggr_conn->stat[tid]; in aggr_delete_tid_state()
1684 aggr_deque_frms(aggr_conn, tid, 0, 0); in aggr_delete_tid_state()
1702 struct aggr_info_conn *aggr_conn = NULL; in aggr_recv_addba_req_evt() local
1711 aggr_conn = sta->aggr_conn; in aggr_recv_addba_req_evt()
1713 aggr_conn = vif->aggr_cntxt->aggr_conn; in aggr_recv_addba_req_evt()
1716 if (!aggr_conn) in aggr_recv_addba_req_evt()
1723 rxtid = &aggr_conn->rx_tid[tid]; in aggr_recv_addba_req_evt()
1730 aggr_delete_tid_state(aggr_conn, tid); in aggr_recv_addba_req_evt()
1747 struct aggr_info_conn *aggr_conn) in aggr_conn_init() argument
1752 aggr_conn->aggr_sz = AGGR_SZ_DEFAULT; in aggr_conn_init()
1753 aggr_conn->dev = vif->ndev; in aggr_conn_init()
1754 timer_setup(&aggr_conn->timer, aggr_timeout, 0); in aggr_conn_init()
1755 aggr_conn->aggr_info = aggr_info; in aggr_conn_init()
1757 aggr_conn->timer_scheduled = false; in aggr_conn_init()
1760 rxtid = &aggr_conn->rx_tid[i]; in aggr_conn_init()
1778 p_aggr->aggr_conn = kzalloc(sizeof(struct aggr_info_conn), GFP_KERNEL); in aggr_init()
1779 if (!p_aggr->aggr_conn) { in aggr_init()
1785 aggr_conn_init(vif, p_aggr, p_aggr->aggr_conn); in aggr_init()
1797 struct aggr_info_conn *aggr_conn = NULL; in aggr_recv_delba_req_evt() local
1804 aggr_conn = sta->aggr_conn; in aggr_recv_delba_req_evt()
1806 aggr_conn = vif->aggr_cntxt->aggr_conn; in aggr_recv_delba_req_evt()
1809 if (!aggr_conn) in aggr_recv_delba_req_evt()
1816 rxtid = &aggr_conn->rx_tid[tid]; in aggr_recv_delba_req_evt()
1819 aggr_delete_tid_state(aggr_conn, tid); in aggr_recv_delba_req_evt()
1822 void aggr_reset_state(struct aggr_info_conn *aggr_conn) in aggr_reset_state() argument
1826 if (!aggr_conn) in aggr_reset_state()
1829 if (aggr_conn->timer_scheduled) { in aggr_reset_state()
1830 del_timer(&aggr_conn->timer); in aggr_reset_state()
1831 aggr_conn->timer_scheduled = false; in aggr_reset_state()
1835 aggr_delete_tid_state(aggr_conn, tid); in aggr_reset_state()
1865 aggr_reset_state(aggr_info->aggr_conn); in aggr_module_destroy()
1867 kfree(aggr_info->aggr_conn); in aggr_module_destroy()