- Define 802.11 modulation types as 'enum ieee80211_modtype'.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 1 Apr 2007 13:59:41 +0000 (13:59 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 1 Apr 2007 13:59:41 +0000 (13:59 +0000)
commit0dba45fe89dc25bbcff467d62b6e007d9fdb2993
treea75d611f33bfff73d54bf11ea347c02241a84701
parent6f4cde9262f2a0e9bda8b8db51920140839f108b
- Define 802.11 modulation types as 'enum ieee80211_modtype'.
- Expose ieee80211_rate2modtype() for pubic use.
- Add definition for DIFS, slot time and contention window.
- Add addition field in TX rate control state structure, so drivers can
  give hints to TX rate control algorithms about their capabilities.
- Add Sample TX rate control support:
  http://www.pdos.lcs.mit.edu/papers/jbicket-ms.pdf
  It is factored out and adapted from the one in ath(4).
- In ieee80211_ratectl.h, expose only IEEE80211_RATECTL_{ONOE,AMRR,SAMPLE}
  for user space program.
- Teach ifconfig(8) to show and set Sample TX rate control algorithm.
- Fix a node leakage on rt2560_tx_mgt() error handling path.
- Support Onoe and Sample TX rate control algorithm in 2560 part of
  ral(4), and use Sample TX rate control algorithm as the default TX
  rate control algorithm. [*]
- Make ral(4) depend on wlan_ratectl_{onoe,sample}.
- Hook Sample TX rate control algorithm into GENERIC and LINT.

# [*]
# If Sample TX rate control algorithm is used, I get almost 100~200%
# UDP_STREAM netperf TX performance boost than the original TX rate
# control algorithm in open/noisy enviroments, and +200~500Kbits/s
# UDP_STREAM netperf TX performance boost under good conditions.
19 files changed:
sbin/ifconfig/ifieee80211.c
sys/conf/files
sys/config/GENERIC
sys/config/LINT
sys/dev/netif/ral/Makefile
sys/dev/netif/ral/if_ral_pci.c
sys/dev/netif/ral/rt2560.c
sys/dev/netif/ral/rt2560var.h
sys/netproto/802_11/_ieee80211.h
sys/netproto/802_11/ieee80211.h
sys/netproto/802_11/ieee80211_ratectl.h
sys/netproto/802_11/ieee80211_var.h
sys/netproto/802_11/wlan/ieee80211.c
sys/netproto/802_11/wlan/ieee80211_output.c
sys/netproto/802_11/wlan/ieee80211_ratectl.c
sys/netproto/802_11/wlan_ratectl/Makefile
sys/netproto/802_11/wlan_ratectl/sample/Makefile [new file with mode: 0644]
sys/netproto/802_11/wlan_ratectl/sample/ieee80211_ratectl_sample.c [new file with mode: 0644]
sys/netproto/802_11/wlan_ratectl/sample/ieee80211_ratectl_sample.h [new file with mode: 0644]