This patch series addresses two related issues with downloading RF calibration data in the mwifiex driver. The first patch resolves the problem of calibration data being prematurely released before the download process. The second patch focuses on restoring the functionality to download RF calibration data from a file, which was broken by a previous commit. These fixes ensure proper handling of calibration data while avoiding any impact on downloading configuration data from the device tree. Typically, calibration data comes from OTP/EEPROM. This patch merely enables the functionality to download CAL data to the firmware from a file and does not require backporting to stable versions. --- **Changelog**: v4: - Patch 1: Clarified the title and included the Fixes tag. - Patch 2: Refactored the patch to ensure that changes for restoring file-based RF calibration data downloads do not impact the functionality for downloading configuration data from the device tree. Added detailed explanation about the potential impact on device tree-based calibration data downloads. v3: - Split the patch into two separate parts for better clarity. - Improved commit messages to provide more context about the issues being addressed. v2: - Expanded the commit messages with detailed descriptions of the problems and their impact. - Highlighted the premature release of calibration data before the download process. v1: - Initial submission. Focused on correcting the command format for downloading calibration data. Jeff Chen (2): wifi: mwifiex: Fix premature release of RF calibration data. wifi: mwifiex: Fix RF calibration data download from file drivers/net/wireless/marvell/mwifiex/fw.h | 14 ++++++++++++++ drivers/net/wireless/marvell/mwifiex/main.c | 4 ---- drivers/net/wireless/marvell/mwifiex/sta_cmd.c | 17 ++++++++++++++--- 3 files changed, 28 insertions(+), 7 deletions(-) -- 2.34.1