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:
@@ -23,6 +23,8 @@
|
||||
#include "dp_types.h"
|
||||
|
||||
#define DP_INVALID_PEER_ID 0xffff
|
||||
|
||||
#define DP_FW_PEER_STATS_CMP_TIMEOUT_MSEC 5000
|
||||
/**
|
||||
* __dp_peer_find_by_id() - Returns peer object given the peer id
|
||||
*
|
||||
@@ -197,4 +199,14 @@ bool dp_peer_find_by_id_valid(struct dp_soc *soc, uint16_t peer_id);
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
* dp_peer_update_inactive_time - Update inactive time for peer
|
||||
* @pdev: pdev object
|
||||
* @tag_type: htt_tlv_tag type
|
||||
* #tag_buf: buf message
|
||||
*/
|
||||
void
|
||||
dp_peer_update_inactive_time(struct dp_pdev *pdev, uint32_t tag_type,
|
||||
uint32_t *tag_buf);
|
||||
|
||||
#endif /* _DP_PEER_H_ */
|
||||
|
Reference in New Issue
Block a user