Commit graph

9 commits

Author SHA1 Message Date
Ravi Aravamudhan
8ee52e6e2d diag: Update Message SSID Limit and Buildtime masks
Updated the last message SSID and the buildtime masks to reflect
the additions on the Modem.

Change-Id: I9a62942f5daf14268b0f61f81cbb53b76901d012
CRs-Fixed: 448735
Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>
2013-03-15 17:07:21 -07:00
Dixon Peterson
3bf1a685c4 diag: Add diag changes to bring diag up to date
diag on the A-Family mainline is out of date. Create a commit
to bring diag up to date.

Change-Id: Ie24780b4b83a3cb378326357d70785a590167447
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
2013-03-07 15:25:31 -08:00
Shalabh Jain
1a9d9888b7 diag: Add fixes for DCI
1) Fix an issue where after running a DCI app and exiting it,
 second app does not receive any DCI data. Issue was due to
 incorrect state of a flag used by SMD channel.

2) Add a mutex around shared data structures like cumulative masks.
Multiple clients may want to change DCI mask at the same time, so
mutex will prevent any corruption

3) Add support for health commands. The client request how many logs
were dropped and received.

Change-Id: Ica12b3c93aa4dda9b04aa13cd5a9f8dbc412148c
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2013-03-07 15:23:48 -08:00
Shalabh Jain
d133044a50 diag: Add logs & events streaming support for DCI
Diag driver is adding a new feature to stream logs & events to a
user space application on Linux processor. This will eliminate
need to connect QXDM to receive diag traffic.
This is known as Diag Consumer Interface (DCI).

Change-Id: I7983bb7d9b8a0429ebbee290868c8bd0e562953f
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2013-03-07 15:23:47 -08:00
Shalabh Jain
9900356726 diag: Update last SSID for general category
DIAG SSID ranges are updated on modem side. Hence same
update is needed on application processor side. This
change updates the same.

We plan to implenent an algorithm which will remove the
need for manual updates.

Change-Id: I573b75fe0b88bad6f0b2fd5d1b12eb4530067912
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2013-02-27 18:20:42 -08:00
Dixon Peterson
7948e99265 diag: Add support for sockets
diag does not support logging to sockets. Add support for
new socket logging mode to support sockets.

Change-Id: I1134859825f9e075ee911c94376a239d748e311f
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
2013-02-27 18:19:08 -08:00
Shalabh Jain
c4193e96c1 diag: Add missing SSID range
OEMs use SSID in a specific range. Recently DIAG changed the mask
update algorithm and this range was missed as its not used internally.
This change adds it back.

CRs-Fixed: 359379
Change-Id: Ib7249f157e4e37294b6da6580fcf19995afeef8f
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2013-02-27 18:15:25 -08:00
Shalabh Jain
82e4c2eb6a diag: Add new SSID
Modem header files added new SSID. We need same changes on Linux side.

Change-Id: Ia383fd1f8ab889369b2577ae2df13894a1a62f7a
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2013-02-27 18:13:50 -08:00
Stephen Boyd
6640ed7230 char: Add DIAG driver
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:29:25 -08:00