Lines Matching refs:pstx_fb
63 static void cmpk_count_txstatistic(struct net_device *dev, struct cmd_pkt_tx_feedback *pstx_fb) in cmpk_count_txstatistic() argument
88 if (pstx_fb->tok) { in cmpk_count_txstatistic()
91 priv->stats.txokbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()
95 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic()
97 priv->stats.txbytesmulticast += pstx_fb->pkt_length; in cmpk_count_txstatistic()
98 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic()
100 priv->stats.txbytesbroadcast += pstx_fb->pkt_length; in cmpk_count_txstatistic()
103 priv->stats.txbytesunicast += pstx_fb->pkt_length; in cmpk_count_txstatistic()
108 priv->stats.txerrbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()
111 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic()
113 else if (pstx_fb->pkt_type == PACKET_BROADCAST) in cmpk_count_txstatistic()
119 priv->stats.txretrycount += pstx_fb->retry_cnt; in cmpk_count_txstatistic()
120 priv->stats.txfeedbackretry += pstx_fb->retry_cnt; in cmpk_count_txstatistic()