summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2019-06-20 12:05:52 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-09-27 06:39:13 -0700
commit1a56f290ec623ac5d81e418014b7f2f7da9e3583 (patch)
treed6cd1bc7220aeaf906321d1ef0a045b00d1c8682 /lib/mpi/mpiutil.c
parent60905800a7a9b069a2384831ae9a4fb74f759870 (diff)
qcacld-3.0: Send RSO command (any type) only in connected state
Currently the driver sends the update cfg RSO command to the FW, which updates the channel list to which the FW should roam to find other BSSIDs. Before the connection is established all the channels are sent to the FW, but after the connection is established only few channels are present which reduces the scan time, and reconnection time to the new BSSID. But when the FW gets the new channel list as part of RSO after th connection, it appends the new channels with the previous list that it received, and hence scans all the channels when roaming happens, which in turn consumes power, and reduces battery life with no extra advantage. Fix is to reject the update cfg command in the disconnected state as whatever updates are done are cached in the driver, and are always sent to the FW after the connection is established. There is no point to send the updated cfg params everytime, if the driver already sends the command just after the connection. Change-Id: I19caf194edc1dc038abdfb5b03e69afba48ffc89 CRs-Fixed: 2469350
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions