Commit Graph

5148 Commits

Author SHA1 Message Date
snandini
97fa54fa06 Release 5.2.0.25H
Release 5.2.0.25H

Change-Id: I7728dffbcaac1019910406f19b962b6c368c7e3e
CRs-Fixed: 774533
2017-05-04 07:41:43 -07:00
Abhishek Singh
26a7b9f9d5 qcacld-3.0: Fix channel width issue in SAP for OBSS scan
If 11ac override and 2.4ghz channel bonding is enabled in INI, for
2.4 ghz channel the channel width is always set to HT40 even if
hostapd indicate channel width as HT20 due to OBSS scan.
Thus the channel width indicated by OBSS scan is ignored.

As a fix, even if 11ac override and 2.4ghz channel bonding is enabled
for 2.4 Ghz channel give preference to the width indicated by
hostapd.

Change-Id: I091c8672b664a4f24c976ef33816ab10f32a052e
CRs-Fixed: 2032597
2017-05-04 07:41:42 -07:00
snandini
b733659afa Release 5.2.0.25G
Release 5.2.0.25G

Change-Id: I920a5679f7092a448a51acc3d8f75b30be555438
CRs-Fixed: 774533
2017-05-04 06:59:04 -07:00
Ganesh Kondabattini
9c8dc46f29 qcacld-3.0: Check for NULL pointer before accessing tdls peer
Add NULL check before accessing the tdls peer entry.

Change-Id: Iac525537d28d46cca2b62e9553c7e8cc3bdd0f6e
CRs-Fixed: 2035047
2017-05-04 06:58:56 -07:00
snandini
e16aece95f Release 5.2.0.25F
Release 5.2.0.25F

Change-Id: Id01c992a295568ee5fe354caa9d20452f2cf4776
CRs-Fixed: 774533
2017-05-03 23:06:09 -07:00
Krunal Soni
408690d4f2 qcacld-3.0: Reg checks either HT_40+ or HT_40- to claim no 40/80Mhz
Regulatory is currently checking if either no-HT_40+ or no-HT_40- flags
set. If one of them is set then it claims that 40Mhz BW for that channel
is not supported which creates issue for SAP where it considers channel
36 (5180Mhz) is only 20Mhz capable.

To fix the situation, check both no-HT40+ and no-HT40- flags before
claiming 40Mhz/80Mhz not supported.

CRs-Fixed: 2042420
Change-Id: I8c73ae8df21efa23f2967f17febe165cff55c43c
2017-05-03 23:06:08 -07:00
snandini
6d41d0802e Release 5.2.0.25E
Release 5.2.0.25E

Change-Id: Id92fc0ef430ca719c2485b2592c7983042f6c950
CRs-Fixed: 774533
2017-05-03 04:21:33 -07:00
yeshwanth sriram guntuka
479e4c0e4b qcacld-3.0: Reject scan on IBSS vdev
Firmware crash due to scan received on
IBSS vdev and non DBS mode.

Fix is to reject scan when in ibss mode.

Change-Id: I2ca126ded013beb658b0bb82d854b0a3acccba5a
CRs-Fixed: 2038271
2017-05-03 04:21:32 -07:00
Abhishek Singh
e156ea3e27 qcacld-3.0: Reduce the log spam lim_update_overlap_sta_param
Move the logs to appropriate log levels to reduce
the log spam in lim_update_overlap_sta_param

Change-Id: I2325a4c5e3b3429ff46bc329371711576398e919
CRs-Fixed: 2039869
2017-05-03 04:21:30 -07:00
snandini
48a4ec25ef Release 5.2.0.25D
Release 5.2.0.25D

Change-Id: I57f3a4b7e96152af40b750f94f4a7c3b2cf5dad8
CRs-Fixed: 774533
2017-05-02 21:33:51 -07:00
Krunal Soni
f05a670af1 qcacld-3.0: RRM caller and callee needs to release bss descr memory
In RRM module, caller is creating memory for beacon report. for
each beacon report, it further creates memory for bss descriptors.

