ath79: enable LNA for all ar9344 TPLink CPE devices
The TPLink CPE devices CPE210/CPE510 based on ar9344 have a build-in Low Noise Amplifier on both of the 2x2 mimo rx chains. This patch activates those two LNAs in the respective receiving chains and hence improves the RX sensitivity by about 20dB. Tested on CPE510 v2 & v3. Signed-off-by: Thomas Huehn <thomas.huehn@hs-nordhausen.de> Acked-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
		 Thomas Huehn
					Thomas Huehn
				
			
				
					committed by
					
						 Adrian Schmutzler
						Adrian Schmutzler
					
				
			
			
				
	
			
			
			 Adrian Schmutzler
						Adrian Schmutzler
					
				
			
						parent
						
							36db12b883
						
					
				
				
					commit
					f330f991c1
				
			| @@ -114,3 +114,19 @@ | |||||||
| ð1 { | ð1 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &gpio { | ||||||
|  | 	gpio_ext_lna0 { | ||||||
|  | 		gpio-hog; | ||||||
|  | 		gpios = <18 GPIO_ACTIVE_HIGH>; | ||||||
|  | 		output-high; | ||||||
|  | 		line-name = "tp-link:ext:lna0"; | ||||||
|  | 	}; | ||||||
|  |  | ||||||
|  | 	gpio_ext_lna1 { | ||||||
|  | 		gpio-hog; | ||||||
|  | 		gpios = <19 GPIO_ACTIVE_HIGH>; | ||||||
|  | 		output-high; | ||||||
|  | 		line-name = "tp-link:ext:lna1"; | ||||||
|  | 	}; | ||||||
|  | }; | ||||||
|   | |||||||
| @@ -44,22 +44,6 @@ | |||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| &gpio { |  | ||||||
| 	gpio_ext_lna0 { |  | ||||||
| 		gpio-hog; |  | ||||||
| 		gpios = <18 0>; |  | ||||||
| 		output-high; |  | ||||||
| 		line-name = "tp-link:ext:lna0"; |  | ||||||
| 	}; |  | ||||||
|  |  | ||||||
| 	gpio_ext_lna1 { |  | ||||||
| 		gpio-hog; |  | ||||||
| 		gpios = <19 0>; |  | ||||||
| 		output-high; |  | ||||||
| 		line-name = "tp-link:ext:lna1"; |  | ||||||
| 	}; |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| ð1 { | ð1 { | ||||||
| 	mtd-mac-address = <&info 0x8>; | 	mtd-mac-address = <&info 0x8>; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user