- Try adjusting TX power as much as possible when doing the initial TX power
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 15 Feb 2008 11:15:38 +0000 (11:15 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 15 Feb 2008 11:15:38 +0000 (11:15 +0000)
commitba620a949948cdfa302b0095e7856c01363a26b4
tree3ee351229168de1f97e7548f84b78f1d89a2815a
parentc3d57e45831c8d9e3b85b41d031eb8d69b406cd2
- Try adjusting TX power as much as possible when doing the initial TX power
  calibration.  Also the second TX power calibration happens 1 second after
  the initial TX power calibration.  if streams are pushed immediately after
  NIC is brought up, this makes thing work much better for most of the 4306
  BBP, whose default TX power seems to be far away from the max TX power.
- Add some experimental (commented out) code to force TX power downgrade.
- For parts whose MAC rev >= 5, if PHY error happens, try resetting NIC but
  keep 802.11 state machine untouched.  PHY error usually happens when you
  roam into a signal dark corner, originally even if you walk the NIC out of
  the signal dark corner, TX performance still sucks; after this change, TX
  performance will stay on the right rank.  Heavy beacon missing that is
  enough to trigger reassoc/rescan does not seem to happen even if in this
  signal dark corner.
sys/dev/netif/bwi/bwimac.c
sys/dev/netif/bwi/bwimac.h
sys/dev/netif/bwi/if_bwi.c
sys/dev/netif/bwi/if_bwivar.h