qcacmn: Add CDP API to configure mgmt tx power
Add CDP API to configure mgmt TX power. Change-Id: I68449d2f22487017b680f18c811853576a36a8e9 CRs-Fixed: 2098375
This commit is contained in:

committed by
snandini

parent
2da6acd74b
commit
e2f4335d23
@@ -478,4 +478,21 @@ cdp_get_sec_type(ol_txrx_soc_handle soc, struct cdp_peer *peer, uint8_t sec_idx)
|
||||
return A_ERROR;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_set_mgmt_tx_power(): function to set tx power for mgmt frames
|
||||
* @vdev_handle: vdev handle
|
||||
* @subtype_index: subtype
|
||||
* @tx_power: Tx power
|
||||
* Return: None
|
||||
*/
|
||||
static inline int cdp_set_mgmt_tx_power(ol_txrx_soc_handle soc,
|
||||
struct cdp_vdev *vdev, uint8_t subtype, uint8_t tx_power)
|
||||
{
|
||||
if (soc->ops->ctrl_ops->txrx_update_mgmt_txpow_vdev)
|
||||
soc->ops->ctrl_ops->txrx_update_mgmt_txpow_vdev(vdev,
|
||||
subtype, tx_power);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user