Changes between Version 2 and Version 3 of Internal/WinlabMadwifi/RateControl
- Timestamp:
- Nov 11, 2005, 9:33:55 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/WinlabMadwifi/RateControl
v2 v3 20 20 21 21 === When the rate is determined? === 22 when a packet is xmitted, a rate has to be determined associate with this packet. This is done by ''ath_tx_start(struct net_device *dev, struct ieee80211_node *ni, struct ath_buf *bf, struct sk_buff *skb)'' function. 22 when a packet is xmitted, a rate has to be determined associate with this packet. This is done by ''ath_tx_start(struct net_device *dev, struct ieee80211_node *ni, struct ath_buf *bf, struct sk_buff *skb)'' function. A call to '''ath_rate_findrate''' will fill the pointer to '''txrate''' and tis rate will be passed into tx-descriptor. 23 23 {{{ 24 24 if (ic->ic_fixed_rate == -1) { … … 42 42 === When statistics are collected? === 43 43 44 After the packet is transmitted, function 45 ''ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)'' is executed. In this function, 44 After the packet is transmitted, function ''ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)'' is executed. In this function, 45 ''' ath_rate_tx_complete''' will be called. 46 46 {{{ 47 47 sr = ds->ds_txstat.ts_shortretry;