qcacld-3.0: Init channel load and statistics rrm caps

During rrm_initialize () set RRM cap for Channel Load
and statistics to enable by default. Same rrm capabilities
driver sends to AP in association request during connection.

Change-Id: I3a9d87b8bd8b28b84ccc3578fff2ad1c7ebd8a6e
CRs-Fixed: 3609838
This commit is contained in:
Abhinav Kumar
2023-09-08 01:39:31 -07:00
zatwierdzone przez Rahul Choudhary
rodzic 38a6b6bc2e
commit 49c7a74dbf
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2012-2018, 2020 The Linux Foundation. All rights reserved. * Copyright (c) 2012-2018, 2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -96,7 +97,7 @@
/* /*
* <ini> * <ini>
* rm_capability - Configure RM enabled capabilities IE * rm_capability - Configure RM enabled capabilities IE
* @Default: 0x73,0x10,0x91,0x00,0x04 * @Default: 0x73,0x1A,0x91,0x00,0x04
* *
* This ini is used to configure RM enabled capabilities IE. * This ini is used to configure RM enabled capabilities IE.
* Using this INI, we can set/unset any of the bits in 5 bytes * Using this INI, we can set/unset any of the bits in 5 bytes
@@ -117,7 +118,7 @@
#define CFG_RM_CAPABILITY CFG_INI_STRING("rm_capability", \ #define CFG_RM_CAPABILITY CFG_INI_STRING("rm_capability", \
24, \ 24, \
40, \ 40, \
"0x73,0x10,0x91,0x00,0x04", \ "0x73,0x1A,0x91,0x00,0x04", \
"RM enabled capabilities IE") "RM enabled capabilities IE")
#define CFG_FE_RRM_ALL \ #define CFG_FE_RRM_ALL \

Wyświetl plik

@@ -2618,6 +2618,8 @@ QDF_STATUS rrm_initialize(struct mac_context *mac)
pRRMCaps->APChanReport = 1; pRRMCaps->APChanReport = 1;
pRRMCaps->fine_time_meas_rpt = 1; pRRMCaps->fine_time_meas_rpt = 1;
pRRMCaps->lci_capability = 1; pRRMCaps->lci_capability = 1;
pRRMCaps->ChannelLoad = 1;
pRRMCaps->statistics = 1;
pRRMCaps->operatingChanMax = 3; pRRMCaps->operatingChanMax = 3;
pRRMCaps->nonOperatingChanMax = 3; pRRMCaps->nonOperatingChanMax = 3;