qcacld-3.0: Remove ADDBA_REQ to avoid overwriting spec_mgmt

As per the current implementation, the ADDBA_REQ bitmap setting
overwrites DROP_SPEC_MGMT_ACTION_FRAME_BITMAP. Hence, to avoid it,
remove the ADDBA_REQ bitmap setting.

Change-Id: I1135a64de99248b67e477d3276b217c128c1a721
CRs-Fixed: 3081291
This commit is contained in:
Aditya Kodukula
2021-11-23 18:00:49 -08:00
gecommit door Madan Koyyalamudi
bovenliggende 3fc8b5924f
commit cefd0f71e9

Bestand weergeven

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 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
@@ -370,18 +371,14 @@ void pmo_register_wow_default_patterns(struct wlan_objmgr_vdev *vdev)
}
#ifdef CONFIG_LITHIUM
#define ADDBA_REQ 0
static void set_action_id_drop_pattern_for_block_ack(
uint32_t *action_category_map,
uint32_t *action_id_per_category)
static void
set_action_id_drop_pattern_for_block_ack(uint32_t *action_category_map)
{
action_category_map[0] |= 1 << PMO_MAC_ACTION_BLKACK;
action_id_per_category[0] = 1 << ADDBA_REQ;
}
#else
static inline void set_action_id_drop_pattern_for_block_ack(
uint32_t *action_category_map,
uint32_t *action_id_per_category)
static inline void
set_action_id_drop_pattern_for_block_ack(uint32_t *action_category_map)
{
}
#endif
@@ -446,8 +443,7 @@ pmo_register_action_frame_patterns(struct wlan_objmgr_vdev *vdev,
set_action_id_drop_pattern_for_spec_mgmt(cmd->action_per_category);
set_action_id_drop_pattern_for_public_action(cmd->action_per_category);
set_action_id_drop_pattern_for_block_ack(&cmd->action_category_map[0],
cmd->action_per_category);
set_action_id_drop_pattern_for_block_ack(&cmd->action_category_map[0]);
for (i = 0; i < PMO_SUPPORTED_ACTION_CATE_ELE_LIST; i++) {
if (i < ALLOWED_ACTION_FRAME_MAP_WORDS)