qcacmn: HTT handler for SAWF MPDU stats
Add handler for processing SAWF MPDU stats sent by the FW. Change-Id: I9e69b66563ebba583883bf18f645b19ed9470927 CRs-Fixed: 3195239
This commit is contained in:

committato da
Madan Koyyalamudi

parent
6179a3a558
commit
3cd2e7a588
@@ -2467,10 +2467,27 @@ static void dp_sawf_msduq_map(struct htt_soc *soc, uint32_t *msg_word,
|
||||
{
|
||||
dp_htt_sawf_msduq_map(soc, msg_word, htt_t2h_msg);
|
||||
}
|
||||
|
||||
/*
|
||||
* dp_sawf_mpdu_stats_handler() - HTT message handler for MPDU stats
|
||||
* @soc: soc handle.
|
||||
* @htt_t2h_msg: HTT message nbuf
|
||||
*
|
||||
* @return: void
|
||||
*/
|
||||
static void dp_sawf_mpdu_stats_handler(struct htt_soc *soc,
|
||||
qdf_nbuf_t htt_t2h_msg)
|
||||
{
|
||||
dp_sawf_htt_mpdu_stats_handler(soc, htt_t2h_msg);
|
||||
}
|
||||
#else
|
||||
static void dp_sawf_msduq_map(struct htt_soc *soc, uint32_t *msg_word,
|
||||
qdf_nbuf_t htt_t2h_msg)
|
||||
{}
|
||||
|
||||
static void dp_sawf_mpdu_stats_handler(struct htt_soc *soc,
|
||||
qdf_nbuf_t htt_t2h_msg)
|
||||
{}
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -3527,6 +3544,11 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
|
||||
dp_sawf_msduq_map(soc, msg_word, htt_t2h_msg);
|
||||
break;
|
||||
}
|
||||
case HTT_T2H_MSG_TYPE_STREAMING_STATS_IND:
|
||||
{
|
||||
dp_sawf_mpdu_stats_handler(soc, htt_t2h_msg);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
|
Fai riferimento in un nuovo problema
Block a user