Changes between Version 2 and Version 3 of Internal/WinlabMadwifi/RateControl


Ignore:
Timestamp:
Nov 11, 2005, 9:33:55 PM (19 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/WinlabMadwifi/RateControl

    v2 v3  
    2020
    2121=== 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.
     22when 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.
    2323{{{
    2424                        if (ic->ic_fixed_rate == -1) {
     
    4242=== When statistics are collected? ===
    4343
    44 After the packet is transmitted, function
    45   ''ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)'' is executed. In this function,
     44After 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.
    4646{{{
    4747   sr = ds->ds_txstat.ts_shortretry;