Searched refs:tx_report (Results 1 – 5 of 5) sorted by relevance
142 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() local148 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()154 struct rtw_dev *rtwdev = from_timer(rtwdev, t, tx_report.purge_timer); in rtw_tx_report_purge_timer()155 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_purge_timer() local158 if (skb_queue_len(&tx_report->queue) == 0) in rtw_tx_report_purge_timer()163 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()164 skb_queue_purge(&tx_report->queue); in rtw_tx_report_purge_timer()165 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()170 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enqueue() local178 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()[all …]
1615 timer_setup(&rtwdev->tx_report.purge_timer, in rtw_core_init()1630 skb_queue_head_init(&rtwdev->tx_report.queue); in rtw_core_init()1635 spin_lock_init(&rtwdev->tx_report.q_lock); in rtw_core_init()1694 spin_lock_irqsave(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()1695 skb_queue_purge(&rtwdev->tx_report.queue); in rtw_core_deinit()1696 spin_unlock_irqrestore(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
1731 struct rtw_tx_report tx_report; member
564 skb_queue_head_init(&rtlpriv->tx_report.queue); in rtl_init_core()1572 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_tx_ackqueue() local1574 __skb_queue_tail(&tx_report->queue, skb); in rtl_tx_ackqueue()1617 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_get_tx_report_sn() local1624 sn = (atomic_inc_return(&tx_report->sn) & 0x003F) << 2; in rtl_get_tx_report_sn()1626 tx_report->last_sent_sn = sn; in rtl_get_tx_report_sn()1627 tx_report->last_sent_time = jiffies; in rtl_get_tx_report_sn()1629 tx_info->send_time = tx_report->last_sent_time; in rtl_get_tx_report_sn()1651 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_tx_report_handler() local1653 struct sk_buff_head *queue = &tx_report->queue; in rtl_tx_report_handler()[all …]
2764 struct rtl_tx_report tx_report; member