Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b92520d0 authored by Vulupala Shashank Reddy's avatar Vulupala Shashank Reddy Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Register DSCP action frame for wake up

Currently, the bitmap of action frames that can wake up the
host during suspend is sent via the wmi command
WMI_WOW_SET_ACTION_WAKE_UP_CMDID. This bitmap doesn't include
DSCP action frames so currently the host doesn't wake up for
DSCP action frames when in suspend mode.

Enable wake up for DSCP action frame for runtime PM as well
as for wow mode.

Change-Id: I51ba3e8ef52755af25ed922161028dfbaccaa250
CRs-Fixed: 3262353
parent 4e4c1702
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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
@@ -65,6 +66,7 @@
#define PMO_MAC_ACTION_FST            18
#define PMO_MAC_ACTION_RVS            19
#define PMO_MAC_ACTION_VHT            21
#define PMO_VENDOR_PROTECTED          126
#define PMO_MAC_ACTION_MAX            256

/*
@@ -96,6 +98,7 @@
 * PMO_ACTION_FST             18      1
 * PMO_ACTION_RVS             19      1
 * PMO_ACTION_VHT             21      1
 * PMO_VENDOR_PROTECTED       126     1
 * ----------------------------+------+-------+
 */
#define SYSTEM_SUSPEND_ALLOWED_ACTION_FRAMES_BITMAP0 \
@@ -112,7 +115,9 @@

#define ALLOWED_ACTION_FRAMES_BITMAP1   0x0
#define ALLOWED_ACTION_FRAMES_BITMAP2   0x0
#define ALLOWED_ACTION_FRAMES_BITMAP3   0x0
#define ALLOWED_ACTION_FRAMES_BITMAP3 \
		(1 << (PMO_VENDOR_PROTECTED % 32))

#define ALLOWED_ACTION_FRAMES_BITMAP4   0x0
#define ALLOWED_ACTION_FRAMES_BITMAP5   0x0
#define ALLOWED_ACTION_FRAMES_BITMAP6   0x0