qcacld-3.0: Process get_cu_for_each_subbw driver command

Host parse newely added vendor command
QCA_NL80211_VENDOR_SUBCMD_CONNECTED_CHANNEL_STATS and trigger
scan to get connected channel stats from FW.

On scan done host sends scan done indication to upper layer
via QCA_NL80211_VENDOR_SUBCMD_CONNECTED_CHANNEL_STATS vendor
command.

Change-Id: I7a4727b66003f6ee96645c5078d1f922b2f18cec
CRs-Fixed: 3461106
This commit is contained in:
abhinav kumar
2023-04-06 16:56:05 +05:30
committed by Madan Koyyalamudi
parent 2fae80a3e1
commit 62b5a049d6
11 changed files with 492 additions and 2 deletions

View File

@@ -6671,6 +6671,17 @@ void wlan_mlme_get_feature_info(struct wlan_objmgr_psoc *psoc,
}
#endif
void wlan_mlme_chan_stats_scan_event_cb(struct wlan_objmgr_vdev *vdev,
struct scan_event *event, void *arg)
{
bool success = false;
if (!util_is_scan_completed(event, &success))
return;
mlme_send_scan_done_complete_cb(event->vdev_id);
}
enum phy_ch_width wlan_mlme_convert_vht_op_bw_to_phy_ch_width(
uint8_t channel_width)
{

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. 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
@@ -367,6 +367,12 @@ ucfg_mlme_set_vdev_traffic_type(struct wlan_objmgr_psoc *psoc,
return status;
}
void ucfg_mlme_connected_chan_stats_request(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id)
{
mlme_connected_chan_stats_request(psoc, vdev_id);
}
QDF_STATUS
ucfg_mlme_set_vdev_traffic_low_latency(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id, bool set)