commit cb3f65fc411f304b8ed5727834f2f8f38821a0f6
Author: Pau Escrich <p4u@dabax.net>
Date:   Sun Aug 3 13:54:56 2014 +0200

    Add regdb patch
    Remove specific target for alix
    Add support for two new tplink routers
    Remove files from gitignore

diff --git a/.gitignore b/.gitignore
index 43f21ad..089a88c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,3 @@ dl
 images
 build
 .config
-files
diff --git a/configs/targets/alix b/configs/targets/alix
deleted file mode 100644
index 4c4bc50..0000000
--- a/configs/targets/alix
+++ /dev/null
@@ -1,2 +0,0 @@
-CONFIG_TARGET_x86_alix2=y
-CONFIG_TARGET_x86_alix2_Default=y
diff --git a/scripts/files/920-regdb.patch b/scripts/files/920-regdb.patch
new file mode 100644
index 0000000..778b040
--- /dev/null
+++ b/scripts/files/920-regdb.patch
@@ -0,0 +1,53 @@
+--- a/drivers/net/wireless/ath/regd.c	2014-07-03 17:53:28.000000000 +0200
++++ b/drivers/net/wireless/ath/regd.c	2014-07-03 17:52:53.000000000 +0200
+@@ -80,9 +80,8 @@
+ static const struct ieee80211_regdomain ath_world_regdom_63_65 = {
+ 	.alpha2 =  "99",
+ 	REGD_RULES(
+-		ATH9K_2GHZ_CH01_11,
+-		ATH9K_2GHZ_CH12_13,
+-		ATH9K_5GHZ_NO_MIDBAND,
++		ATH9K_2GHZ_ALL,
++		ATH9K_5GHZ_ALL,
+ 	)
+ };
+ 
+@@ -90,8 +89,8 @@
+ static const struct ieee80211_regdomain ath_world_regdom_64 = {
+ 	.alpha2 =  "99",
+ 	REGD_RULES(
+-		ATH9K_2GHZ_CH01_11,
+-		ATH9K_5GHZ_NO_MIDBAND,
++		ATH9K_2GHZ_ALL,
++		ATH9K_5GHZ_ALL,
+ 	)
+ };
+ 
+@@ -99,7 +98,7 @@
+ static const struct ieee80211_regdomain ath_world_regdom_66_69 = {
+ 	.alpha2 =  "99",
+ 	REGD_RULES(
+-		ATH9K_2GHZ_CH01_11,
++		ATH9K_2GHZ_ALL,
+ 		ATH9K_5GHZ_ALL,
+ 	)
+ };
+@@ -108,8 +107,7 @@
+ static const struct ieee80211_regdomain ath_world_regdom_67_68_6A_6C = {
+ 	.alpha2 =  "99",
+ 	REGD_RULES(
+-		ATH9K_2GHZ_CH01_11,
+-		ATH9K_2GHZ_CH12_13,
++		ATH9K_2GHZ_ALL,
+ 		ATH9K_5GHZ_ALL,
+ 	)
+ };
+@@ -256,7 +254,7 @@
+ /* Frequency is one where radar detection is required */
+ static bool ath_is_radar_freq(u16 center_freq)
+ {
+-	return (center_freq >= 5260 && center_freq <= 5700);
++	return false;
+ }
+ 
+ static void ath_force_clear_no_ir_chan(struct wiphy *wiphy,
diff --git a/scripts/files/regdb.txt b/scripts/files/regdb.txt
index 5b6d470..b1d5597 100644
--- a/scripts/files/regdb.txt
+++ b/scripts/files/regdb.txt
@@ -791,10 +791,10 @@ country UA: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country US: DFS-FCC
+country US:
 	(2402 - 2472 @ 40), (30)
-	(5170 - 5250 @ 80), (17)
-	(5250 - 5330 @ 80), (23), DFS
+	(5170 - 5250 @ 80), (30)
+	(5250 - 5330 @ 80), (30)
 	(5735 - 5835 @ 80), (30)
 	# 60g band
 	# reference: http://cfr.regstoday.com/47cfr15.aspx#47_CFR_15p255
diff --git a/targets.mk b/targets.mk
index 18d27c6..060f4ef 100644
--- a/targets.mk
+++ b/targets.mk
@@ -238,6 +238,24 @@ ifeq ($(T),tl-wdr4300)
   SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin
 endif
 
+ifeq ($(T),tl-wr743nd)
+  NAME:=Tplink743nd
+  ARCH:=ar71xx
+  TBUILD:=openwrt
+  PROFILE:=ath-qmp-tiny-node
+  IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr743nd-v1-squashfs-factory.bin
+  SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr743nd-v1-squashfs-sysupgrade.bin
+endif
+
+ifeq ($(T),tl-wr740n)
+  NAME:=Tplink740n
+  ARCH:=ar71xx
+  TBUILD:=openwrt
+  PROFILE:=ath-qmp-tiny-node
+  IMAGE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr740n-v1-squashfs-factory.bin
+  SYSUPGRADE:=bin/$(ARCH)/openwrt-ar71xx-generic-tl-wr740n-v1-squashfs-sysupgrade.bin
+endif
+
 ifeq ($(T),wpe72)
   NAME:=CompexWPE72
   ARCH:=ar71xx
