summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/common.cpp
diff options
context:
space:
mode:
authorAmarnath Hullur Subramanyam <amarnath@codeaurora.org>2015-05-25 15:01:44 +0530
committerAmarnath Hullur Subramanyam <amarnath@codeaurora.org>2015-06-11 05:38:55 -0700
commitddae66e0dd0f0b30e8f8a7c8dc84a205f8a98f98 (patch)
treed999f17fa9f4095db5deae10502e423b8a18d555 /qcwcn/wifi_hal/common.cpp
parent2e1716c72278e0c1f9165c65e7017551c6e6eb26 (diff)
downloadwlan-ddae66e0dd0f0b30e8f8a7c8dc84a205f8a98f98.tar.gz
Wi-Fi Hal: support to send offloaded packets and rssi monitoring
Add vendor command support to start and stop the following, 1. Send offloaded packets 2. Rssi monitoring Rssi monitoring gets an event whenever the rssi of an ap breaches the configured range. Provide the event data to upper layers by calling the callback. Change-Id: Ib2be8b3739e681080e65f3001e468e504a06fcc1
Diffstat (limited to 'qcwcn/wifi_hal/common.cpp')
-rw-r--r--qcwcn/wifi_hal/common.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qcwcn/wifi_hal/common.cpp b/qcwcn/wifi_hal/common.cpp
index 034feae..9d9e71a 100644
--- a/qcwcn/wifi_hal/common.cpp
+++ b/qcwcn/wifi_hal/common.cpp
@@ -240,9 +240,10 @@ extern "C"
{
#endif /* __cplusplus */
-void hexdump(char *bytes, u16 len)
+void hexdump(void *buf, u16 len)
{
int i=0;
+ char *bytes = (char *)buf;
ALOGI("******HexDump len:%d*********", len);
for (i = 0; ((i + 7) < len); i+=8) {
ALOGI("%02x %02x %02x %02x %02x %02x %02x %02x",