caller sends a entire becon report message to callee. Both caller and
callee are releasing memory for beacon report but they don't release
memory for bss descriptos correctly.

To fix the situation, caller needs to release bss descriptos memory up
on failure to deliver the message to callee. callee needs to release
bss descriptors' memory up on successful reception and after processing
it.

CRs-Fixed: 2040435
Change-Id: Ia4e0a1cdc56c177e86683847973acfab0e9a96bf
2017-05-02 21:33:41 -07:00
Krunal Soni
7ead29f44c qcacld-3.0: Release bss descriptors' memory up on message delivery
While sending message from one module to another module,
bss descriptors' memory get assigned but never get released which
creates memory leaks.

Release bss descriptors' memory up on its usage.

CRs-Fixed: 2040435
Change-Id: I7d9ef4e9b65f4b63251490f4ef3671a350ebf81f
2017-05-02 21:33:27 -07:00
snandini
9835c0f742 Release 5.2.0.25C
Release 5.2.0.25C

Change-Id: I97ab2d84d8b27f1a8134e597410b1728d973bcc5
CRs-Fixed: 774533
2017-05-02 13:29:42 -07:00
Manikandan Mohan
617a51624b qcacld-3.0: Update for HIF check patch fixes
Update dependent files for HIF files check patch fixes.

Change-Id: I7b922d06ddaff42f75e1c1183e25500fd3937815
CRs-fixed: 2030824
2017-05-02 13:29:41 -07:00
Manikandan Mohan
fe6a70adeb qcacld-3.0: Update for check patch refactoring
HIF files are updated for check patch warnings. Thus update
dependent files.

Change-Id: Ia8ee33e8ee3a43a15ff48cc7effb67c30336f099
CRs-fixed: 2030824
2017-05-02 13:29:40 -07:00
Manikandan Mohan
8cf506171b qcacld-3.0: Fix kernel module check patch warnings in PLD files
Fix kernel module check patch warnings in PLD files

Change-Id: Ic0473118a4799cc74eaa8684257013f8f38a746a
CRs-fixed: 2030824
2017-05-02 13:29:39 -07:00
Manikandan Mohan
83c939c474 qcacld-3.0: Update for check patch refactoring
Host Target Communication module files are updated for check
patch warnings. Thus update dependent files.

Change-Id: Id37009ca13704beb0d8c4c28cc3eaff9cf930a0f
CRs-fixed: 2030824
2017-05-02 13:29:38 -07:00
snandini
afe31b5858 Release 5.2.0.25B
Release 5.2.0.25B

Change-Id: I193f61c163a1fbd868b9f17892b3a86efbdeb66d
CRs-Fixed: 774533
2017-05-01 20:45:44 -07:00
Zhang Qian
4ead8f0cdb qcacld-3.0: Add link layer monitor
qcacld-2.0 to qcacld-3.0 propagation

MAC layer counters such as per channel signal quality,
per peer TX/RX statistics, are monitored by FW.
FW reports these counters periodically as host setting.
This change:
- Add one parameter to enable/disable mac counter
- Convert FW indication to NL80211 attributes and send the
  same to user layer
- Convert user layer's NL80211 attributes to parameters for
  link layer monitor and send the same to WMA

Change-Id: I17a81fcec96076e14ff9f33d0aeb0983a25de912
CRs-fixed: 1071059
2017-05-01 20:45:43 -07:00
snandini
5bcaa47442 Release 5.2.0.25A
Release 5.2.0.25A

Change-Id: I78412d7765eba0151adfff2d22b66179518c1602
CRs-Fixed: 774533
2017-05-01 15:01:13 -07:00
Wu Gao
8a45ede5b9 qcacld-3.0: Cleanup roc request by adapter
Cleanup remain on channel request for adapter by converged P2P
component.

