qcacmn: Add support for NAN msg in kmsg

Add support for the following NAN messages in kmsg:-
1. NAN enable status
2. NAN, NDP match events
3. NDP channel info.
etc.

Change-Id: I7f67b67153904b7efe8a708e3f93d069e399395c
CRs-Fixed: 2618433
This commit is contained in:
gaurank kathpalia
2020-02-10 16:27:58 +05:30
committed by nshrivas
parent 5fd5cf65e2
commit b73ede30b8
6 changed files with 52 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -111,6 +111,16 @@ wmi_extract_ndp_initiator_rsp(wmi_unified_t wmi_handle, uint8_t *data,
QDF_STATUS wmi_extract_ndp_ind(wmi_unified_t wmi_handle, uint8_t *data,
struct nan_datapath_indication_event *ind);
/**
* wmi_extract_nan_msg - api to extract ndp dmesg buffer to print logs
* @data: event buffer
* @msg: buffer to populate
*
* Return: status of operation
*/
QDF_STATUS wmi_extract_nan_msg(wmi_unified_t wmi_handle, uint8_t *data,
struct nan_dump_msg *msg);
/**
* wmi_extract_ndp_confirm - api to extract ndp confim struct from even buffer
* @wmi_hdl: wmi handle