Home
last modified time | relevance | path

Searched refs:tx_report (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dtx.c142 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() local
148 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() local
158 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() local
178 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
[all …]
Dmain.c1615 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()
Dmain.h1731 struct rtw_tx_report tx_report; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dbase.c564 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() local
1574 __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() local
1624 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() local
1653 struct sk_buff_head *queue = &tx_report->queue; in rtl_tx_report_handler()
[all …]
Dwifi.h2764 struct rtl_tx_report tx_report; member