b43: AC-PHY: prepare place for developing new PHY support

There are new (not anymore?) Broadcom 802.11ac wireless cards based on
chipsets like BCM4352 and BCM4360. They use a new PHY type (called
simply AC) that will require new specific code.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Šī revīzija ir iekļauta:
Rafał Miłecki
2015-01-25 18:01:37 +01:00
revīziju iesūtīja Kalle Valo
vecāks 86144b01a2
revīzija 3f7bb3f34c
7 mainīti faili ar 160 papildinājumiem un 1 dzēšanām

Parādīt failu

@@ -4543,6 +4543,12 @@ static int b43_phy_versioning(struct b43_wldev *dev)
if (phy_rev > 1)
unsupported = 1;
break;
#endif
#ifdef CONFIG_B43_PHY_AC
case B43_PHYTYPE_AC:
if (phy_rev > 1)
unsupported = 1;
break;
#endif
default:
unsupported = 1;
@@ -4640,6 +4646,10 @@ static int b43_phy_versioning(struct b43_wldev *dev)
if (radio_id != 0x2064)
unsupported = 1;
break;
case B43_PHYTYPE_AC:
if (radio_id != 0x2069)
unsupported = 1;
break;
default:
B43_WARN_ON(1);
}