Change-Id: I11d3066a5a69db022a02855b4cf3b9d78baec258
CRs-Fixed: 2030693
2017-05-01 15:01:11 -07:00
snandini
009518ab10 Release 5.2.0.25
Release 5.2.0.25

Change-Id: I730398b26ddc9285bdb4e2f5f10b2bb747ab43da
CRs-Fixed: 774533
2017-05-01 13:06:43 -07:00
Dhanashri Atre
f5e021251a qcacld-3.0: Hook-up the WMI callback for hash configuration
Add the WMI lro and hash configuration function to the DP
function table.

Change-Id: Ia9561bcb8793c35a0719939456b010a3529af9fc
CRs-Fixed: 2033532
2017-05-01 13:06:42 -07:00
Yun Park
8957d80351 qcacld-3.0: Remove unnecessary log from hdd_ipa_nbuf_cb
Remove flooding log from hdd_ipa_nbuf_cb.
Also fix INVALID REASON log from hdd_ipa_uc_op_cb even when
hdd_ipa_uc_op_metering() is succeeded.

Change-Id: Ided529cca3d84cbc3dd6b33dd31fa9086489a176
CRs-Fixed: 1116111
2017-05-01 13:06:40 -07:00
Yun Park
ff5da56d07 qcacld-3.0: Return false when vdev and pool is NULL in fwd_thresh_check
vdev and pool could be NULL during processing the forwarding packets
processed during the driver deinit.
Add a code to return false if pool is NULL in ol_txrx_fwd_desc_thresh_
check(), then the caller will discard the packet without any further
processing.
Also return false when vdev is NULL.

Change-Id: I45afcbe0e8b953bd1be7b3f1f5315f35879edec5
CRs-Fixed: 1112619
2017-05-01 13:06:39 -07:00
snandini
f91dc4b13f Release 5.2.0.24Z
Release 5.2.0.24Z

Change-Id: Ib5e6d1d4dc1a471d7b11620cea67163c3b7dcedc
CRs-Fixed: 774533
2017-05-01 08:21:50 -07:00
Mukul Sharma
e498164cf5 qcacld-3.0: Decouple ITO/TX_Wake_Threshold from LI/DTIM
Currently, Host configures ITO/TX_Wake_Threshold on each
suspend and resume along LI/DTIM setting. But in a case
where LI/DTIM is configured by user then host skip to
change LI/DTIM values. Hence host skip ITO/TX_Wake_Threshold
configuration too.
As a part of the fix, Decouple ITO/TX_Wake_Threshold from LI/DTIM
configuration.

Change-Id: Ie1c8b7821dcba89d888e18dd7726958a9381e038
CRs-Fixed: 2038986
2017-05-01 08:21:50 -07:00
snandini
47085e3d5c Release 5.2.0.24Y
Release 5.2.0.24Y

Change-Id: I265683bd57a094817251fdbce5c9bbe6e44f6f4c
CRs-Fixed: 774533
2017-05-01 04:40:08 -07:00
SaidiReddy Yenuga
76047d03f3 qcacld-3.0: Add necessary conditional flags to vendor commands
Few vendor commands missing NETDEV_RUNNING/MODULES_CLOSED
flags resulting in crash.

Add NETDEV_RUNNING/MODULES_CLOSED flags.

CRs-Fixed: 2039344
Change-Id: Ifc19f18554f9defa74567d9eb0246ae72507bf74
2017-05-01 04:40:07 -07:00
snandini
2c0afb9102 Release 5.2.0.24X
Release 5.2.0.24X

Change-Id: I3129d9c26574e907025d2fec91ae297adc978163
CRs-Fixed: 774533
2017-04-30 12:30:28 -07:00
Krunal Soni
0bdfc7716c qcacld-3.0: Release sapctx in all cases when sap close is requested
Present wlansap_close API walks out without releasing the sapctx when
hal context is null which creates the memory leak.

Release sapctx in all cases when caller requests to close the
sap session.

