qcacld-3.0: Update bss rate flags as per BW update

Supplicant sends SET_MAX_BANDWIDTH driver command to update
connected channel width dynamically.

Host should update connected bss rate flags so that host
can send proper cp stats as per updated channel bandwidth.

Change-Id: I676635b108f91f4fd8471fbe66352aa471dd9a9f
CRs-Fixed: 3519930
This commit is contained in:
abhinav kumar
2023-06-05 13:23:02 +05:30
committed by Rahul Choudhary
parent 95948e947f
commit 8d585706ca
8 changed files with 294 additions and 5 deletions

View File

@@ -1157,6 +1157,27 @@ wlan_mlme_send_ch_width_update_with_notify(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id,
enum phy_ch_width ch_width);
/**
* wlan_mlme_update_bss_rate_flags() - update bss rate flag as per new channel
* width
* @psoc: pointer to psoc object
* @vdev_id: Vdev id
* @cw: channel width to update
* @eht_present: connected bss is eht capable or not
* @he_present: connected bss is he capable or not
* @vht_present: connected bss is vht capable or not
* @ht_present: connected bss is ht capable or not
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_mlme_update_bss_rate_flags(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id,
enum phy_ch_width cw,
uint8_t eht_present,
uint8_t he_present,
uint8_t vht_present,
uint8_t ht_present);
#ifdef WLAN_FEATURE_11BE
/**
* mlme_update_tgt_eht_caps_in_cfg() - Update tgt eht cap in mlme component

View File

@@ -4728,6 +4728,27 @@ QDF_STATUS
ucfg_mlme_set_vdev_traffic_low_latency(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id, bool set);
/**
* ucfg_mlme_update_bss_rate_flags() - update bss rate flag as per new channel
* width
* @psoc: pointer to psoc object
* @vdev_id: Vdev id
* @ch_width: channel width to update
* @eht_present: connected bss is eht capable or not
* @he_present: connected bss is he capable or not
* @vht_present: connected bss is vht capable or not
* @ht_present: connected bss is ht capable or not
*
* Return: QDF_STATUS
*/
QDF_STATUS ucfg_mlme_update_bss_rate_flags(struct wlan_objmgr_psoc *psoc,
uint8_t vdev_id,
enum phy_ch_width ch_width,
uint8_t eht_present,
uint8_t he_present,
uint8_t vht_present,
uint8_t ht_present);
/**
* ucfg_mlme_send_ch_width_update_with_notify() - Send chwidth with notify
* capability of FW