Changes between Version 5 and Version 6 of Internal/WinlabMadwifi/RateControl


Ignore:
Timestamp:
Nov 11, 2005, 10:35:43 PM (19 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/WinlabMadwifi/RateControl

    v5 v6  
    3838}}}
    3939
     40
     41
     42
     43
    4044=== When statistics are collected? ===
    4145
     
    5761''sc'' contains updated statistics and will be read by rate control module.
    5862
    59 == The purpose of a rate-control module? ==
     63== Rate-control modules ==
     64
     65== Function: ath_rate_findrate ==
     66
     67This function takes following parameters:
     68 * '''struct ath_softc * sc''' :local priv in driver
     69 * ''' struct ath_node * an''' : Destination Node
     70 * int shortPreamble,
     71 * '''size_t frameLen''' : used by SampleRate algorithm to calculate throughput for a certain packet length bin.
     72 * u_int8_t *rix,
     73 * int *try0 : return to show how many attempts should be used for this txrate.
     74 * u_int8_t *txrate : return the transmit rate.
     75 
     76
     77
     78
     79