===================================================================
@@ -0,0 +1,15 @@
+Flag that this platform is an Ubiquiti UniFi Outdoor Plus
+containing a RF filter in ath9k's receive path.
+
+Signed-off-by: Stefan Rompf <stefan@loplof.de>
+
+--- mac80211/include/linux/ath9k_platform.h.orig 2015-06-15 22:18:46.000000000 +0200
++++ mac80211/include/linux/ath9k_platform.h 2015-06-15 22:15:23.000000000 +0200
+@@ -36,6 +36,7 @@
+ bool tx_gain_buffalo;
+ bool disable_2ghz;
+ bool disable_5ghz;
++ bool ubnt_hsr;
+
+ int (*get_mac_revision)(void);
+ int (*external_reset)(void);
===================================================================
@@ -0,0 +1,15 @@
+Flag that this platform is an Ubiquiti UniFi Outdoor Plus
+containing a RF filter in ath9k's receive path.
+
+Signed-off-by: Stefan Rompf <stefan@loplof.de>
+
+--- linux-3.18.14/include/linux/ath9k_platform.h.orig 2015-06-15 22:18:46.000000000 +0200
++++ linux-3.18.14/include/linux/ath9k_platform.h 2015-06-15 22:15:23.000000000 +0200
+@@ -36,6 +36,7 @@
+ bool tx_gain_buffalo;
+ bool disable_2ghz;
+ bool disable_5ghz;
++ bool ubnt_hsr;
+
+ int (*get_mac_revision)(void);
+ int (*external_reset)(void);
===================================================================
@@ -254,6 +254,7 @@
+ ath79_register_eth(0);
+ ath79_register_eth(1);
+
++ ap9x_pci_get_wmac_data(0)->ubnt_hsr = true;
+ ap91_pci_init(ee, NULL);
+
+ ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_outdoor_plus_leds_gpio),
Add ubnt_hsr flag to struct ath9k_platform_data and enable it for the Outdoor Plus access point so that the availability ot the HSR filter can be detected by the ath9k driver at runtime. Signed-off-by: Stefan Rompf <stefan@loplof.de> ---