qcacld-3.0: Send chan load response to AP

If a DUT accept channel load request, the STA should
response with a channel load report with channel
utilization measurement as observed by the measuring
STA.

Change-Id: Ic8faa45e24d7cd296e44828370b1b1088d46ddda
CRs-Fixed: 3580203
This commit is contained in:
Abhinav Kumar
2023-07-26 12:34:33 -07:00
committed by Rahul Choudhary
parent b89f7f0dde
commit f89f0e2de0
14 changed files with 384 additions and 21 deletions

View File

@@ -394,6 +394,19 @@ void wlan_cp_stats_update_chan_info(struct wlan_objmgr_psoc *psoc,
struct channel_status *chan_stat,
uint8_t vdev_id);
/**
* wlan_cp_stats_get_rx_clear_count() - API to get rx clear count for a channel
* @psoc: pointer to psoc
* @vdev_id: vdev id
* @channel: channel for which rx clear count require
* @chan_load: buffer to store rx clear count for a channel
*
* Return: None
*/
void wlan_cp_stats_get_rx_clear_count(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id, uint8_t channel,
uint8_t *chan_load);
/**
* ucfg_mc_cp_stats_clear_channel_status() - API to clear chan stats
* @pdev: pointer to pdev object
@@ -506,6 +519,13 @@ void wlan_cp_stats_update_chan_info(struct wlan_objmgr_psoc *psoc,
{
}
static inline
void wlan_cp_stats_get_rx_clear_count(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id, uint8_t channel,
uint8_t *chan_load)
{
}
static inline
void ucfg_mc_cp_stats_clear_channel_status(struct wlan_objmgr_pdev *pdev)
{