[PATCH] rt2x00: Implement SW diversity
When mac80211 indicates that the default antenna setup should be used _and_ that this default setup is SW_DIVERSITY. This requires sampling and storing the RSSI per antenna and check once every 2 seconds to determine if the RSSI has changed significantly. Once this is the case we should sample the other antenna for a short period and evaluate if we need to swap antenna or not. Signed-off-by:Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/wireless/rt2x00/rt2x00.h 72 additions, 15 deletionsdrivers/net/wireless/rt2x00/rt2x00.h
- drivers/net/wireless/rt2x00/rt2x00config.c 23 additions, 3 deletionsdrivers/net/wireless/rt2x00/rt2x00config.c
- drivers/net/wireless/rt2x00/rt2x00dev.c 135 additions, 3 deletionsdrivers/net/wireless/rt2x00/rt2x00dev.c
- drivers/net/wireless/rt2x00/rt2x00lib.h 2 additions, 0 deletionsdrivers/net/wireless/rt2x00/rt2x00lib.h
Loading
Please register or sign in to comment