Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dtx.c137 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() local
143 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()
149 struct rtw_dev *rtwdev = from_timer(rtwdev, t, tx_report.purge_timer); in rtw_tx_report_purge_timer()
150 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_purge_timer() local
153 if (skb_queue_len(&tx_report->queue) == 0) in rtw_tx_report_purge_timer()
158 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
159 skb_queue_purge(&tx_report->queue); in rtw_tx_report_purge_timer()
160 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
165 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enqueue() local
173 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
[all …]
Dmain.c1151 timer_setup(&rtwdev->tx_report.purge_timer, in rtw_core_init()
1162 skb_queue_head_init(&rtwdev->tx_report.queue); in rtw_core_init()
1167 spin_lock_init(&rtwdev->tx_report.q_lock); in rtw_core_init()
1207 spin_lock_irqsave(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
1208 skb_queue_purge(&rtwdev->tx_report.queue); in rtw_core_deinit()
1209 spin_unlock_irqrestore(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
Dmain.h1352 struct rtw_tx_report tx_report; member
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dbase.c561 skb_queue_head_init(&rtlpriv->tx_report.queue); in rtl_init_core()
1571 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_tx_ackqueue() local
1573 __skb_queue_tail(&tx_report->queue, skb); in rtl_tx_ackqueue()
1616 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_get_tx_report_sn() local
1623 sn = (atomic_inc_return(&tx_report->sn) & 0x003F) << 2; in rtl_get_tx_report_sn()
1625 tx_report->last_sent_sn = sn; in rtl_get_tx_report_sn()
1626 tx_report->last_sent_time = jiffies; in rtl_get_tx_report_sn()
1628 tx_info->send_time = tx_report->last_sent_time; in rtl_get_tx_report_sn()
1650 struct rtl_tx_report *tx_report = &rtlpriv->tx_report; in rtl_tx_report_handler() local
1652 struct sk_buff_head *queue = &tx_report->queue; in rtl_tx_report_handler()
[all …]
Dwifi.h2765 struct rtl_tx_report tx_report; member