qcacmn: Add support to dynamic MAC address update

Currently, MAC address update is supported only when interface is down.
Because of this framework needs to issue interface down and interface
up to update the MAC address.

This is resulting in connection time increase when MAC address
randomization is enabled for every new connection.

To optimize the connection time, add support to update the MAC address
without bringing the interface to down state.

Change-Id: Ic3eff6a9571f885292021b2c178d26b0eace5042
CRs-Fixed: 3063475
This commit is contained in:
Bapiraju Alla
2021-10-12 00:14:14 +05:30
committed by Madan Koyyalamudi
parent a50a68c40d
commit ca4b3fabf6
16 changed files with 407 additions and 0 deletions

View File

@@ -1169,4 +1169,21 @@ static inline struct wlan_vdev_aid_mgr *wlan_vdev_mlme_get_aid_mgr(
return vdev_mlme->mgmt.ap.aid_mgr;
}
#ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
/**
* vdev_mgr_cdp_vdev_attach() - MLME API to attach CDP vdev
* @mlme_obj: pointer to vdev_mlme_obj
*
* Return: QDF_STATUS - Success or Failure
*/
QDF_STATUS vdev_mgr_cdp_vdev_attach(struct vdev_mlme_obj *mlme_obj);
/**
* vdev_mgr_cdp_vdev_detach() - MLME API to detach CDP vdev
* @mlme_obj: pointer to vdev_mlme_obj
*
* Return: QDF_STATUS - Success or Failure
*/
QDF_STATUS vdev_mgr_cdp_vdev_detach(struct vdev_mlme_obj *mlme_obj);
#endif
#endif