ath5k: disable 5 GHz support for the dualband PHY chip on dual-radio AR5312
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Apr 2011 19:56:46 +0000 (21:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Apr 2011 19:35:10 +0000 (15:35 -0400)
There are two variants of AR5312 dual-band devices, one single-radio
and the other one dual-radio. On the dual-radio board, the first MAC
only supports 5 GHz, even though it has a dual-band PHY. The 2.4 GHz
part of this phy is used in pass-through mode, connecting the second
MAC with the second PHY.
Disable 2.4 GHz for the first MAC on an AR5312, but only if the board
configuration indicates a dual-radio device.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ahb.c
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.h

Simple merge
Simple merge