qcacmn: Retrieve max tx power allowd from vdev start resp
Wlan firmware updates "max tx power allowed" to host in fixed params of vdev start response event. Change-Id: Ide0dd7f55ed4b280deaae380670ca5617c018783 CRs-Fixed: 2654017
This commit is contained in:

committed by
nshrivas

parent
9e9fb6a437
commit
2ae12c22d3
@@ -111,6 +111,7 @@ struct vdev_response_timer {
|
|||||||
* @mac_id: mac id
|
* @mac_id: mac id
|
||||||
* @cfgd_tx_streams: configured tx streams
|
* @cfgd_tx_streams: configured tx streams
|
||||||
* @cfgd_rx_streams: configured rx streams
|
* @cfgd_rx_streams: configured rx streams
|
||||||
|
* @max_allowed_tx_power: max tx power allowed
|
||||||
*/
|
*/
|
||||||
struct vdev_start_response {
|
struct vdev_start_response {
|
||||||
uint8_t vdev_id;
|
uint8_t vdev_id;
|
||||||
@@ -122,6 +123,7 @@ struct vdev_start_response {
|
|||||||
uint32_t mac_id;
|
uint32_t mac_id;
|
||||||
uint32_t cfgd_tx_streams;
|
uint32_t cfgd_tx_streams;
|
||||||
uint32_t cfgd_rx_streams;
|
uint32_t cfgd_rx_streams;
|
||||||
|
uint32_t max_allowed_tx_power;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -205,6 +205,7 @@ extract_vdev_start_resp_tlv(struct wmi_unified *wmi_handle, void *evt_buf,
|
|||||||
vdev_rsp->mac_id = ev->mac_id;
|
vdev_rsp->mac_id = ev->mac_id;
|
||||||
vdev_rsp->cfgd_tx_streams = ev->cfgd_tx_streams;
|
vdev_rsp->cfgd_tx_streams = ev->cfgd_tx_streams;
|
||||||
vdev_rsp->cfgd_rx_streams = ev->cfgd_rx_streams;
|
vdev_rsp->cfgd_rx_streams = ev->cfgd_rx_streams;
|
||||||
|
vdev_rsp->max_allowed_tx_power = ev->max_allowed_tx_power;
|
||||||
|
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user