Searched refs:tx_report (Results 1 – 5 of 5) sorted by relevance
165 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() local171 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()177 struct rtw_dev *rtwdev = from_timer(rtwdev, t, tx_report.purge_timer); in rtw_tx_report_purge_timer()178 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_purge_timer() local181 if (skb_queue_len(&tx_report->queue) == 0) in rtw_tx_report_purge_timer()186 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()187 skb_queue_purge(&tx_report->queue); in rtw_tx_report_purge_timer()188 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()193 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enqueue() local201 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()[all …]
2096 timer_setup(&rtwdev->tx_report.purge_timer, in rtw_core_init()2122 skb_queue_head_init(&rtwdev->tx_report.queue); in rtw_core_init()2125 spin_lock_init(&rtwdev->tx_report.q_lock); in rtw_core_init()2186 timer_delete_sync(&rtwdev->tx_report.purge_timer); in rtw_core_deinit()2187 spin_lock_irqsave(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()2188 skb_queue_purge(&rtwdev->tx_report.queue); in rtw_core_deinit()2189 spin_unlock_irqrestore(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
2043 struct rtw_tx_report tx_report; member
562 skb_queue_head_init(&rtlpriv->tx_report.queue); in rtl_init_core()1561 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_tx_ackqueue() local1563 __skb_queue_tail(&tx_report->queue, skb); in rtl_tx_ackqueue()1606 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_get_tx_report_sn() local1613 sn = (atomic_inc_return(&tx_report->sn) & 0x003F) << 2; in rtl_get_tx_report_sn()1615 tx_report->last_sent_sn = sn; in rtl_get_tx_report_sn()1616 tx_report->last_sent_time = jiffies; in rtl_get_tx_report_sn()1618 tx_info->send_time = tx_report->last_sent_time; in rtl_get_tx_report_sn()1640 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_tx_report_handler() local1642 struct sk_buff_head *queue = &tx_report->queue; in rtl_tx_report_handler()[all …]
2686 struct rtl_tx_report tx_report; member