qcacmn: Add support for STA inactive time in Hawkeye
Currently there is not STA inactive time support for lithium. Read inactive_time from htt_peer_stats_cmn_tlv by sending HTT_DBG_EXT_STATS_PEER_INFO to firmware. After sending command, wait on completion variable till firmware to response, trigger completion upon firmware response. CRs-Fixed: 2319219 Change-Id: I93e6343641ae5c72610a57dd6ba551cca0b010c1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2019 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
|
||||
@@ -646,6 +646,8 @@ static inline void dp_print_peer_stats_cmn_tlv(uint32_t *tag_buf)
|
||||
dp_stats_buf->block_bitmap);
|
||||
DP_TRACE_STATS(FATAL, "current_timestamp = %d\n",
|
||||
dp_stats_buf->current_timestamp);
|
||||
DP_TRACE_STATS(FATAL, "inactive_time = %d",
|
||||
dp_stats_buf->inactive_time);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user