qcacmn: Add support to handle PEER_OPER_MODE_CHANGE event

Firmware sends PEER_OPER_MODE_CHANGE event to host in SAP
mode when a connected client indicates upgrade/downgrade
of its bandwidth.
Host needs this data as any further SAP bandwidth
upgrade/downgrade should honor the indicated bandwidth for
that specific peer.

Change-Id: If15f491fd970486d8e84d1845866688d837ea2b4
CRs-Fixed: 3604865
This commit is contained in:
Vijay Patil
2023-08-07 16:53:32 +05:30
committed by Rahul Choudhary
parent e9acbea027
commit 0adf2938cc
3 changed files with 9 additions and 0 deletions

View File

@@ -88,6 +88,7 @@
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
#include <wlan_cm_roam_public_struct.h>
#include <wlan_mlme_public_struct.h>
#endif
#ifdef WMI_AP_SUPPORT
@@ -508,6 +509,11 @@ QDF_STATUS
uint8_t *num_keys,
struct qdf_mac_addr *mld_addr);
#endif
QDF_STATUS
(*extract_peer_oper_mode_event)(wmi_unified_t wmi_handle,
uint8_t *event, uint32_t data_len,
struct peer_oper_mode_event *data);
#endif
#ifdef FEATURE_MEC_OFFLOAD