Commit Graph

7158 Commits

Author SHA1 Message Date
Rajeev Kumar
2d0f219479 qcacld-3.0: Deinit QDF print infra after printing memory leak objects
Deinit QDF print infra after printing leaked objects such that leak objects
detail gets logged before QDF print infra is destroyed.

Change-Id: I55494de6253c0409c8156a838b28bcc20a60913b
CRs-Fixed: 2129306
2017-10-24 23:50:38 -07:00
Mohit Khanna
69672c0f8f qcacld-3.0: Fix dumpStat logging levels
Fix NAPI and flow pool info logging levels. NAPI stats are showing up in
kmsg, when they should not. flow pool stats are simply not showing up
since debug levels are disabled for TXRX module.

Change-Id: I5fa3ca24cf3c31c2cf5183ccf9044eb085153da7
CRs-Fixed: 2127633
2017-10-24 23:50:34 -07:00
Naveen Rawat
a802966c01 qcacld-3.0: Fix logging level in wma_he.c
Fix logging level in wma_he.c. Move Info level logs to debug level
logs.

Change-Id: I193c12e2a0174d904d3e34a4bbd7e24fe42b8287
CRs-Fixed: 2131082
2017-10-24 23:50:32 -07:00
snandini
8b8b7bc150 Release 5.2.0.50W
Release 5.2.0.50W

Change-Id: If364d0cc092f328437c11a7f66a07863d195ab0a
CRs-Fixed: 774533
2017-10-24 22:56:34 -07:00
Rajeev Kumar
6dd45a84ec qcacld-3.0: Ignore target suspend if fw is down
Ignore target suspend timeout if fw is down such that
system can recover gracefully.

Change-Id: I26c3a1fb34483a46cd4f9d48d17408b688e5ad6c
CRs-Fixed: 2130097
2017-10-24 22:56:34 -07:00
snandini
bc227bafff Release 5.2.0.50V
Release 5.2.0.50V

Change-Id: I8542f1bea927bd1a33dd57bb5ddc6d9ea36cf10f
CRs-Fixed: 774533
2017-10-24 19:19:21 -07:00
Rajeev Kumar
07bbe12d29 qcacld-3.0: Remove faulty unload check from stop bss callback API
Stop BSS callback runs in driver's internal scheduler thread context
which should not check for driver load/unload state which is required
for external thread of execution. Stop BSS callback is supposed to
free the peer object which is created by HDD when driver gets unloaded.

Change-Id: I3b8586498f3e9783be3ca4ba8cc06b7f1e9d70a2
CRs-Fixed: 2131209
2017-10-24 19:19:21 -07:00
Rajeev Kumar
7774cc8178 qcacld-3.0: Add sta_id check before updating sta adapater array
Add sta_id check before updating sta adapater array in all other
places.

Change-Id: I1877bf0f7e0d4091877c094e03f9f429cf73dd34
CRs-Fixed: 2129779
2017-10-24 19:19:19 -07:00
Rajeev Kumar
4bc998faa6 qcacld-3.0: Add sta_id check before updating sta adapater array
Add sta_id check before updating sta adapater array

Change-Id: Ic2beadbf07d5071e2d9c69e04f178df39ab64136
CRs-Fixed: 2129645
2017-10-24 19:19:17 -07:00
snandini
e0b5101388 Release 5.2.0.50U
Release 5.2.0.50U

Change-Id: I91620e9cdfe21b55918e9928eb7fdf0a773fa41f
CRs-Fixed: 774533
2017-10-24 16:41:01 -07:00
Ravi Kumar Bokka
990edccddb qcacld-3.0: Add ini param to support power collapse of phy registers
Add a new ini param to enable power collapse of physical registers.
ini values can be:
 0-Disable Phy register retention
 1-Statically enable Phy register retention
 2-Dynamically enable/disable Phy register retention
by default ini value is set to zero.

Change-Id: Ia922c4c25a47b3251c765fda5d4189c69d1a1d14
CRs-Fixed: 1100324
2017-10-24 16:41:01 -07:00
Srinivas Girigowda
09ae07d4b3 qcacld-3.0: Remove unused function lim_active_scan_allowed()
Remove unused function lim_active_scan_allowed().

Change-Id: I912112a8857d7bf07d32bc1ee08f66e2df9ce684
CRs-Fixed: 2131122
2017-10-24 16:40:58 -07:00
Srinivas Girigowda
b9086af019 qcacld-3.0: Fix checkpatch warnings (QUOTED_WHITESPACE_BEFORE_NEWLINE)
Fix checkpatch warnings (QUOTED_WHITESPACE_BEFORE_NEWLINE).

Change-Id: I8901c49fa48c8a9c3a9c83c6be5ff003fe0eae62
CRs-Fixed: 2126814
2017-10-24 16:40:56 -07:00
Srinivas Girigowda
ea4d806da9 qcacld-3.0: Fix checkpatch warnings (SPACING)
Fix checkpatch warnings (SPACING).

Change-Id: I966fe641b4722cc15584defc42c90921090687fb
CRs-Fixed: 2126814
2017-10-24 16:40:54 -07:00
Srinivas Girigowda
828ef23f5e qcacld-3.0: Fix checkpatch warnings (SPACE_BEFORE_TAB)
Fix checkpatch warnings (SPACE_BEFORE_TAB).

Change-Id: I8f370187be5d9018559ce00d723f19064de9b836
CRs-Fixed: 2126814
2017-10-24 16:40:52 -07:00
Srinivas Girigowda
4d65ebe983 qcacld-3.0: Fix checkpatch warnings (LINE_SPACING)
Fix checkpatch warnings (LINE_SPACING).

Change-Id: Ibac537792bfd68a1e4b42eec0f5ece579fb15a20
CRs-Fixed: 2126814
2017-10-24 16:40:49 -07:00
Jeff Johnson
bb8b56af4c qcacld-3.0: Rename hdd_adapter station info fields
Struct hdd_adapter defines fields aStaInfo and staInfo_lock to manage
the station information. Per the Linux coding style "mixed-case names
are frowned upon" so rename the fields.

Change-Id: I0e0436d03255ab6e18eee70b57e3b5a9dc9cc3f5
CRs-Fixed: 2131096
2017-10-24 16:40:47 -07:00
Jeff Johnson
e7cc44cf5c qcacld-3.0: Rename hdd_station_info staType field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field staType in struct hdd_station_info.

Change-Id: I6852f6b1c45c69f0ef414ecaa46467094244888d
CRs-Fixed: 2131095
2017-10-24 16:40:45 -07:00
Jeff Johnson
4c0ab7b697 qcacld-3.0: Rename hdd_station_info ucSTAId field
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
ucSTAId in struct hdd_station_info.

Change-Id: Ifff172f180d6a769f25d29b655d1d4bb834318d1
CRs-Fixed: 2131094
2017-10-24 16:40:42 -07:00
Jeff Johnson
f235651ecf qcacld-3.0: Rename hdd_station_info macAddrSTA field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field macAddrSTA in struct hdd_station_info.

Change-Id: I823e0037902f0edd573041679ed8adf53b4bb411
CRs-Fixed: 2131093
2017-10-24 16:40:40 -07:00
Jeff Johnson
b157c72c94 qcacld-3.0: Rename hdd_softap_deinit_tx_rx_sta() STAId param
Per the Linux coding style "mixed-case names are frowned upon" so
rename the STAId parameter to hdd_softap_deinit_tx_rx_sta().

Change-Id: Ica4882c93e471f0c8deac40000179eac5a3e29d1
CRs-Fixed: 2131092
2017-10-24 16:40:38 -07:00
Jeff Johnson
349d9a9d8b qcacld-3.0: Rename hdd_softap_init_tx_rx_sta() params
Per the Linux coding style "mixed-case names are frowned upon" so
rename parameters to hdd_softap_init_tx_rx_sta() which currently use
mixed-case names.

Change-Id: I0bdc746d0f9c89cd6d6d6170337ac9db5fb0242c
CRs-Fixed: 2131091
2017-10-24 16:40:36 -07:00
Jeff Johnson
e7672e7c5f qcacld-3.0: Rename hdd_wlan_set_ht2040_mode() params
Per the Linux coding style "mixed-case names are frowned upon" so
rename parameters to hdd_wlan_set_ht2040_mode() which currently use
mixed-case names.

Change-Id: I7759dcfb0e37c86a953d029a7ecf96082f565bbc
CRs-Fixed: 2131090
2017-10-24 16:40:34 -07:00
Jeff Johnson
65fda1155b qcacld-3.0: Rename hdd_station_info isQosEnabled field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isQosEnabled in struct hdd_station_info.

Change-Id: I0e8ba829be981faa339c7ad6ccebdb7f8194ae17
CRs-Fixed: 2131089
2017-10-24 16:40:31 -07:00
Jeff Johnson
9a5863f4d3 qcacld-3.0: Rename hdd_station_info tlSTAState field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field tlSTAState in struct hdd_station_info.

Change-Id: I8742b42144ed455213eef92426356c54b08e2038
CRs-Fixed: 2131087
2017-10-24 16:40:29 -07:00
Jeff Johnson
e4f5d93019 qcacld-3.0: Rename hdd_station_info isDeauthInProgress field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isDeauthInProgress in struct hdd_station_info.

