wlan: logger thread implemenation for frame logging
Adding support for:
1. queue/dequeue of vos pkt in logger thread.
2. Limit max number of pkts in a queue.
3. Detach skb and forward to userspace app
4. flush pkts in queue during rmmod/SSR
5. pkt_type will be provided to logger thread
Change-Id: If3435b8e2c38644a125316265f70e1603bc6e273
CRs-Fixed: 808160
diff --git a/CORE/SVC/inc/wlan_ptt_sock_svc.h b/CORE/SVC/inc/wlan_ptt_sock_svc.h
index 3b6c0b0..2270085 100644
--- a/CORE/SVC/inc/wlan_ptt_sock_svc.h
+++ b/CORE/SVC/inc/wlan_ptt_sock_svc.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -99,6 +99,12 @@
int radio; // unit number of the radio
tAniHdr wmsg; // Airgo Message Header
} tAniNlHdr;
+typedef struct sAniNlMgmtLogMsg {
+ struct nlmsghdr nlh;
+ int radio;
+ tAniHdr wmsg;
+ uint32 frameSize;
+} tAniNlLogHdr;
typedef struct sAniAppRegReq {
tAniNlModTypes type; // module id
int pid; // process id