qcacld-3.0: Update connected VDEV channel bandwidth

Host receives QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH vendor
command indication to update STA adapter channel width.

On receiving channel width update indication from upper layer,
first host updates internally and send new channel width value
to FW via WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY.

Target firmware should take care of notifying associated peers
(except TDLS) about change in bandwidth, through OMN/OMI
notification before performing bandwidth update internally.

Change-Id: I517ed1fbf8d074e511f8fb43c9c1dac824c9f084
CRs-Fixed: 3469473
This commit is contained in:
abhinav kumar
2023-04-10 00:21:43 +05:30
committed by Madan Koyyalamudi
父節點 076551fd20
當前提交 80fc700acf
共有 5 個文件被更改,包括 249 次插入0 次删除

查看文件

@@ -1071,6 +1071,22 @@ enum phy_ch_width wlan_mlme_convert_vht_op_bw_to_phy_ch_width(
void wlan_mlme_chan_stats_scan_event_cb(struct wlan_objmgr_vdev *vdev,
struct scan_event *event, void *arg);
/**
* wlan_mlme_send_ch_width_update_with_notify() - update connected VDEV
* channel bandwidth
* @psoc: pointer to psoc object
* @vdev: pointer to vdev object
* @vdev_id: vdev id
* @ch_width: channel width to update
*
* Return: none
*/
QDF_STATUS
wlan_mlme_send_ch_width_update_with_notify(struct wlan_objmgr_psoc *psoc,
struct wlan_objmgr_vdev *vdev,
uint8_t vdev_id,
enum phy_ch_width ch_width);
#ifdef WLAN_FEATURE_11BE
/**
* mlme_update_tgt_eht_caps_in_cfg() - Update tgt eht cap in mlme component

查看文件

@@ -4589,6 +4589,30 @@ QDF_STATUS
ucfg_mlme_set_vdev_traffic_low_latency(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id, bool set);
/**
* ucfg_mlme_send_ch_width_update_with_notify() - Send chwidth with notify
* capability of FW
* @psoc: pointer to psoc object
* @vdev_id: Vdev id
* @ch_width: channel width to update
*
* Return: QDF_STATUS
*/
QDF_STATUS
ucfg_mlme_send_ch_width_update_with_notify(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id,
enum phy_ch_width ch_width);
/**
* ucfg_mlme_is_chwidth_with_notify_supported() - Get chwidth with notify
* capability of FW
* @psoc: pointer to psoc object
*
* Return: true if chwidth with notify feature supported
*/
bool
ucfg_mlme_is_chwidth_with_notify_supported(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_mlme_connected_chan_stats_request() - process connected channel stats
* request