|
@@ -90,13 +90,6 @@ typedef uint8_t tSirVersionString[SIR_VERSION_STRING_LEN];
|
|
|
#define MAXNUM_PERIODIC_TX_PTRNS 6
|
|
|
#define WIFI_SCANNING_MAC_OUI_LENGTH 3
|
|
|
|
|
|
-#ifdef FEATURE_WLAN_EXTSCAN
|
|
|
-
|
|
|
-#define WLAN_EXTSCAN_MAX_CHANNELS 36
|
|
|
-#define WLAN_EXTSCAN_MAX_BUCKETS 16
|
|
|
-#define WLAN_EXTSCAN_MAX_HOTLIST_APS 128
|
|
|
-#define WLAN_EXTSCAN_MAX_SIGNIFICANT_CHANGE_APS 64
|
|
|
-
|
|
|
/* This should not be greater than MAX_NUMBER_OF_CONC_CONNECTIONS */
|
|
|
#define MAX_VDEV_SUPPORTED 4
|
|
|
|
|
@@ -122,34 +115,6 @@ typedef uint8_t tSirVersionString[SIR_VERSION_STRING_LEN];
|
|
|
/* Maximum number of peers for SAP */
|
|
|
#define SIR_SAP_MAX_NUM_PEERS 32
|
|
|
|
|
|
-typedef enum {
|
|
|
- eSIR_EXTSCAN_INVALID,
|
|
|
- eSIR_EXTSCAN_START_RSP,
|
|
|
- eSIR_EXTSCAN_STOP_RSP,
|
|
|
- eSIR_EXTSCAN_CACHED_RESULTS_RSP,
|
|
|
- eSIR_EXTSCAN_SET_BSSID_HOTLIST_RSP,
|
|
|
- eSIR_EXTSCAN_RESET_BSSID_HOTLIST_RSP,
|
|
|
- eSIR_EXTSCAN_SET_SIGNIFICANT_WIFI_CHANGE_RSP,
|
|
|
- eSIR_EXTSCAN_RESET_SIGNIFICANT_WIFI_CHANGE_RSP,
|
|
|
-
|
|
|
- eSIR_EXTSCAN_GET_CAPABILITIES_IND,
|
|
|
- eSIR_EXTSCAN_HOTLIST_MATCH_IND,
|
|
|
- eSIR_EXTSCAN_SIGNIFICANT_WIFI_CHANGE_RESULTS_IND,
|
|
|
- eSIR_EXTSCAN_CACHED_RESULTS_IND,
|
|
|
- eSIR_EXTSCAN_SCAN_RES_AVAILABLE_IND,
|
|
|
- eSIR_EXTSCAN_SCAN_PROGRESS_EVENT_IND,
|
|
|
- eSIR_EXTSCAN_FULL_SCAN_RESULT_IND,
|
|
|
- eSIR_EPNO_NETWORK_FOUND_IND,
|
|
|
- eSIR_PASSPOINT_NETWORK_FOUND_IND,
|
|
|
- eSIR_EXTSCAN_SET_SSID_HOTLIST_RSP,
|
|
|
- eSIR_EXTSCAN_RESET_SSID_HOTLIST_RSP,
|
|
|
-
|
|
|
- /* Keep this last */
|
|
|
- eSIR_EXTSCAN_CALLBACK_TYPE_MAX,
|
|
|
-} tSirExtScanCallbackType;
|
|
|
-
|
|
|
-#endif /* FEATURE_WLAN_EXTSCAN */
|
|
|
-
|
|
|
#define SIR_KRK_KEY_LEN 16
|
|
|
#define SIR_BTK_KEY_LEN 32
|
|
|
#define SIR_KCK_KEY_LEN 16
|
|
@@ -3923,8 +3888,49 @@ struct roam_offload_synch_fail {
|
|
|
|
|
|
#endif
|
|
|
|
|
|
+/**
|
|
|
+ * struct sir_wisa_params - WISA Mode Parameters
|
|
|
+ * @mode: WISA mode
|
|
|
+ * @session_id: Session ID of vdev
|
|
|
+ */
|
|
|
+struct sir_wisa_params {
|
|
|
+ bool mode;
|
|
|
+ uint8_t vdev_id;
|
|
|
+};
|
|
|
+
|
|
|
#ifdef FEATURE_WLAN_EXTSCAN
|
|
|
|
|
|
+#define WLAN_EXTSCAN_MAX_CHANNELS 36
|
|
|
+#define WLAN_EXTSCAN_MAX_BUCKETS 16
|
|
|
+#define WLAN_EXTSCAN_MAX_HOTLIST_APS 128
|
|
|
+#define WLAN_EXTSCAN_MAX_SIGNIFICANT_CHANGE_APS 64
|
|
|
+
|
|
|
+typedef enum {
|
|
|
+ eSIR_EXTSCAN_INVALID,
|
|
|
+ eSIR_EXTSCAN_START_RSP,
|
|
|
+ eSIR_EXTSCAN_STOP_RSP,
|
|
|
+ eSIR_EXTSCAN_CACHED_RESULTS_RSP,
|
|
|
+ eSIR_EXTSCAN_SET_BSSID_HOTLIST_RSP,
|
|
|
+ eSIR_EXTSCAN_RESET_BSSID_HOTLIST_RSP,
|
|
|
+ eSIR_EXTSCAN_SET_SIGNIFICANT_WIFI_CHANGE_RSP,
|
|
|
+ eSIR_EXTSCAN_RESET_SIGNIFICANT_WIFI_CHANGE_RSP,
|
|
|
+
|
|
|
+ eSIR_EXTSCAN_GET_CAPABILITIES_IND,
|
|
|
+ eSIR_EXTSCAN_HOTLIST_MATCH_IND,
|
|
|
+ eSIR_EXTSCAN_SIGNIFICANT_WIFI_CHANGE_RESULTS_IND,
|
|
|
+ eSIR_EXTSCAN_CACHED_RESULTS_IND,
|
|
|
+ eSIR_EXTSCAN_SCAN_RES_AVAILABLE_IND,
|
|
|
+ eSIR_EXTSCAN_SCAN_PROGRESS_EVENT_IND,
|
|
|
+ eSIR_EXTSCAN_FULL_SCAN_RESULT_IND,
|
|
|
+ eSIR_EPNO_NETWORK_FOUND_IND,
|
|
|
+ eSIR_PASSPOINT_NETWORK_FOUND_IND,
|
|
|
+ eSIR_EXTSCAN_SET_SSID_HOTLIST_RSP,
|
|
|
+ eSIR_EXTSCAN_RESET_SSID_HOTLIST_RSP,
|
|
|
+
|
|
|
+ /* Keep this last */
|
|
|
+ eSIR_EXTSCAN_CALLBACK_TYPE_MAX,
|
|
|
+} tSirExtScanCallbackType;
|
|
|
+
|
|
|
/**
|
|
|
* typedef enum wifi_scan_flags - wifi scan flags
|
|
|
* @WIFI_SCAN_FLAG_INTERRUPTED: Indicates that scan results are not complete
|
|
@@ -4335,16 +4341,6 @@ typedef struct {
|
|
|
} tSirExtScanResetBssidHotlistReqParams,
|
|
|
*tpSirExtScanResetBssidHotlistReqParams;
|
|
|
|
|
|
-/**
|
|
|
- * struct sir_wisa_params - WISA Mode Parameters
|
|
|
- * @mode: WISA mode
|
|
|
- * @session_id: Session ID of vdev
|
|
|
- */
|
|
|
-struct sir_wisa_params {
|
|
|
- bool mode;
|
|
|
- uint8_t vdev_id;
|
|
|
-};
|
|
|
-
|
|
|
typedef struct {
|
|
|
uint32_t requestId;
|
|
|
uint8_t sessionId;
|