Commit Graph

871 Commits

Author SHA1 Message Date
Jeff Johnson
b4c2996223 qcacld-3.0: pmo: Fix block comments
Checkpatch reported multiple instances of block comments not aligning
on "*" so fix them.

Change-Id: I082f62f59fe16d84ba013adbbfcd2e9bf1985e3c
CRs-Fixed: 2122901
2017-10-12 13:59:59 -07:00
Srinivas Girigowda
31cef197ff qcacld-3.0: Configure FW not to wakeup APPS for RRM action frame
This is a qcacld-2.0 to qcacld-3.0 propagation.

If the device connects to 11k enabled AP and enter WoW mode, then
the AP is keep sending RRM beacon reports (Action frames) which are
waking up the APPS and leading to battery drain.

The fix is to configure the firmware to not to wake up APPS
for RRM action frame.

Change-Id: I2368be4f641b8b8684a458daea52a81fa671200b
CRs-Fixed: 1115560
2017-10-12 13:57:58 -07:00
Poddar, Siddarth
f7c49e73b7 qcacld-3.0: Add support for set multicast filter command
Add support for WMI_SET_MULTIPLE_MCAST_FILTER_CMDID command
that can add/delete multiple mcast filters.

CRs-Fixed: 2096595
Change-Id: I3dc93c603a5a6676d97b5911a716277c7bef0ef8
2017-10-12 13:56:33 -07:00
Hanumanth Reddy Pothula
ab3959506f qcacld-3.0: Update ini param g_auto_detect_power_failure_mode
Update ini param g_auto_detect_power_failure_mode to incorporate below
values,
0 - Don't register wow wakeup event and FW crashes on power failure
1 - Register wow wakeup event and FW sends failure event to host on
    power failure
2 - Don't register wow wakeup event and FW silently rejuvenate on
    power failure
3 - Don't register wow wakeup event and the auto power failure detect
    feature is disabled in FW.

Change-Id: I8a704954ecbacadbc035c1523fa41a18b6300f66
CRs-Fixed: 2087144
2017-10-09 03:47:52 -07:00
Vignesh Viswanathan
21d9ecbf2a qcacld-3.0: Add kek_len to GTK Offload params in PMO component structure
Add new kek_len param used for FILS in the pmo_gtk_req structure under
PMO GTK public structures

Change-Id: I4fc25026d9fc004f267b9461d1671f8b1ac57f53
CRs-Fixed: 2081252
2017-10-06 12:27:39 -07:00
Rajeev Kumar
66b5726b66 qcacld-3.0: Fix excessive logging from wlan_pmo_suspend_resume.c
Info level logs are logged on console, hence change PMO
logs in wlan_pmo_suspend_resume.c to debug log level to avoid
excessive console logging.

Change-Id: Ie9852ef5ea8fefaa33a82f0b287224271ada003b
CRs-Fixed: 2121361
2017-10-04 22:48:31 -07:00
Rajeev Kumar
fddebf7ef5 qcacld-3.0: Fix excessive logging from wlan_pmo_gtk.c
Info level logs are logged on console, hence change PMO logs in
wlan_pmo_gtk.c to debug log level to avoid excessive console
logging.

Change-Id: I3aa1eef2476827157adfa51e37b0054b10ba58c1
CRs-Fixed: 2118712
2017-09-28 21:59:37 -07:00
Will Huang
fe649175aa qcacld-3.0: Differentiate pattern id for legacy firmware
The Wow pattern id should be identified unique for different vdevs of
legacy firmware, and latest firmware accept same Wow pattern id on
different vdevs.

This change is to differentiate this behavior using
WMI_SERVICE_UNIFIED_WOW_CAPABILITY flag, and supply a set of APIs to
manipulate pattern id.

Change-Id: I5fe7623a309a0c3baa14fb7312107c057e994462
CRs-Fixed: 2103017
2017-09-27 17:30:33 -07:00
Rajeev Kumar
887d7d407a qcacld-3.0: Fix excessive logging from wlan_pmo_tgt_gtk.c
Info level logs are logged on console, hence change PMO logs in
wlan_pmo_tgt_gtk.c to debug log level to avoid excessive console
logging.

Change-Id: I8f19e8651927a7c3cae9ee1e1118f983c063b3ed
CRs-Fixed: 2116340
2017-09-27 16:23:40 -07:00
Rajeev Kumar
08f67ca4e4 qcacld-3.0: Fix excessive logging from wlan_pmo_ns.c
Info level logs are logged on console, hence change PMO logs in
wlan_pmo_ns.c to debug log level to avoid excessive console logging.

