qcacld-3.0: Register EHT action frames for wake up

Currently the bitmap of action frames that can wake up the host
is sent via the wmi command WMI_WOW_SET_ACTION_WAKE_UP_CMDID.
This bitmap doesn't include EHT action frames so currently the
host doesn't wake up for EHT action frames.

Enable wake up for EHT action frames during runtime/system suspend.

CRs-Fixed: 3811796
Change-Id: I2c6ab7b7fba5572a02ff0db0f5198f2e9138a97e
This commit is contained in:
Arun Kumar Khandavalli
2024-05-17 15:46:02 +05:30
committed by Ravindra Konda
parent 47afce51f1
commit 86620d4a21

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2023-2024 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
@@ -66,6 +66,8 @@
#define PMO_MAC_ACTION_FST 18
#define PMO_MAC_ACTION_RVS 19
#define PMO_MAC_ACTION_VHT 21
#define PMO_MAC_ACTION_EHT 36
#define PMO_MAC_ACTION_PROT_EHT 37
#define PMO_VENDOR_PROTECTED 126
#define PMO_MAC_ACTION_MAX 256
@@ -98,6 +100,8 @@
* PMO_ACTION_FST 18 1
* PMO_ACTION_RVS 19 1
* PMO_ACTION_VHT 21 1
* PMO_MAC_ACTION_EHT 36 1
* PMO_MAC_ACTION_PROT_EHT 37 1
* PMO_VENDOR_PROTECTED 126 1
* ----------------------------+------+-------+
*/
@@ -113,7 +117,9 @@
(1 << PMO_MAC_ACTION_RVS) | \
(1 << PMO_MAC_ACTION_VHT))
#define ALLOWED_ACTION_FRAMES_BITMAP1 0x0
#define ALLOWED_ACTION_FRAMES_BITMAP1 \
((1 << (PMO_MAC_ACTION_EHT % 32)) |\
(1 << (PMO_MAC_ACTION_PROT_EHT % 32)))
#define ALLOWED_ACTION_FRAMES_BITMAP2 0x0
#define ALLOWED_ACTION_FRAMES_BITMAP3 \
(1 << (PMO_VENDOR_PROTECTED % 32))