Diversity and Antenna code cleanup:
authormentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 10 Jun 2008 15:32:45 +0000 (15:32 +0000)
committermentor <mentor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 10 Jun 2008 15:32:45 +0000 (15:32 +0000)
commitcc4fba0582e0f97ca2da130482caccffd92d0c0c
tree5e4bff63a899c4215935030b4d91877633bf4e6c
parentb5b0838767634f7effecb29bd34397db2c73b726
Diversity and Antenna code cleanup:
 * Tidy, including refactoring and variable rename for clarity and consistency
 * Move some variable initialisation out of sysctl register where it does not belong.
 * Only change antenna based on RX traffic if both diversity and an RX antenna is not set
 * Set HW/HAL diversity setting on HW/HAL reset

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3717 0192ed92-7a03-0410-a25b-9323aeb14dbd
ath/if_ath.c
ath/if_athvar.h