Home
last modified time | relevance | path

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

/drivers/net/wireless/realtek/rtw88/
Dtx.c146 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() local
152 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()
158 struct rtw_dev *rtwdev = from_timer(rtwdev, t, tx_report.purge_timer); in rtw_tx_report_purge_timer()
159 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_purge_timer() local
162 if (skb_queue_len(&tx_report->queue) == 0) in rtw_tx_report_purge_timer()
167 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
168 skb_queue_purge(&tx_report->queue); in rtw_tx_report_purge_timer()
169 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
174 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enqueue() local
182 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
[all …]
Dmain.c1819 timer_setup(&rtwdev->tx_report.purge_timer, in rtw_core_init()
1843 skb_queue_head_init(&rtwdev->tx_report.queue); in rtw_core_init()
1848 spin_lock_init(&rtwdev->tx_report.q_lock); in rtw_core_init()
1910 spin_lock_irqsave(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
1911 skb_queue_purge(&rtwdev->tx_report.queue); in rtw_core_deinit()
1913 spin_unlock_irqrestore(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
Dmain.h1866 struct rtw_tx_report tx_report; member
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c563 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.h2764 struct rtl_tx_report tx_report; member