mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Handle HTT_T2H_MSG_TYPE_FLOW_POOL_RESIZE command
Add support for HTT_T2H_MSG_TYPE_FLOW_POOL_RESIZE command from firmware to resize flow pool and call appropriate function to handle it. Change-Id: I7d2ca6ed459383ec5c456b15a71290264d5d2408 CRs-Fixed: 2261265
This commit is contained in:
parent
e84581b383
commit
87dca29f5a
1 changed files with 19 additions and 0 deletions
|
|
@ -563,6 +563,25 @@ static void htt_t2h_lp_msg_handler(void *context, qdf_nbuf_t htt_t2h_msg,
|
|||
break;
|
||||
}
|
||||
|
||||
case HTT_T2H_MSG_TYPE_FLOW_POOL_RESIZE:
|
||||
{
|
||||
struct htt_flow_pool_resize_t *msg;
|
||||
int msg_len = qdf_nbuf_len(htt_t2h_msg);
|
||||
|
||||
if (msg_len < sizeof(struct htt_flow_pool_resize_t)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR,
|
||||
"Invalid msg_word length in HTT_T2H_MSG_TYPE_FLOW_POOL_RESIZE");
|
||||
WARN_ON(1);
|
||||
break;
|
||||
}
|
||||
|
||||
msg = (struct htt_flow_pool_resize_t *)msg_word;
|
||||
ol_tx_flow_pool_resize_handler(msg->flow_pool_id,
|
||||
msg->flow_pool_new_size);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case HTT_T2H_MSG_TYPE_RX_OFLD_PKT_ERR:
|
||||
{
|
||||
switch (HTT_RX_OFLD_PKT_ERR_MSG_SUB_TYPE_GET(*msg_word)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue