Commit Graph

12542 Commits

Author SHA1 Message Date
Jeff Johnson
23980b63f3 qcacld-3.0: Fix block comments in wlan_hdd_includes.h
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_includes.h.

Change-Id: I64688d67d58b7e62566831b5e33de76a0a99bcd0
CRs-Fixed: 1110861
2017-01-13 14:13:11 -08:00
Jeff Johnson
d3919a9d3b qcacld-3.0: Fix block comments in wlan_hdd_hostapd.c
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_hostapd.c.

Change-Id: Ie295f49c332120b90d6f55413447e29d40bf5e8d
CRs-Fixed: 1110861
2017-01-13 14:13:09 -08:00
Jeff Johnson
557e16ff8a qcacld-3.0: Fix block comments in wlan_hdd_host_offload.h
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_host_offload.h.

Change-Id: If0eaf603f2adfe43913df7eee3de2799dc58f239
CRs-Fixed: 1110861
2017-01-13 14:13:07 -08:00
Jeff Johnson
9dc96a011a qcacld-3.0: Fix block comments in wlan_hdd_ext_scan.c
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_ext_scan.c.

Change-Id: I0cb6e91cca3f76a04bd67126917f20b77360dabf
CRs-Fixed: 1110861
2017-01-13 14:13:05 -08:00
Jeff Johnson
330c6b0ce1 qcacld-3.0: Fix block comments in wlan_hdd_ether.h
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_ether.h.

Change-Id: Ib33cbcf1425105ecc4dcfd938589deac8d35de3c
CRs-Fixed: 1110861
2017-01-13 14:13:03 -08:00
Jeff Johnson
495ebc4e10 qcacld-3.0: Fix block comments in wlan_hdd_driver_ops.h
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_driver_ops.h.

Change-Id: Ib3b2d1193d064e94f6deebb06acddf26ded9b468
CRs-Fixed: 1110861
2017-01-13 14:13:01 -08:00
Jeff Johnson
0a9da59bd4 qcacld-3.0: Fix block comments in wlan_hdd_driver_ops.c
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_driver_ops.c.

Change-Id: I60dcab8100e926db6ee5d096b4ee7a616e22e7d5
CRs-Fixed: 1110861
2017-01-13 14:13:00 -08:00
Jeff Johnson
913c72868b qcacld-3.0: Fix block comments in wlan_hdd_cfg80211.h
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_cfg80211.h.

Change-Id: If2e152d58da51c7cfb1e6da760c6614cfca83490
CRs-Fixed: 1110861
2017-01-13 14:12:58 -08:00
Jeff Johnson
f3826e1130 qcacld-3.0: Fix block comments in wlan_hdd_cfg80211.c
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_cfg80211.c.

Change-Id: I1efb67f64aeb3f8a9bf59f23593507ba02c90591
CRs-Fixed: 1110861
2017-01-13 14:12:56 -08:00
Jeff Johnson
dcd2cf920b qcacld-3.0: Fix block comments in wlan_hdd_cfg.h
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_cfg.h.

Change-Id: Ibb9da8752c06ac9d380ca5eaaad8b007e630908a
CRs-Fixed: 1110861
2017-01-13 14:12:54 -08:00
Jeff Johnson
78d88a82c8 qcacld-3.0: Fix block comments in wlan_hdd_cfg.c
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_cfg.c.

Change-Id: I435c49baf8e24ce56d5f2aef61f61d858a09cc8f
CRs-Fixed: 1110861
2017-01-13 14:12:53 -08:00
Jeff Johnson
5a06237022 qcacld-3.0: Fix block comments in wlan_hdd_assoc.c
A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_assoc.c.

Change-Id: I6477de171880030a5a0b8444d8ae423b2b00f828
CRs-Fixed: 1110861
2017-01-13 14:12:51 -08:00
qcabuildsw
5f99288a72 Release 5.2.0.5D
Release 5.2.0.5D

Change-Id: Ib8b681691f9cf941c5ebc20d972c89ba5df0dcaa
CRs-Fixed: 688141
2017-01-13 10:56:26 -08:00
Dustin Brown
ddb597077f qcacld-3.0: Fix possible NULL dereference in unit-test suspend/resume
Fix 4 possible NULL dereference issues in unit-test suspend/resume
logic, as identified by static analysis.

Change-Id: I605eaf659355c50aeb50d4324db4fb209aa19e70
CRs-Fixed: 1110954
2017-01-13 10:56:25 -08:00
qcabuildsw
92ff72506a Release 5.2.0.5C
Release 5.2.0.5C

