qcacmn: Properly featurize NAN
When CONFIG_MOBILE_ROUTER is enabled there are build failures due to improper featurization of NAN, so fix the featurization. Change-Id: I6bc11fb82394c2d32b328cb5d50ff974051755e1 CRs-Fixed: 2353170
This commit is contained in:
@@ -2224,6 +2224,20 @@ static inline void wmi_sta_attach_tlv(struct wmi_unified *wmi_handle)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_NAN
|
||||
/**
|
||||
* wmi_nan_feature_attach_tlv() - set NAN feature wmi callback
|
||||
* @wmi_handle: wmi handle
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void wmi_nan_feature_attach_tlv(struct wmi_unified *wmi_handle);
|
||||
#else
|
||||
static inline void wmi_nan_feature_attach_tlv(struct wmi_unified *wmi_handle)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wmi_align() - provides word aligned parameter
|
||||
* @param: parameter to be aligned
|
||||
|
@@ -146,6 +146,7 @@ QDF_STATUS wmi_unified_nat_keepalive_en_cmd(void *wmi_hdl, uint8_t vdev_id);
|
||||
QDF_STATUS wmi_unified_wlm_latency_level_cmd(void *wmi_hdl,
|
||||
struct wlm_latency_level_param *param);
|
||||
|
||||
#ifdef WLAN_FEATURE_NAN
|
||||
/**
|
||||
* wmi_unified_nan_req_cmd() - to send nan request to target
|
||||
* @wmi_handle: wmi handle
|
||||
@@ -155,6 +156,7 @@ QDF_STATUS wmi_unified_wlm_latency_level_cmd(void *wmi_hdl,
|
||||
*/
|
||||
QDF_STATUS wmi_unified_nan_req_cmd(void *wmi_hdl,
|
||||
struct nan_req_params *nan_req);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wmi_unified_process_set_ie_info_cmd() - Function to send IE info to firmware
|
||||
|
Reference in New Issue
Block a user