summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRakesh Sunki <rsunki@qca.qualcomm.com>2014-07-11 18:08:46 -0700
committerPitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com>2014-07-16 12:36:08 +0530
commitf65155d9f5bd52f7980ccdf0dd4f47f0aa5bd7b6 (patch)
tree36055336b3bcf3c0a38ee3fba3759d549ea421c2
parentc61caf08fedcbe0848cacb02b48cfa9032a76a7f (diff)
qcacld: Add IBSS PS dbglog support for 1 chain rx support.
Add host support for dbglogid for 1 chain rx mode in ATIM window. Change-Id: I0016a5bd927bd462c2997d597b70bcea279650ec CRs-Fixed: 692563
-rw-r--r--CORE/UTILS/FWLOG/dbglog_host.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/CORE/UTILS/FWLOG/dbglog_host.c b/CORE/UTILS/FWLOG/dbglog_host.c
index 2defdc7b10d9..5a13ba3ed53d 100644
--- a/CORE/UTILS/FWLOG/dbglog_host.c
+++ b/CORE/UTILS/FWLOG/dbglog_host.c
@@ -1154,6 +1154,7 @@ char * DBG_MSG_ARR[WLAN_MODULE_ID_MAX][MAX_DBG_MSGS] =
"IBSS_PS_DBGID_PS_KICKOUT_PEER",
"IBSS_PS_DBGID_SET_PEER_PARAM",
"IBSS_PS_DBGID_BCN_ATIM_WIN_MISMATCH",
+ "IBSS_PS_DBGID_RX_CHAINMASK_CHANGE",
},
};
@@ -2257,7 +2258,7 @@ dbglog_ibss_powersave_print_handler(
case IBSS_PS_DBGID_BC_ATIM_SEND:
if (numargs == 2) {
dbglog_printf(timestamp, vap_id,
- "IBSS PS: MC Data, num_of_peers:%d mc_atim_sent:%d",
+ "IBSS PS: MC Data, num_of_peers:%d bc_atim_sent:%d",
args[1], args[0]);
}
break;
@@ -2281,6 +2282,8 @@ dbglog_ibss_powersave_print_handler(
} else if(numargs == 1) {
dbglog_printf(timestamp, vap_id, "IBSS PS: power collapse not allowed since peer id:%d is not PS capable",
args[0]);
+ } else if(numargs == 2) {
+ dbglog_printf(timestamp, vap_id, "IBSS PS: power collapse not allowed - no peers in NW");
} else if (numargs == 3) {
if (args[0] == 2) {
dbglog_printf(timestamp, vap_id,
@@ -2364,6 +2367,16 @@ dbglog_ibss_powersave_print_handler(
}
break;
+ case IBSS_PS_DBGID_RX_CHAINMASK_CHANGE:
+ if(numargs == 2) {
+ if(args[1] == 0x1) {
+ dbglog_printf(timestamp, vap_id, "IBSS PS: Voting for low power chainmask from :%d", args[0]);
+ } else {
+ dbglog_printf(timestamp, vap_id, "IBSS PS: Voting for high power chainmask from :%d", args[0]);
+ }
+ }
+ break;
+
default:
return FALSE;
}