Change-Id: I4477eef4d36c2836a85ff3f6769fd97a856552c1
CRs-Fixed: 688141
2017-01-13 00:34:36 -08:00
Dustin Brown
72f0225568 qcacld-3.0: Update WoW Wake-Up Reason Text
WoW wakeup reason text is missing several reasons. Bulk copy reasons
from the wake reason enum to prevent missing any.

Change-Id: I64ca26307a2fc63ee7fd764ee001888999d3c6d3
CRs-Fixed: 1109808
2017-01-13 00:34:35 -08:00
Dustin Brown
d932248600 qcacld-3.0: Add internal ioctl to get suspend/resume stats
To assist in testing scenarios, add an ioctl that prints the
suspend/resume stats since the driver was last loaded.

Change-Id: I48e60dd0420e658ea43de721e9802f999b653bd3
CRs-Fixed: 1109141
2017-01-13 00:34:33 -08:00
qcabuildsw
287a8dba8c Release 5.2.0.5B
Release 5.2.0.5B

Change-Id: Ia5b6fa543bbd31f5554b716f8d31ea1eddaedf32
CRs-Fixed: 688141
2017-01-12 18:43:40 -08:00
Yue Ma
502a28fa0f qcacld-3.0: Add shadow register version 2 structures in PLD
These version 2 shadow registers are filled by HIF and sent to firmware
through QMI for QCA6290 chipset.

Change-Id: I92edb4140f707a933dacbe982eb4da167841b501
CRs-fixed: 1107457
2017-01-12 18:43:39 -08:00
qcabuildsw
92aa87321b Release 5.2.0.5A
Release 5.2.0.5A

Change-Id: I89ea2fb878b54da2e05b6416e34f02e3d2ca702f
CRs-Fixed: 688141
2017-01-12 16:51:20 -08:00
Tushnim Bhattacharyya
5015e98888 qcacld-3.0: disable adaptive dwell mode for p2p scans
Disable  adaptive dwell time logic for p2p scans to avoid p2p find
failures.

Change-Id: I2e5a26d6281021a720c61c65570ec472335cf6f9
CRs-Fixed: 1110342
2017-01-12 16:51:19 -08:00
qcabuildsw
a85a3e1e2f Release 5.2.0.5
Release 5.2.0.5

Change-Id: I99d405e9f49b6e3f244efd0b127628f0c68ede59
CRs-Fixed: 688141
2017-01-12 13:45:53 -08:00
Dustin Brown
9d797d6b67 qcacld-3.0: Track WoW stats per vdev
Currently wake-on-wireless wake-up stats are tracked globaly. Split
WoW stats tracking per virtual device instead.

Change-Id: If913081cf726d20b9cda2dde58a9b9f4f7cbcf19
CRs-Fixed: 1110403
2017-01-12 13:45:50 -08:00
qcabuildsw
4ead0fe522 Release 5.2.0.4Z
Release 5.2.0.4Z

Change-Id: I1787a101750cdf640162ec2114e71bb51ffe10b0
CRs-Fixed: 688141
2017-01-12 13:12:53 -08:00
Krunal Soni
4274f36bcd qcacld-3.0: Allow full spectrum scan when agile & aDFS scan supported
Traditionally full spectrum scan on STA/CLI is not allowed when SAP/GO is
already present on DFS channel.

With new generation of hardware, agile scan and agile DFS scan features
are supported which will allow hardware to do full spectrum scan even if
SAP/GO is present on DFS channel.

Change-Id: I7e5a21601642e0d6afef73beeecf80a3e0475909
CRs-Fixed: 1103730
2017-01-12 13:12:51 -08:00
qcabuildsw
6325d269f4 Release 5.2.0.4Y
Release 5.2.0.4Y

Change-Id: I66d5be169957769995b690fb1b645ee22e7a823f
CRs-Fixed: 688141
2017-01-12 10:03:02 -08:00
Rajeev Kumar
699debfa8f qcacld-3.0: Create object manager API files in HDD
Create HDD object manager API files and move HDD object manager
APIs implementation inside it.

Change-Id: I762c8a4aafb67c35ef1eb07a7efa5b826659754e
CRs-Fixed: 1108557
2017-01-12 10:03:01 -08:00
qcabuildsw
92d6b37281 Release 5.2.0.4X
Release 5.2.0.4X

Change-Id: Iaddae60b2bc23e67eeae577e5fcc4dc15b38bf8a
CRs-Fixed: 688141
2017-01-11 22:15:29 -08:00
jge
620378686e qcacld-3.0: Reset IPA disconnect events(AP/STA) during SSR
This is a qcacld-2.0 to qcacld-3.0 propagation.

IPA disconnect events(WLAN_AP_DISCONNECT/WLAN_STA_DISCONNECT)
are not sent to IPA driver in case of SSR. This is resulting
in mismatch between IPA driver and HOST driver, and headers in
IPA can't be freed, which causes memory overflow after multiple
times SSR.

