mbox series

[v2,0/4] ath11k: factory test mode support

Message ID 20230420113653.1686-1-quic_rajkbhag@quicinc.com
Headers show
Series ath11k: factory test mode support | expand

Message

Raj Kumar Bhagat April 20, 2023, 11:36 a.m. UTC
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

---
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       |  20 +-
 drivers/net/wireless/ath/ath11k/core.h       |  15 +-
 drivers/net/wireless/ath/ath11k/mac.c        |  13 +-
 drivers/net/wireless/ath/ath11k/pci.c        |   3 +-
 drivers/net/wireless/ath/ath11k/qmi.c        |  10 +-
 drivers/net/wireless/ath/ath11k/testmode.c   | 320 ++++++++++++++++---
 drivers/net/wireless/ath/ath11k/testmode.h   |  20 +-
 drivers/net/wireless/ath/ath11k/testmode_i.h |  16 +
 drivers/net/wireless/ath/ath11k/wmi.c        |  40 ++-
 drivers/net/wireless/ath/ath11k/wmi.h        |  20 ++
 drivers/net/wireless/ath/ath11k/wow.c        |   3 +-
 12 files changed, 419 insertions(+), 64 deletions(-)


base-commit: 12f167f02a1abe2c8817496a902de00758285b92

Comments

Raj Kumar Bhagat April 20, 2023, 12:01 p.m. UTC | #1
On 4/20/2023 5:06 PM, Raj Kumar Bhagat wrote:
> 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
> 
> ---
> 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       |  20 +-
>  drivers/net/wireless/ath/ath11k/core.h       |  15 +-
>  drivers/net/wireless/ath/ath11k/mac.c        |  13 +-
>  drivers/net/wireless/ath/ath11k/pci.c        |   3 +-
>  drivers/net/wireless/ath/ath11k/qmi.c        |  10 +-
>  drivers/net/wireless/ath/ath11k/testmode.c   | 320 ++++++++++++++++---
>  drivers/net/wireless/ath/ath11k/testmode.h   |  20 +-
>  drivers/net/wireless/ath/ath11k/testmode_i.h |  16 +
>  drivers/net/wireless/ath/ath11k/wmi.c        |  40 ++-
>  drivers/net/wireless/ath/ath11k/wmi.h        |  20 ++
>  drivers/net/wireless/ath/ath11k/wow.c        |   3 +-
>  12 files changed, 419 insertions(+), 64 deletions(-)
> 
> 
> base-commit: 12f167f02a1abe2c8817496a902de00758285b92

Please ignore this patch series. Tested-on tag is missing for patches 1/4 and
2/4. Will send v3 with correct Tested-on tag.

Thanks,
Raj
Kalle Valo April 20, 2023, 12:13 p.m. UTC | #2
Raj Kumar Bhagat <quic_rajkbhag@quicinc.com> writes:

> On 4/20/2023 5:06 PM, Raj Kumar Bhagat wrote:
>
>> 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
>> 
>> ---
>> 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       |  20 +-
>>  drivers/net/wireless/ath/ath11k/core.h       |  15 +-
>>  drivers/net/wireless/ath/ath11k/mac.c        |  13 +-
>>  drivers/net/wireless/ath/ath11k/pci.c        |   3 +-
>>  drivers/net/wireless/ath/ath11k/qmi.c        |  10 +-
>>  drivers/net/wireless/ath/ath11k/testmode.c   | 320 ++++++++++++++++---
>>  drivers/net/wireless/ath/ath11k/testmode.h   |  20 +-
>>  drivers/net/wireless/ath/ath11k/testmode_i.h |  16 +
>>  drivers/net/wireless/ath/ath11k/wmi.c        |  40 ++-
>>  drivers/net/wireless/ath/ath11k/wmi.h        |  20 ++
>>  drivers/net/wireless/ath/ath11k/wow.c        |   3 +-
>>  12 files changed, 419 insertions(+), 64 deletions(-)
>> 
>> 
>> base-commit: 12f167f02a1abe2c8817496a902de00758285b92
>
> Please ignore this patch series. Tested-on tag is missing for patches 1/4 and
> 2/4. Will send v3 with correct Tested-on tag.

Please wait, I need to first push back my changes to the pending so that
you can see them.