mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-20 19:49:45 -04:00
qcacld-3.0: Refine API wlansap_scan_callback()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history. Update wlansap_scan_callback() to use the true struct pointer type. Change-Id: I7c77827de37a4beb4bedcfb5716e61573c27eaad CRs-Fixed: 2116267
This commit is contained in:
parent
14ec0689da
commit
ffa38768fa
2 changed files with 19 additions and 19 deletions
|
|
@ -88,24 +88,13 @@
|
|||
* Function Declarations and Documentation
|
||||
* -------------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* wlansap_scan_callback() - Callback for Scan (scan results) Events
|
||||
*
|
||||
* @hal_handle : tHalHandle passed in with the scan request
|
||||
* @ctx : The second context pass in for the caller (sapContext)
|
||||
* @scanID : scanID got after the scan
|
||||
*
|
||||
* Callback for Scan (scan results) Events
|
||||
*
|
||||
* Return: Status
|
||||
*/
|
||||
QDF_STATUS wlansap_scan_callback(tHalHandle hal_handle,
|
||||
void *ctx, /* Opaque SAP handle */
|
||||
struct sap_context *sap_ctx,
|
||||
uint8_t session_id,
|
||||
uint32_t scan_id, eCsrScanStatus scan_status) {
|
||||
uint32_t scan_id, eCsrScanStatus scan_status)
|
||||
{
|
||||
tScanResultHandle result = NULL;
|
||||
QDF_STATUS get_result_status = QDF_STATUS_E_FAILURE;
|
||||
struct sap_context *sap_ctx = ctx;
|
||||
tWLAN_SAPEvent sapEvent; /* State machine event */
|
||||
uint8_t operChannel = 0;
|
||||
QDF_STATUS sap_sm_status;
|
||||
|
|
|
|||
|
|
@ -286,11 +286,22 @@ typedef struct sWLAN_SAPEvent {
|
|||
QDF_STATUS wlansap_context_get(struct sap_context *ctx);
|
||||
void wlansap_context_put(struct sap_context *ctx);
|
||||
|
||||
QDF_STATUS
|
||||
wlansap_scan_callback
|
||||
(tHalHandle halHandle,
|
||||
void *pContext,
|
||||
uint8_t sessionId, uint32_t scanID, eCsrScanStatus scanStatus);
|
||||
/**
|
||||
* wlansap_scan_callback() - Callback for Scan (scan results) Events
|
||||
* @hal_handle: tHalHandle passed in with the scan request
|
||||
* @sap_ctx: The sap context
|
||||
* @session_id: ID of the current session
|
||||
* @scan_id: ID assigned to the scan
|
||||
* @scan_status: Status of the scan
|
||||
*
|
||||
* Callback for Scan (scan results) Events
|
||||
*
|
||||
* Return: Status
|
||||
*/
|
||||
QDF_STATUS wlansap_scan_callback(tHalHandle hal_handle,
|
||||
struct sap_context *sap_ctx,
|
||||
uint8_t session_id,
|
||||
uint32_t scan_id, eCsrScanStatus scan_status);
|
||||
|
||||
QDF_STATUS
|
||||
wlansap_pre_start_bss_acs_scan_callback(
|
||||
|
|
|
|||
Loading…
Reference in a new issue