Lines Matching refs:rtwdev

11 void rtw_tx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif,  in rtw_tx_stats()  argument
24 rtwdev->stats.tx_unicast += skb->len; in rtw_tx_stats()
25 rtwdev->stats.tx_cnt++; in rtw_tx_stats()
31 rtw_leave_lps_irqsafe(rtwdev, rtwvif); in rtw_tx_stats()
80 static u8 get_highest_ht_tx_rate(struct rtw_dev *rtwdev, in get_highest_ht_tx_rate() argument
85 if (rtwdev->hal.rf_type == RF_2T2R && sta->ht_cap.mcs.rx_mask[1] != 0) in get_highest_ht_tx_rate()
93 static u8 get_highest_vht_tx_rate(struct rtw_dev *rtwdev, in get_highest_vht_tx_rate() argument
96 struct rtw_efuse *efuse = &rtwdev->efuse; in get_highest_vht_tx_rate()
134 static void rtw_tx_report_enable(struct rtw_dev *rtwdev, in rtw_tx_report_enable() argument
137 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable()
149 struct rtw_dev *rtwdev = from_timer(rtwdev, t, tx_report.purge_timer); in rtw_tx_report_purge_timer() local
150 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_purge_timer()
163 void rtw_tx_report_enqueue(struct rtw_dev *rtwdev, struct sk_buff *skb, u8 sn) in rtw_tx_report_enqueue() argument
165 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enqueue()
181 static void rtw_tx_report_tx_status(struct rtw_dev *rtwdev, in rtw_tx_report_tx_status() argument
193 ieee80211_tx_status_irqsafe(rtwdev->hw, skb); in rtw_tx_report_tx_status()
196 void rtw_tx_report_handle(struct rtw_dev *rtwdev, struct sk_buff *skb) in rtw_tx_report_handle() argument
198 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_handle()
215 rtw_tx_report_tx_status(rtwdev, cur, st == 0); in rtw_tx_report_handle()
222 static void rtw_tx_mgmt_pkt_info_update(struct rtw_dev *rtwdev, in rtw_tx_mgmt_pkt_info_update() argument
232 static void rtw_tx_data_pkt_info_update(struct rtw_dev *rtwdev, in rtw_tx_data_pkt_info_update() argument
264 rate = get_highest_vht_tx_rate(rtwdev, sta); in rtw_tx_data_pkt_info_update()
266 rate = get_highest_ht_tx_rate(rtwdev, sta); in rtw_tx_data_pkt_info_update()
291 void rtw_tx_pkt_info_update(struct rtw_dev *rtwdev, in rtw_tx_pkt_info_update() argument
296 struct rtw_chip_info *chip = rtwdev->chip; in rtw_tx_pkt_info_update()
311 rtw_tx_mgmt_pkt_info_update(rtwdev, pkt_info, control, skb); in rtw_tx_pkt_info_update()
313 rtw_tx_data_pkt_info_update(rtwdev, pkt_info, control, skb); in rtw_tx_pkt_info_update()
336 rtw_tx_report_enable(rtwdev, pkt_info); in rtw_tx_pkt_info_update()
346 rtw_tx_stats(rtwdev, vif, skb); in rtw_tx_pkt_info_update()
349 void rtw_rsvd_page_pkt_info_update(struct rtw_dev *rtwdev, in rtw_rsvd_page_pkt_info_update() argument
353 struct rtw_chip_info *chip = rtwdev->chip; in rtw_rsvd_page_pkt_info_update()