cvs commit: src/sys/netproto/802_11 ieee80211_ratectl.h src/sys/netproto/802_11/wlan_ratectl/amrr ieee80211_amrr_param.h ieee80211_ratectl_amrr.c src/sys/netproto/802_11/wlan_ratectl/onoe ieee80211_onoe_param.h ieee80211_ratectl_onoe.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Oct 24 07:42:42 PDT 2006


sephe       2006/10/24 07:39:45 PDT

DragonFly src repository

  Modified files:
    sys/netproto/802_11  ieee80211_ratectl.h 
    sys/netproto/802_11/wlan_ratectl/amrr ieee80211_ratectl_amrr.c 
    sys/netproto/802_11/wlan_ratectl/onoe ieee80211_ratectl_onoe.c 
  Added files:
    sys/netproto/802_11/wlan_ratectl/amrr ieee80211_amrr_param.h 
    sys/netproto/802_11/wlan_ratectl/onoe ieee80211_onoe_param.h 
  Log:
  Add support in ONOE/AMRR for drivers that can't provide per TX statistics:
  - Add callback function pointer ieee80211_ratectl_state.rc_st_state, which
    will be called periodically by ONOE/AMRR during their internal state
    updating.  This callback function pointer should return a
    ieee80211_ratectl_stats struct, which provides statistics concerning TX.
  - Add ieee80211_ratectl_state.rc_st_valid_stats bitmask.  It is used to
    tell ONOE/AMRR which fields of ieee80211_ratectl_stats are valid.
  - Make ONOE/AMRR spit out a warning message if driver can't provide per TX
    statistics and the statistics in ieee80211_ratectl_stats are not enough to
    do proper TX rate control.
  
  Drivers that can't provide per TX statistics should setup
  ieee80211_ratectl_state.rc_st_state and
  ieee80211_ratectl_state.rc_st_valid_stats before ieee80211_ifattach().
  
  Add ieee80211_ratectl_state.rc_st_param, it could be used by drivers to
  override TX rate control algorithm's default tunable values.  This field should
  be allocated, setup and freed in ieee80211_ratectl_state.rc_st_change.  Drivers
  that is going to override TX rate control algorithm's default tunable values
  should include specific TX rate control algorithm's parameter header file
  e.g. netproto/802_11/wlan_ratectl/ieee80211_amrr_param.h
  
  Revision  Changes    Path
  1.3       +27 -4     src/sys/netproto/802_11/ieee80211_ratectl.h
  1.5       +70 -4     src/sys/netproto/802_11/wlan_ratectl/amrr/ieee80211_ratectl_amrr.c
  1.4       +50 -3     src/sys/netproto/802_11/wlan_ratectl/onoe/ieee80211_ratectl_onoe.c


http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211_ratectl.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan_ratectl/amrr/ieee80211_ratectl_amrr.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan_ratectl/onoe/ieee80211_ratectl_onoe.c.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list