Change-Id: I8e30bb8b91e8eddd32e3122902543b44a8cdd170
CRs-Fixed: 2131086
2017-10-24 16:40:27 -07:00
Jeff Johnson
b105d05c8d qcacld-3.0: Rename hdd_station_info isUsed field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isUsed in struct hdd_station_info.

Change-Id: I60265fd3b6ac5bb8d98aa916b87ebf73a6c231f6
CRs-Fixed: 2131085
2017-10-24 16:40:25 -07:00
Jeff Johnson
dc179f4e86 qcacld-3.0: Fix camelCase issues with struct hdd_pmf_stats
Both fields within struct hdd_pmf_stats are currently defined with
camelCase. Rename these to align with the Linux coding style which
states "mixed-case names are frowned upon."

Change-Id: Ib701404a07c3c42fdecbe56f8baafece849fa616
CRs-Fixed: 2130440
2017-10-24 16:40:23 -07:00
snandini
6dfd31528a Release 5.2.0.50T
Release 5.2.0.50T

Change-Id: I43aca7cfe357bdb9c445e4e1ea1ada46eada8797
CRs-Fixed: 774533
2017-10-24 15:38:32 -07:00
Ganesh Kondabattini
dd72652f3a qcacld-3.0: Send TDLS frames with lower AC
If ACM enabled and access is not granted for AC_VI, then send
TDLS frames with lower access category instead of dropping them.

Change-Id: I2201536dc4475764f33eebce1faa0a7df0b2c454
CRs-Fixed: 2045241
2017-10-24 15:38:31 -07:00
snandini
1cefc91e0c Release 5.2.0.50S
Release 5.2.0.50S

Change-Id: I261b4dbebc78c8deae11d7661bb0b138063b8431
CRs-Fixed: 774533
2017-10-24 05:39:24 -07:00
Wu Gao
80c5f8a0af qcacld-3.0: Remove variables about roc
Remove lock, flag and delay work about roc in HDD layer.

Change-Id: I13316995d0754b078433862a29637e9f220aa420
CRs-Fixed: 2130530
2017-10-24 05:39:24 -07:00
snandini
1e730015e0 Release 5.2.0.50R
Release 5.2.0.50R

Change-Id: I0a0d83c615f1a7aba0903745f4b2c76e36309769
CRs-Fixed: 774533
2017-10-24 04:51:54 -07:00
Govind Singh
e793db4b07 qcacld-3.0: Add cold boot calibration enum in pld driver mode
Add support for cold boot calibration driver mode in pld
layer.

CRs-Fixed: 2117666
Change-Id: If1db00262ab6068681b01734eb1edbdae967e4db
2017-10-24 04:51:53 -07:00
snandini
8b4bdf1e50 Release 5.2.0.50Q
Release 5.2.0.50Q

Change-Id: I37f16e29fe05d0acc03da75a9463cdc9a4821750
CRs-Fixed: 774533
2017-10-24 02:33:25 -07:00
Yun Park
ff6a16ae6f qcacld-3.0: Enable RPS dynamically for SAP mode
SAP Rx TPUT is bounded by host network stack, which is running in the
context of IPA work-queue, when IPA offload data path enabled.
However RPS shouldn't enabled for legacy Rx data path, where NAPI is
enabled. So, we dynamically enable RPS for SAP interface when the vdev
comes up and IPA was enabled only.
Send RPS enable indication to CNSS daemon to enable RPS only when SAP
interface comes up and disable RPS when SAP interface is closed.

Change-Id: Ia669b2c3ae814d0577f5226d8acbf026740ad760
CRs-Fixed: 1113202
2017-10-24 02:33:25 -07:00
snandini
ce52fbd513 Release 5.2.0.50P
Release 5.2.0.50P

Change-Id: I47742f11277bef19bee6f1150cf66dcda7e14a2b
CRs-Fixed: 774533
2017-10-24 00:49:48 -07:00
Dustin Brown
46a15a39bc qcacld-3.0: Call cds_sched_close in cds_open error path
When cds_open fails after calling cds_sched_open, cleanup is attempted.
However, cds_sched_close is currently protected by a faulty
conditional. Remove the conditional so the scheduler context can be
cleaned up appropriately for all cds_open failure modes.

Change-Id: I709e8d2af06ffdf1a2910d81d23fa3a33ffbe074
CRs-Fixed: 2129677
2017-10-24 00:49:47 -07:00
Manjunathappa Prakash
81ca3a55b2 qcacld-3.0: Disable TCP delayed ack if LRO is enabled
Coexistence of TCP delayed ack and LRO could be detrimental with a smaller
window size. So disable TCP delayed ack dynamically if LRO is enabled.

