qcacld-3.0: Add support for bcast deauth in sap mode

Currently, only broadcast disassociate is supported and deauth is
send in a unicast manner.
For enabling broadcast deauth support, bypass the unicast deauth
and directly send broadcast disassociate.

Change-Id: Ie196bc955b5b9a9f48a474e5f109b2a6c73fa208
CRs-Fixed: 2420980
This commit is contained in:
Harprit Chhabada
2019-03-21 16:28:48 -07:00
committed by nshrivas
parent 869bc4af4f
commit e57425536e
7 changed files with 88 additions and 3 deletions

View File

@@ -533,6 +533,18 @@ QDF_STATUS wlan_mlme_set_rmc_action_period_freq(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_is_sap_bcast_deauth_enabled() - get the enable/disable value
* for broadcast deauth in sap
* @psoc: pointer to psoc object
* @value: Value that needs to get from the caller
*
* Return: QDF Status
*/
QDF_STATUS
wlan_mlme_is_sap_bcast_deauth_enabled(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_get_sap_allow_all_channels() - get the value of sap allow all
* channels