[Madwifi-cvs] madwifi/ath if_ath.c,1.36.2.61,1.36.2.62
Status: Beta
Brought to you by:
otaku
From: John B. <jb...@us...> - 2005-05-10 17:51:42
|
Update of /cvsroot/madwifi/madwifi/ath In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8271 Modified Files: Tag: BSD if_ath.c Log Message: set correct tx_queue_len for rawdev, and also update trans_start correctly. Index: if_ath.c =================================================================== RCS file: /cvsroot/madwifi/madwifi/ath/if_ath.c,v retrieving revision 1.36.2.61 retrieving revision 1.36.2.62 diff -C2 -d -r1.36.2.61 -r1.36.2.62 *** if_ath.c 3 May 2005 19:24:58 -0000 1.36.2.61 --- if_ath.c 10 May 2005 17:51:23 -0000 1.36.2.62 *************** *** 1559,1563 **** sc->sc_devstats.tx_packets++; sc->sc_devstats.tx_bytes += skb->len; ! dev->trans_start = jiffies; return 0; --- 1559,1564 ---- sc->sc_devstats.tx_packets++; sc->sc_devstats.tx_bytes += skb->len; ! sc->sc_dev.trans_start = jiffies; ! sc->sc_rawdev.trans_start = jiffies; return 0; *************** *** 4320,4323 **** --- 4321,4325 ---- dev->trans_start = jiffies; + sc->sc_rawdev.trans_start = jiffies; return 0; #undef updateCTSForBursting *************** *** 4624,4627 **** --- 4626,4631 ---- } sc->sc_dev.trans_start = jiffies; + sc->sc_rawdev.trans_start = jiffies; + netif_start_queue(&sc->sc_dev); // TODO: needed here? if (sc->sc_rawdev_enabled) *************** *** 5290,5294 **** rawdev->set_multicast_list = NULL; rawdev->get_stats = ath_getstats; ! rawdev->tx_queue_len = 0; rawdev->flags |= IFF_NOARP; rawdev->flags &= ~IFF_MULTICAST; --- 5294,5298 ---- rawdev->set_multicast_list = NULL; rawdev->get_stats = ath_getstats; ! rawdev->tx_queue_len = ATH_TXBUF; rawdev->flags |= IFF_NOARP; rawdev->flags &= ~IFF_MULTICAST; |