CRs-Fixed: 2040045
Change-Id: I3c8f0a33c11de9d88d6b29f726f36a838f2428d2
2017-04-30 12:30:28 -07:00
snandini
8b1506076d Release 5.2.0.24W
Release 5.2.0.24W

Change-Id: Ie64988d46b2ce99b7341177590a063f739a14bca
CRs-Fixed: 774533
2017-04-28 17:55:14 -07:00
Manjunathappa Prakash
17c07bd023 qcacld-3.0: release each skb in loop from nbuf tracking
Current debug code incorrectly releases parent skb multiple times
while traversing the skb_list. Fix the bug by releasing individual
skbs in a list.

Change-Id: I7047dfc07407275aa7f06cb22840023331ec186f
CRs-Fixed: 2040538
2017-04-28 16:13:25 -07:00
snandini
c2d58cdf32 Release 5.2.0.24V
Release 5.2.0.24V

Change-Id: Id5345808a124603a266454494144e76f0e826664
CRs-Fixed: 774533
2017-04-28 13:19:48 -07:00
Orhan K AKYILDIZ
e062f35889 qcacld-3.0: Add debug for TSO seg double-free
Add TSO segment debug code, in a featurized way, so that
when disabled it will tolerate redundant returns to the internal
pool and when enabled will check sanity on free, and record a
history of last 16 actions on the segment in the object.

Goes with the corresponding cmn component counterpart.

Change-Id: Ifab52fc2032da4d53b708b3c6716d5270c0690c1
CRs-Fixed: 2031485
2017-04-28 13:19:47 -07:00
snandini
a953ca7543 Release 5.2.0.24U
Release 5.2.0.24U

Change-Id: I0138ca0ad57df62970b25b4ee9f236910e01bd6b
CRs-Fixed: 774533
2017-04-28 06:52:15 -07:00
Selvaraj, Sridhar
ca03ad2491 qcacld-3.0: Add default INI settings for QCN IE and bcast probe resp changes
1) Enable QCN IE support by default
2) Enable broadcast probe response reception by default

Change-Id: I4a5cbc183509953f88f834f7140d239e8dc2e6b4
CRs-Fixed: 2013411
2017-04-28 06:52:14 -07:00
snandini
477c18d79e Release 5.2.0.24T
Release 5.2.0.24T

Change-Id: Idedea3825f1d03e21cb9383ff099cda31424bc8a
CRs-Fixed: 774533
2017-04-28 05:22:24 -07:00
Poddar, Siddarth
d63954e481 qcacld-3.0: Enable debug address marking only for 64 bit DMA address system
Limit the detection of non posted rx buffers from FW only to
64 bit DMA address system. For systems, where IPA has 32 bit
DMA address limitation, this debug feature should be disabled.

CRs-Fixed: 2010583
Change-Id: I9a26d0a423acedb068d99f39929029182f7c6fa1
2017-04-28 05:22:24 -07:00
snandini
3f8c5678ca Release 5.2.0.24S
Release 5.2.0.24S

Change-Id: Ic725c99943fd9096cb060f6f1be412d87f53e13d
CRs-Fixed: 774533
2017-04-28 04:42:05 -07:00
Rachit Kankane
2487f8f7e9 qcacld-3.0: HDD, SAP changes to Disable/Enable NOA
P2P-GO whenever goes offchannel, issues NOA. With this behavior, we
have issue whenever legacy STA connects to P2P-GO as legacy STA
does not understand NOA. To handle this case, changes are done in HDD
and SAP component and the revised behavior will be:
 1. By default no change in NOA.
 2. Whenever first legacy STA connects to GO, SAP informs HDD with
    new parameter station type. HDD will communicate the same to
    p2p protocol component. Once the connected station is authorized
    p2p protocol component will disable NOA (i.e. P2P-GO will start
    issuing Self-CTS whenever it goes off-channel).
 3. Whenever last legacy STA disconnects from GO, p2p protocol
    component enables NOA (i.e. P2P-GO will start issuing NOA whenever
    it goes off-channel).

