wlan: Batch scan support in P2P GO mode
Batch scan IOCTL handlers in hdd_hostapd_ioctl to support
batch scan feature in P2P GO mode
Change-Id: I3df1726a8157277aa214a97542204bc95e026d6d
CRs-fixed: 597546
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index 52e7c50..67cd608 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -1339,4 +1339,31 @@
void hdd_checkandupdate_phymode( hdd_context_t *pHddCtx);
#endif
int hdd_wmmps_helper(hdd_adapter_t *pAdapter, tANI_U8 *ptr);
+
+#ifdef FEATURE_WLAN_BATCH_SCAN
+/**---------------------------------------------------------------------------
+
+ \brief hdd_handle_batch_scan_ioctl () - This function handles WLS_BATCHING
+ IOCTLs from user space. Following BATCH SCAN DEV IOCTs are handled:
+ WLS_BATCHING VERSION
+ WLS_BATCHING SET
+ WLS_BATCHING GET
+ WLS_BATCHING STOP
+
+ \param - pAdapter Pointer to HDD adapter
+ \param - pPrivdata Pointer to priv_data
+ \param - command Pointer to command
+
+ \return - 0 for success -EFAULT for failure
+
+ --------------------------------------------------------------------------*/
+
+int hdd_handle_batch_scan_ioctl
+(
+ hdd_adapter_t *pAdapter,
+ hdd_priv_data_t *pPrivdata,
+ tANI_U8 *command
+);
+#endif /*End of FEATURE_WLAN_BATCH_SCAN*/
+
#endif // end #if !defined( WLAN_HDD_MAIN_H )