Change-Id: I9c84cc84d943d6e3c6604db7b859127a7af5a654
CRs-Fixed: 1069083
2017-01-11 22:15:28 -08:00
Paul Zhang
5e1eccc664 qcacld-3.0: Calculate LI per AP's BI and DTIM
Propagation from qcacld-2.0 to qcacld-3.0.

Assuming gEnableModulatedDTIM=9 and gMaxLIModulatedDTIM=9,
when AP's beacon interval is 100ms, the DUT's listen
interval is 900ms, it is OK; But if AP's beacon interval
is 200ms or more, the DUT's listen interval is 1800ms
or even more. This causes large data latency.

Change-Id: I622ae9ab21aaf23c585ca67efa8452a705f8e3f0
CRs-Fixed: 1087619
2017-01-11 22:15:26 -08:00
qcabuildsw
aa4bf8a5d9 Release 5.2.0.4W
Release 5.2.0.4W

Change-Id: I682aba6ae86180fbd71557a7fa72b0e4bbce7332
CRs-Fixed: 688141
2017-01-11 20:54:31 -08:00
Tushnim Bhattacharyya
d07dc906c7 qcacld-3.0: Fix for 2x2 DBS capability
Fix the way DBS capability is read from FW dev cap. Also, add HW mode
request for 2x2 DBS.

Change-Id: I935a2d0f4a7eed1517a3263fb8b29838f135f91e
CRs-Fixed: 1068000
2017-01-11 20:54:30 -08:00
qcabuildsw
c9c17e0684 Release 5.2.0.4V
Release 5.2.0.4V

Change-Id: Icee4cdcff3d842b150d0cc3684eb76a921eb8f65
CRs-Fixed: 688141
2017-01-11 13:34:25 -08:00
Poddar, Siddarth
2333acba36 qcacld-3.0: Register Bus bandwidth timer directly with kernel
Currently, bus bw timer is defined globally and it access the
adapter nodes.The crash can happen when the adapter is getting
deregistered in one thread and in another thread bus bw timer
handler is trying to access the same adapter.

To mitigate this issue, bus bw timer needs to directly registered
with kernel and once the timer callback is executed then it needs
to schedule a workqueue where all the processing is done.
While closing the adapter, do flush_work for this timer to
make sure that workqueue is done and then it is closing the adapter.

CRs-Fixed: 1104615
Change-Id: I81a7bfa43e3fb43488966dda702c6f394f9b40c7
2017-01-11 13:34:24 -08:00
qcabuildsw
88aecb8a23 Release 5.2.0.4U
Release 5.2.0.4U

Change-Id: I30e95423b50bea1fc4c156d03116c1ea11a5c23e
CRs-Fixed: 688141
2017-01-11 12:18:24 -08:00
Jeff Johnson
03294f192b qcacld-3.0: Fix checkpatch errors in HDD
Over time some checkpatch errors have crept into the HDD code, so
fix the issues that should be fixed.

Change-Id: I9287a724b856bcc62ac284ba66e68cdf12077646
CRs-Fixed: 1102140
2017-01-11 11:02:55 -08:00
qcabuildsw
0a6ea03f36 Release 5.2.0.4T
Release 5.2.0.4T

Change-Id: I222698eccc9ab18e6474fb5a07676f558ad25e37
CRs-Fixed: 688141
2017-01-11 09:06:43 -08:00
SaidiReddy Yenuga
c56a767e70 qcacld-3.0: Remove NULL check in get Tx power API
Adapter can be NULL and accessing it result in crash
Remove NULL check for adapter to avoid crash

CRs-Fixed: 1094603
Change-Id: I1c7efdfeb7829640cef740f873cb367befd810c9
2017-01-11 09:06:42 -08:00
Yun Park
8b2bc4b7e1 qcacld-3.0: Add unsigned long long type conversion for qdf_dma_addr_t
Fix the compilation error: '%llx' expects argument of type 'long long
unsigned int', but argument 4 has type 'qdf_dma_addr_t' [-Werror=format=]

Change-Id: Iccb24e7da2c665c43b7ea8c03d3a00866935658f
CRs-fixed: 1102676
2017-01-11 09:06:40 -08:00
Mohit Khanna
816e653f75 qcacld-3.0: enable TSO only if IP/UDP/TCP checksum is enabled
Enable TSO only if both gEnableIpTcpUdpChecksumOffload and TSOEnable=1
flags are enabled in the ini file.

