qcacmn: Add API to send set TPC power command
Add new API to handle the logic of sending the WMI command, WMI_SET_TPC_POWER_CMDID. Create the struct to hold this new transmit power information. Change-Id: Ibc7c6109176577f56d149baf87022de557e84445 CRs-fixed: 2841781
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -4280,4 +4280,16 @@ QDF_STATUS wmi_extract_pdev_csa_switch_count_status(
|
||||
__wmi_validate_handle(wmi_handle, __func__)
|
||||
int __wmi_validate_handle(wmi_unified_t wmi_handle, const char *func);
|
||||
|
||||
/**
|
||||
* wmi_unified_send_set_tpc_power_cmd() - send set transmit power info
|
||||
* @wmi_handle: wmi handle
|
||||
* @vdev_id: vdev id
|
||||
* @param: regulatory TPC info
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS for success or error code
|
||||
*/
|
||||
QDF_STATUS wmi_unified_send_set_tpc_power_cmd(wmi_unified_t wmi_handle,
|
||||
uint8_t vdev_id,
|
||||
struct reg_tpc_power_info *param);
|
||||
|
||||
#endif /* _WMI_UNIFIED_API_H_ */
|
||||
|
Reference in New Issue
Block a user