summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorBapiraju Alla <balla@codeaurora.org>2020-07-14 14:38:44 +0530
committerBapiraju Alla <balla@codeaurora.org>2020-07-14 14:38:44 +0530
commitbfe8c374452d484424e1be799467854e7e75f4ec (patch)
treeeab0a986ac77eb3a2092e0db75e48e681a070b2d /include/linux/compiler.h
parent2d649983127f93212cd6e4b9e5b1821570176496 (diff)
qcacld-3.0: Limit the number of times get_tx_power can come
Currently in the driver, there is no limit on how many number of times get_tx_power can be requested by the userspace. This can lead to potential issues where the firmware crashes due to excessive stats request. Add a time based rate limiting logic wherein the function call only sends request to the firmware once in three seconds. In other cases, it returns the cached value present in the adapter. Change-Id: I65f23135d88c66e6438484715dafce3def14ddb3 CRs-Fixed: 2717633
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions