X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Fath10k-ct%2Fpatches%2F120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch;fp=package%2Fkernel%2Fath10k-ct%2Fpatches%2F120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch;h=c935d8575eed2eeee3acfcbc024b01a9216f765e;hb=ab97b2a25d69215dcc0d9621e491aa7b17f315cb;hp=2a4b09ac271fa227b48b9f259d81c5c3283a66af;hpb=6eec1a522518435d78763c3c66881b438cd5fa0e;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/package/kernel/ath10k-ct/patches/120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch b/package/kernel/ath10k-ct/patches/120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch index 2a4b09ac27..c935d8575e 100644 --- a/package/kernel/ath10k-ct/patches/120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch +++ b/package/kernel/ath10k-ct/patches/120-ath10k-fetch-calibration-data-via-nvmem-subsystem.patch @@ -34,7 +34,7 @@ Signed-off-by: Christian Lamparter #include #include -@@ -988,7 +989,8 @@ static int ath10k_core_get_board_id_from +@@ -1005,7 +1006,8 @@ static int ath10k_core_get_board_id_from } if (ar->cal_mode == ATH10K_PRE_CAL_MODE_DT || @@ -44,7 +44,7 @@ Signed-off-by: Christian Lamparter bmi_board_id_param = BMI_PARAM_GET_FLASH_BOARD_ID; else bmi_board_id_param = BMI_PARAM_GET_EEPROM_BOARD_ID; -@@ -2087,7 +2089,8 @@ static int ath10k_download_and_run_otp(s +@@ -2115,7 +2117,8 @@ static int ath10k_download_and_run_otp(s /* As of now pre-cal is valid for 10_4 variants */ if (ar->cal_mode == ATH10K_PRE_CAL_MODE_DT || @@ -54,7 +54,7 @@ Signed-off-by: Christian Lamparter bmi_otp_exe_param = BMI_PARAM_FLASH_SECTION_ALL; ret = ath10k_bmi_execute(ar, address, bmi_otp_exe_param, &result); -@@ -2221,6 +2224,39 @@ struct ath10k_bss_rom_ie { +@@ -2249,6 +2252,39 @@ struct ath10k_bss_rom_ie { __le32 rom_len; } __packed; @@ -94,7 +94,7 @@ Signed-off-by: Christian Lamparter int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name, struct ath10k_fw_file *fw_file) { -@@ -2597,6 +2633,18 @@ static int ath10k_core_pre_cal_download( +@@ -2625,6 +2661,18 @@ static int ath10k_core_pre_cal_download( { int ret; @@ -113,7 +113,7 @@ Signed-off-by: Christian Lamparter ret = ath10k_download_cal_file(ar, ar->pre_cal_file); if (ret == 0) { ar->cal_mode = ATH10K_PRE_CAL_MODE_FILE; -@@ -2663,6 +2711,18 @@ static int ath10k_download_cal_data(stru +@@ -2691,6 +2739,18 @@ static int ath10k_download_cal_data(stru "pre cal download procedure failed, try cal file: %d\n", ret);