wlan: Check SAP_OFFLOADS capability before SAP open

If the ini gEnableSAPAuthOffload is set and firmware doesn't support
SAP_OFFLOADS then effectively driver should not support sap auth
offloads feature.

But from hdd_wlan_startup(), softap is created with sap auth offloads
feature using gEnableSAPAuthOffload only. This leads to out of sync
between firmware and driver thereby causing kernel panic with assert
when driver is expecting auth complete but firmware is giving auth
request notifcation.

To address this, validate firmware SAP_OFFLOADS capability before
softap create.

Change-Id: Ie078a26660ed3823cb26eae8c010511bb5f96410
CRs-Fixed: 2403630
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index f665446..4f7e7db 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -6437,4 +6437,16 @@
     uint8_t  switch_count;
 };
 
+typedef void (*sir_feature_caps_cb)(void *user_data);
+
+/**
+ * struct sir_feature_caps_params - Feature capability request
+ * @feature_caps_cb: HDD callback to be invoked from WDA
+ * @user_data: associated user-data with feature_caps_cb callback
+ */
+struct sir_feature_caps_params {
+	sir_feature_caps_cb feature_caps_cb;
+	void *user_data;
+};
+
 #endif /* __SIR_API_H */