Device is booted in factory test mode to calibrate the board. The commands are sent from a userspace application, which is sent to firmware using wmi commands. Firmware will send the response back to the application which stores the calibration data in caldata.bin file. This file will be loaded when the device boots up normally next time. Govindaraj Saminathan (3): wifi: ath11k: remove unused function ath11k_tm_event_wmi wifi: ath11k: optimize ath11k_tm_cmd_get_version wifi: ath11k: factory test mode support Sowmiya Sree Elavalagan (1): wifi: ath11k: Allow ath11k to boot without caldata in ftm mode --- v4: - used pending branch commit as baseline for v4. v3: - added Tested-on tag in patch 1/4 and 2/4. v2: - added separate patch for removal of ath11k_tm_event_wmi() - added separate patch for changes in ath11k_tm_cmd_get_version() - removed unused cmd and updated documentation for enum ath11k_tm_cmd - changed warning print to debug print --- drivers/net/wireless/ath/ath11k/ahb.c | 3 +- drivers/net/wireless/ath/ath11k/core.c | 21 +- drivers/net/wireless/ath/ath11k/core.h | 16 +- drivers/net/wireless/ath/ath11k/debug.h | 1 + drivers/net/wireless/ath/ath11k/mac.c | 11 +- drivers/net/wireless/ath/ath11k/pci.c | 3 +- drivers/net/wireless/ath/ath11k/qmi.c | 10 +- drivers/net/wireless/ath/ath11k/testmode.c | 363 ++++++++++++++++--- drivers/net/wireless/ath/ath11k/testmode.h | 7 +- drivers/net/wireless/ath/ath11k/testmode_i.h | 18 +- drivers/net/wireless/ath/ath11k/wmi.c | 11 +- drivers/net/wireless/ath/ath11k/wmi.h | 22 ++ drivers/net/wireless/ath/ath11k/wow.c | 3 +- 13 files changed, 422 insertions(+), 67 deletions(-) base-commit: 610b78b97bad8f3e77c27a15e9a03cbbb4109697 -- 2.17.1