qcacld-3.0: Refine API wlansap_set_channel_change_with_csa()

See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_set_channel_change_with_csa() to use
the true struct pointer type.

Change-Id: Ia4b31f9f726528e9c76f60d4fc314fc87b892555
CRs-Fixed: 2116267
This commit is contained in:
Jeff Johnson
2017-09-25 14:13:27 -07:00
gecommit door snandini
bovenliggende e7ff1d07db
commit 52a2ce3d16
2 gewijzigde bestanden met toevoegingen van 24 en 9 verwijderingen

Bestand weergeven

@@ -1005,8 +1005,24 @@ QDF_STATUS wlansap_disassoc_sta(struct sap_context *pSapCtx,
QDF_STATUS wlansap_deauth_sta(struct sap_context *pSapCtx,
struct tagCsrDelStaParams *pDelStaParams);
QDF_STATUS wlansap_set_channel_change_with_csa(void *p_cds_gctx,
uint32_t targetChannel, enum phy_ch_width target_bw, bool strict);
/**
* wlansap_set_channel_change_with_csa() - Set channel change with CSA
* @sapContext: Pointer to SAP context
* @targetChannel: Target channel
* @target_bw: Target bandwidth
* @strict: if true switch to the requested channel always, fail
* otherwise
*
* This api function does a channel change to the target channel specified.
* CSA IE is included in the beacons before doing a channel change.
*
* Return: QDF_STATUS
*/
QDF_STATUS wlansap_set_channel_change_with_csa(struct sap_context *sapContext,
uint32_t targetChannel,
enum phy_ch_width target_bw,
bool strict);
QDF_STATUS wlansap_set_key_sta(void *p_cds_gctx,
tCsrRoamSetKey *pSetKeyInfo);