Change-Id: Iadab47c9a2aeb434371d4c262623d7196f3b1ab4
CRs-Fixed: 2035609
2017-04-28 04:42:04 -07:00
snandini
cf0df8aeca Release 5.2.0.24R
Release 5.2.0.24R

Change-Id: I69423ebdf9174bf6582411510c09f74f29b221b1
CRs-Fixed: 774533
2017-04-28 02:54:36 -07:00
Poddar, Siddarth
39ba8e0481 qcacld-3.0: Fix memory leaks of TSO num segments
Fix memory leaks of TSO num segments by freeing remaining
TSO num segments in ol_tx_ll_fast and ol_tx_ll if somehow
allocated tx desc is NULL.

Change-Id: I577a95b784c776633cf685cd16b101755a48c521
CRs-Fixed: 2014587
2017-04-28 02:54:36 -07:00
Poddar, Siddarth
33faae85d7 qcacld-3.0: Fix memory leak in htt_tx_ipa_uc_attach
TX BUF POOL vaddr storage alloc is not freed in
htt_tx_ipa_uc_attach when paddr storage allocation fails.
Fix is to free memory in failure case.

CRs-Fixed: 2034943
Change-Id: Ifb26dfdcff19b3ab66f11a89b9c185777eeec535
2017-04-28 02:54:34 -07:00
Nishank Aggarwal
b03b252f41 qcacld-3.0: Fix kernel checkpatch warnings in sme_trace.c
Fix kernel checkpatch warnings in sme_trace.c

Change-Id: Ib8828dbb510e42f56f6a15542b0adb5e2de17811
CRs-Fixed: 2025503
2017-04-28 02:54:26 -07:00
Nishank Aggarwal
e1777f8d84 qcacld-3.0: Fix kernel checkpatch warnings in sme_power_save.c
Fix kernel checkpatch warnings in sme_power_save.c

Change-Id: I3d4631c37815a54206f1f5bc5122d5d451a6944a
CRs-Fixed: 2025503
2017-04-28 02:54:16 -07:00
Nishank Aggarwal
359dde8ae0 qcacld-3.0: Fix kernel checkpatch warnings in sme_ft_api.c
Fix kernel checkpatch warnings in sme_ft_api.c

Change-Id: I77e1c833d7a5a4a06e1e4d174bad35188bb21995
CRs-Fixed: 2025503
2017-04-28 02:54:08 -07:00
Nishank Aggarwal
d3485ed710 qcacld-3.0: Fix kernel checkpatch warnings in csr_link_list.c
Fix kernel checkpatch warnings in csr_link_list.c

Change-Id: I05ae3798dae5cbe3bc602aa3e99762303c1e12f3
CRs-Fixed: 2025503
2017-04-28 02:54:02 -07:00
Nishank Aggarwal
0f86b5ed55 qcacld-3.0: Fix kernel checkpatch warnings in csr_tdls_process.c
Fix kernel checkpatch warnings in csr_tdls_process.c

Change-Id: I209554e39e92d4654889b3e4866d08ee20975539
CRs-Fixed: 2025503
2017-04-28 02:54:00 -07:00
Nishank Aggarwal
d18b6f4451 qcacld-3.0: Enable DFS channel for a single channel scan
In csr_scan_copy_request_valid_channels_only(), the DFS channels
are ignored if ini parameter gSkipDfsChannelInP2pSearch is enabled.
If the supplicant issues a single channel scan for a DFS channel,
driver will do a full scan. As its a single channel scan which is a
DFS channel would be ignored and the num of channels to scan would
be zero.

And if the number of channels to scan are zero, driver
does a full scan which would impact the overall connection
time.

To address this, enable DFS channel for a single
channel scan.

Change-Id: I166b9674a6cb6bb9c180c1c8d68480440ea867be
CRs-Fixed: 2038974
2017-04-28 02:53:57 -07:00