Change-Id: I60620f6a3ce4fe708f026a554a5295c1f708f485
CRs-Fixed: 2116335
2017-09-27 16:23:38 -07:00
Rajeev Kumar
6f5fc88fd0 qcacld-3.0: Fix excessive logging from wlan_pmo_arp.c
Info level logs are logged on console, hence change PMO logs in
wlan_pmo_arp.c to debug log level to avoid excessive console logging.

Change-Id: I4eef5203f612b3ddaace30d4da43c13103dd60c7
CRs-Fixed: 2116328
2017-09-27 16:23:35 -07:00
Rajeev Kumar
5651117a90 qcacld-3.0: Fix excessive logging from wlan_pmo_suspend_resume.h
Info level logs are logged on console, hence change PMO logs in
wlan_pmo_suspend_resume.h to debug log level to avoid excessive
console logging.

Change-Id: I77edb26ce3eb61573bba830787fe0ffb32eb6281
CRs-Fixed: 2116321
2017-09-27 16:23:30 -07:00
Rajeev Kumar
a0b12dff9b qcacld-3.0: Fix excessive logging from wlan_pmo_main.c
Info level logs are logged on console, hence change PMO
logs in wlan_pmo_main.c to debug log level to avoid excessive
console logging.

Change-Id: I1f3c00537ce850079a06aaf479bdb917e7ea55e2
CRs-Fixed: 2116314
2017-09-27 16:23:28 -07:00
Jeff Johnson
0a6453843c qcacld-3.0: pmo: Replace instances of unadorned %p
Replace instances of unadorned %p in components/pmo.

Change-Id: I771a66f98fafa38f77034a854c56422b535c6936
CRs-Fixed: 2100997
2017-09-20 06:22:03 -07:00
Naveen Rawat
901d35302d qcacld-3.0: Enable WOW_PATTERN_MATCH_EVENT for NDI
Enable rx of NDP data packets in WOW mode by enabling
WOW_PATTERN_MATCH_EVENT for NDI vdev.

Change-Id: I4d5edfc91c23fd8cc277c005da7803690b5fe054
CRs-Fixed: 2069493
2017-09-18 19:38:29 -07:00
Sridhar Selvaraj
53166d7fdb qcacld-3.0: Drop action frames based on action id
Currently, host driver sets bitmap of allowed action frames to fw.
For a particular action category, there are certain action id
frames which are not processed. This causes host wakeup and leads
to power drain.

Set action id along with action category to fw for action frames
to be allowed to host driver.

Change-Id: Ifa0b40b290fcabb9ce5e48f69bd462aebb9017ac
CRs-Fixed: 2072123
2017-08-30 10:45:47 -07:00
Dustin Brown
e847690fe7 qcacld-3.0: Refactor pmo_unpause_all_vdev
Refactor pmo_unpause_all_vdev to remove nested conditional compilation.

Change-Id: I17edcbb791c722a7fcb98d3dce71c82406281003
CRs-Fixed: 2094604
2017-08-30 10:43:15 -07:00
Rajeev Kumar
b209e82449 qcacld-3.0: Avoid bug on after wow suspend if self recovery is enabled
Avoid bug on in PMO after FW response timeoout. Invoke host initiated
self recovery callback instead.

Change-Id: I4d38bdaba4a5b2ed02002b2711570109fe242848
CRs-Fixed: 2070815
2017-08-22 16:05:35 -07:00
Dustin Brown
8d8d9fe485 qcacld-3.0: Add enhanced multicast enable/disable APIs
Currently, a hard-coded enhanced multicast filter configuration is being
sent to firmware. Instead, create a set of enable/disable APIs, and
configure enhanced multicast filter based on advertised firmware
capability.

Change-Id: I488b4a921612e1081266be8831be098d755375f9
CRs-Fixed: 2078615
2017-07-27 16:59:26 -07:00
Dustin Brown
c86d5368b0 qcacld-3.0: Do not wait for scan cancel during suspend
In the suspend path, the code waits for all active/pending scans to be
cancelled before continuing the suspend. Instead, for better power
savings, abort all active/pending scans during suspend and immediately
continue the suspend process.

Change-Id: I16a5429c00034fe58fb4c70a8dacda666ac54227
CRs-Fixed: 2073229
2017-07-27 16:59:22 -07:00
Rajeev Kumar
f46083e0e5 qcacld-3.0: Move CLD components outside core folder
Core is legacy module folder in CLD. Hence move MCL specific
components folder outside core.

Change-Id: Iba3f9fdb06ad10dc4a5b19f3ff1ffa23f7372605
CRs-Fixed: 2077963
2017-07-18 01:58:53 -07:00