Change-Id: I8004c381be06fd85883e9537038d32622a7e39dc
CRs-Fixed: 1099742
2017-01-11 09:06:38 -08:00
Kabilan Kannan
3c0a735b24 qcacld-3.0: Add SAR power limit configuration
There is a regulatory requirement for Specific Absorption
Rate (SAR) whereby the phone transmit power is reduced
when it is determined that the phone is in close
proximity to the body.
Implement a vendor command interface to set SAR power
limits dynamically.

Change-Id: I137ce9bde2fa05e363d5af17e155dc739d862c5f
CRs-Fixed: 1098102
2017-01-11 09:06:36 -08:00
Selvaraj, Sridhar
9c47fef814 qcacld-3.0: Update BSS in cfg80211 database on channel switch
Currently, on channel switch, driver is updating only channel switch
not updating the BSS database of cfg80211.

For channel switch, update the BSS with inform_bss

Change-Id: If68b8c5ee7ab5b793a819a609ce5eeb022df75b8
CRs-Fixed: 1099452
2017-01-11 09:06:35 -08:00
Abhishek Singh
61084986b6 qcacld-3.0: Fix double free issue of assoc_req
lim_update_sta_ds can free the assoc_req internally and make it NULL
but as its passed by value the modified NULL value is not seen in the
caller lim_process_assoc_req_frame and thus double free is seen.

To fix this pass assoc_req by context to the lim_update_sta_ds.

Change-Id: If4255e3096f91debf2a23688d4dd36ba90475d1b
CRs-Fixed: 1100562
2017-01-11 09:06:33 -08:00
yeshwanth sriram guntuka
27e4ffcd83 qcacld-3.0: Add TSPEC IE in reassoc request for LFR3
In LFR3, for ccx scenario TSPEC IE are missing in
reassociation request frames initiated by FW.

Assoc IE are sent to FW via CSR Roam Scan Offload as
soon as connection is successful. Add the TSPEC IE
while sending assoc IE to FW via RSO command.

Change-Id: Ifa6145bfa209cca428321db9056c01c3a4b140de
CRs-Fixed: 1096199
2017-01-11 09:06:31 -08:00
Naveen Rawat
b56880cd83 qcacld-3.0: Match the timeout values at HDD with SME cmd timeout
Change the timeout values at HDD to match sme cmd timeout in all the
instances where HDD is sending cmd via SME command queue.

Change-Id: I00337169804b9ce71562cb114e4c2b92a7534dba
Crs-Fixed: 1100854
2017-01-11 09:06:29 -08:00
Sreelakshmi Konamki
8b8257c844 qcacld-3.0: Retrieve BSSID to support vendor scan
Host doesnt have changes to support specific BSSID vendor scan
if supplicant set specific BSSID.

Add changes to get BSSID to do specific scan if supplicant set BSSID.

Change-Id: I2b0ba590814e6c99f7003abdf855d3264b03a060
CRs-Fixed: 1099020
2017-01-11 09:06:27 -08:00
Hanumantha Reddy Pothula
00c74f6084 qcacld-3.0: Deinit tx/rx histogram stats from hdd destroy context
Presently, tx/rx histogram stats are initialized during hdd create
context, but de-initialization of histogram stats is not processed
during hdd destroy context.

De-initialize histogram stats while processing hdd destroy context.

Change-Id: Id2eff48838d34e99dfa3dd5713bca2cd5a2c774e
CRs-Fixed: 1094115
2017-01-11 09:06:25 -08:00
Deepak Dhamdhere
a2785820c4 qcacld-3.0: Enable roaming only on wlan0
Current implementation of host driver will support fast roaming only
on a single device even in DBS mode. It is allowed on the first
STA, i.e. wlan device created in driver initialization. Dynamic roaming
disable/enable is allowed only on that device. Roaming is marked as not
allowed on other devices.

Change-Id: I3e3a72eb4d8fe81f6d3b784ab70023d2e3ac5618
CRs-Fixed: 1092386
2017-01-11 09:06:24 -08:00
Yun Park
b187d549cf qcacld-3.0: IPA_uC: Improve debug log for IPA uC
qcacld-2.0 to qcacld-3.0 propagation

Expand iwpriv command to dump HDD IPA priv, IPA sys pipe, IPA interface
context, and IPA Tx header data structure for IPA uC.

Change-Id: Ifb427281ec82c369de8711cfc684ef22b4f319f1
CRs-fixed: 931733
2017-01-11 09:06:22 -08:00
yeshwanth sriram guntuka
4e2fbd6c14 qcacld-3.0: Enable adaptive dwell scan by default
Set the default value of adaptive_dwell_mode_enabled and
global_adapt_dwelltime_mode config parameters to enable
adaptive dwell scan by default.

Change-Id: I4353f9a9c2bdebb48649cee4a7b7a8d124039e1b
CRs-Fixed: 1100193
2017-01-11 09:06:20 -08:00