ath79: fix 5GHz on QCA9886 variant of ZTE MF286
Recently, a strange variant of ZTE MF286 was discovered, having QCA9886 radio instead of QCA9882 - like MF286A, but having MF286 flash layout and rest of hardware. To support both variants in one image, bind calibration data at offset 0x5000 both as "calibration" and "pre-calibration" nvmem-cells, so ath10k can load caldata for both at runtime. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
		 Lech Perczak
					Lech Perczak
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							8d618a3186
						
					
				
				
					commit
					25eead21c5
				
			| @@ -119,8 +119,8 @@ | |||||||
| }; | }; | ||||||
|  |  | ||||||
| &wifi_ath10k { | &wifi_ath10k { | ||||||
| 	nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>; | 	nvmem-cells = <&macaddr_mac_0>, <&cal_caldata_5000>, <&cal_caldata_5000>; | ||||||
| 	nvmem-cell-names = "mac-address", "calibration"; | 	nvmem-cell-names = "mac-address", "calibration", "pre-calibration"; | ||||||
| 	mac-address-increment = <1>; | 	mac-address-increment = <1>; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -426,8 +426,8 @@ TARGET_DEVICES += zte_mf282 | |||||||
| define Device/zte_mf286 | define Device/zte_mf286 | ||||||
|   $(Device/zte_mf28x_common) |   $(Device/zte_mf28x_common) | ||||||
|   DEVICE_MODEL := MF286 |   DEVICE_MODEL := MF286 | ||||||
|   DEVICE_PACKAGES += ath10k-firmware-qca988x-ct kmod-usb-net-qmi-wwan \ |   DEVICE_PACKAGES += ath10k-firmware-qca988x-ct ath10k-firmware-qca9888-ct \ | ||||||
| 	kmod-usb-serial-option uqmi | 	kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi | ||||||
| endef | endef | ||||||
| TARGET_DEVICES += zte_mf286 | TARGET_DEVICES += zte_mf286 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user