qcacmn: Update chaninfo extract API for TLV target
FW implementation is updated to add more fields in chan info event. Update host implementation to extract these fields. Change-Id: I4935f3aa1c2e87d27a13a29651db8d8835cb4f91 CRs-Fixed: 2090787
This commit is contained in:

committed by
snandini

parent
725e9f5a0d
commit
22046183ed
@@ -6760,6 +6760,10 @@ typedef struct {
|
||||
* @chan_tx_pwr_tp: channel tx power per throughput
|
||||
* @rx_frame_count: rx frame count
|
||||
* @rx_11b_mode_data_duration: 11b mode data duration
|
||||
* @my_bss_rx_cycle_count: BSS rx cycle count
|
||||
* @tx_frame_cnt: tx frame count
|
||||
* @mac_clk_mhz: mac clock
|
||||
* @vdev_id: unique id identifying the VDEV
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t pdev_id;
|
||||
@@ -6773,6 +6777,10 @@ typedef struct {
|
||||
uint32_t chan_tx_pwr_tp;
|
||||
uint32_t rx_frame_count;
|
||||
uint32_t rx_11b_mode_data_duration;
|
||||
uint32_t my_bss_rx_cycle_count;
|
||||
uint32_t tx_frame_cnt;
|
||||
uint32_t mac_clk_mhz;
|
||||
uint32_t vdev_id;
|
||||
} wmi_host_chan_info_event;
|
||||
|
||||
/**
|
||||
|
@@ -16987,6 +16987,14 @@ static QDF_STATUS extract_chan_info_event_tlv(wmi_unified_t wmi_handle,
|
||||
chan_info->pdev_id = wlan_get_pdev_id_from_vdev_id(
|
||||
(struct wlan_objmgr_psoc *)wmi_handle->soc->wmi_psoc,
|
||||
ev->vdev_id, WLAN_SCAN_ID);
|
||||
chan_info->chan_tx_pwr_range = ev->chan_tx_pwr_range;
|
||||
chan_info->chan_tx_pwr_tp = ev->chan_tx_pwr_tp;
|
||||
chan_info->my_bss_rx_cycle_count = ev->my_bss_rx_cycle_count;
|
||||
chan_info->rx_11b_mode_data_duration = ev->rx_11b_mode_data_duration;
|
||||
chan_info->tx_frame_cnt = ev->tx_frame_cnt;
|
||||
chan_info->rx_frame_count = ev->rx_frame_count;
|
||||
chan_info->mac_clk_mhz = ev->mac_clk_mhz;
|
||||
chan_info->vdev_id = ev->vdev_id;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user