Change-Id: I0660e78269da548bc3a5ad0ed6b8f3865046b8b4
CRs-Fixed: 1114687
2017-10-24 00:49:45 -07:00
Manjunathappa Prakash
7b6cb00b26 qcacld-3.0: Disable LRO capability during concurrency
LRO rx jumbo packets cannot be forwarded to other vdev and kernel drops
them with warning message:
"skbuff: wlan0: received packets cannot be forwarded while LRO is enabled"
So disable LRO capability during concurrency.

Change-Id: Ib35e1ee5f9c18a846e21ce1eb293e12e17761fa8
CRs-Fixed: 1092193
2017-10-24 00:49:43 -07:00
Govind Singh
a1f6dacf0c qcacld-3.0: Add fw ready uevent to update driver state
FW ready state guarantees the completion of 2nd stage power on
reset sequence of wcn3990 target.

Add fw ready uevent to update driver state, which is required
to check if target registers are accessible or not, while
recovery is in progress.

Change-Id: I78d56644d4d4ac3a0371be625a2debed8ac7cebf
CRs-Fixed: 2058451
2017-10-24 00:49:41 -07:00
snandini
69696fb954 Release 5.2.0.50O
Release 5.2.0.50O

Change-Id: Ib11b8c4bed45df764a244a1794bf0365af352610
CRs-Fixed: 774533
2017-10-23 22:08:35 -07:00
Yun Park
0dad10099d qcacld-3.0: Enable WDI3.0 IPA offload
Enable CONFIG_IPA

Change-Id: I20c6ce30034dd1c66bae32a2b7a891aa04bfa0f4
CRs-Fixed: 2085753
2017-10-23 22:08:34 -07:00
snandini
fd3cf1d3e1 Release 5.2.0.50N
Release 5.2.0.50N

Change-Id: I9670ef0f94a6db4ac5b4f9d038c7fc2411e1abf9
CRs-Fixed: 774533
2017-10-23 20:24:02 -07:00
Vignesh Viswanathan
c56e657507 qcacld-3.0: Filter channels based on gRoamIntraBand in driver
Currently if ini parameter gRoamIntraBand is enabled in driver
sta should roam within the band 5G to 5G or 2.4G to 2.4G only,
but sta is able to roam from 5G to 2.4G and vice versa because
host sends channels of all bands to fw.

Fix is to filter channels based on gRoamIntraBand in driver
before sending channel list to fw.

Change-Id: I54407954dbf44fdc1779ce864767318e24db5757
CRs-Fixed: 2043309
2017-10-23 20:24:02 -07:00
Yun Park
edec48d555 qcacld-3.0: Change to include FW interface file wdi_ipa.h
For WLAN FW-host interface file automation, need to pull in WDI IPA
interface definition file wdi_ipa.h, into WLAN host driver.
This change is to match host dirver MACRO names with wdi_ipa.h.
Enable back CONFIG_IPA_OFFLOAD flag in Kbuild.

Change-Id: I9cd0c3b942c0a7b5e98f589090ae51cc0acf67c2
CRs-Fixed: 2085741
2017-10-23 20:24:00 -07:00
Yun Park
657c7d7a02 qcacld-3.0: WLAN host changes for SDM845
1. To allow WLAN IPA module built for Napali msm-4.9, add to set
   CONFIG_IPA_OFFLOAD build flag 1 when CONFIG_IPA3 is defined
2. Reduce HDD_IPA_MAX_IFACE to 2
3. Rename WDI structure variable num_bam_int_in_non_running_state,
   which is corrected in msm-4.9

Change-Id: I0a58ada19177ab4127e0b4f2e14240c683613192
CRs-Fixed: 2057936
2017-10-23 20:23:58 -07:00
Dustin Brown
d0a7656c2b qcacld-3.0: Converge on recommended wake lock duration
Over time, many arbitrary wake lock durations were chosen with very
little observational evidence to support them. Converge on a standard
recommended wake lock duration, which can serve as a starting point for
finding an appropriate wake lock duration.

Change-Id: Ie54c415870c96117d72ead4d677c4bfb2aad3ae4
CRs-Fixed: 2126685
2017-10-23 20:23:56 -07:00
Yun Park
3b7152b061 qcacld-3.0: Set ipa_pipes_down TRUE after IPA pipes are disabled
Set ipa_pipes_down flag TRUE only when IPA pipes are successfully
suspended and disabled.
This will force IPA pipes to be disabled when SAP closed.

Change-Id: Ieb3b3d5440c2d279648b08d238d1472613800fea
CRs-Fixed: 2096338
2017-10-23 20:23:54 -07:00
snandini
c0ca1fc4de Release 5.2.0.50M
Release 5.2.0.50M

Change-Id: I5419e6381bd86f9fcac4c4ded099078cdbdb56a6
CRs-Fixed: 774533
2017-10-23 16:30:22 -07:00