Commit Graph

2754 Commits

Author SHA1 Message Date
Yuanyuan Liu
7145eb2383 qcacld-3.0: Add support of getting MAC address from platform driver
Add support of getting WLAN MAC address from ICNSS platform driver.

Change-Id: Ie31d9147e8dc4e11e14a6fdf93200122acbb4000
CRs-Fixed: 1096290
2016-12-05 21:51:46 -08:00
qcabuildsw
f008892636 Release 5.2.0.2B
Release 5.2.0.2B

Change-Id: Ie61ee2721dce2000af8eb31e43e5c64a1dfd265d
CRs-Fixed: 688141
2016-12-05 20:19:30 -08:00
Yue Ma
cd24386e22 qcacld-3.0: Add API to get SOC information in PLD for PCIe
Add API to call platform driver function in order to get SOC related
information for in PLD for PCIe.

Change-Id: Ieec098575b874e6d15ae45ef6000767ade7d459f
CRs-fixed: 1082183
2016-12-05 20:19:29 -08:00
Yue Ma
fd418eabf6 qcacld-3.0: Add PLD APIs to get MSI information
These PLD APIs can be called to get PCIe MSI related information
from platform driver.

Change-Id: I2882f5c30d6f932c36af4503ac0bec9229ef35df
CRs-fixed: 1082183
2016-12-05 20:19:28 -08:00
qcabuildsw
3deb0a6711 Release 5.2.0.2A
Release 5.2.0.2A

Change-Id: I70c777851410b3a13e64b8a9e8d880ccf0016087
CRs-Fixed: 688141
2016-12-05 04:20:07 -08:00
Himanshu Agarwal
1525bb9c8a qcacld-3.0: Move TXRX_PRINT outside peer_map_unmap_lock spinlock
In some cases, this TXRX_PRINT is taking more time to process as
some other printks' are already in progress. As this printk is
inside spinlock, so when some other core is also competiting for
this spinlock, that core keeps iterating in a loop. After some
time spinlock bug is triggered as it is suspected that this core
is locked on this spinlock.

This fix moves the TXRX_PRINT outside spinlock so that the other
core don't have to wait to acquire spinlock due to this printk.

Change-Id: Ie0fa7addd4f2a1272a4d5e287635b6a0f016ba97
CRs-Fixed: 1095406
2016-12-05 04:20:06 -08:00
qcabuildsw
2dbfe0808e Release 5.2.0.2
Release 5.2.0.2

Change-Id: Ie50647178bcf4f803d1fd5eac0f949b648c042ff
CRs-Fixed: 688141
2016-12-01 19:19:18 -08:00
Rajeev Kumar
97767a0297 qcacld-3.0: Define init-deinit basic framework for phase 3 convergence
Define basic dispatcher framework for init/deinit. Each individual
component is supposed to define its init/deinit primitives and replace
dummy place holder primitives.

Change-Id: I35140ea7af03ce568e1732435458caf78ab28996
CRs-Fixed: 1095741
2016-12-01 19:19:17 -08:00
qcabuildsw
a529136479 Release 5.2.0.1Z
Release 5.2.0.1Z

Change-Id: If77aef912c299ef24dd63b6484c4b3f661a38685
CRs-Fixed: 688141
2016-12-01 11:52:16 -08:00
Nitesh Shah
983e8f55e4 qcacld-3.0: Remove work-queue mechanism for TDLS Discovery Req
prima to qcacld-3.0 propagation

This commit removes work-queue mechanism which is used to
trigger the TDLS Discovery request.

This eliminates concurrent TDLS data structures access.

Change-Id: Id6d6b38d2b17c4b1bab9b616b52e5a2d8c3475dc
Crs-Fixed: 798119
2016-12-01 11:52:15 -08:00
qcabuildsw
4a694f611a Release 5.2.0.1Y
Release 5.2.0.1Y

Change-Id: Ibdd7e990e8b5eef870580503dfd568f98fb15649
CRs-Fixed: 688141
2016-12-01 10:45:48 -08:00
Dustin Brown
e70fd97b26 qcacld-3.0: For WOW enable, pass unit-test flag to FW
For unit-test suspend, pass a Host-to-Target Communication (HTC) Wakeup
flag to firmware with the WOW Enable command. This flag tells firmware
to always use the HTC wakeup method, even if GPIO (or any other) wakeup
method is available. This enables support for unit-test suspend on
emulation platforms with incomplete PCIe implementations, for example.

Change-Id: I82a70973b0d8845e05d6c82ab207ddef27447099
CRs-Fixed: 1093342
2016-12-01 10:45:47 -08:00
qcabuildsw
db34a50b08 Release 5.2.0.1X
Release 5.2.0.1X

Change-Id: Ie28b95aa0e2538e39f5be5dea48f269090dd0360
CRs-Fixed: 688141
2016-11-30 19:27:33 -08:00
Kiran Kumar Lokere
9aecfee377 qcacld-3.0: Fix compilation issues
Fix compilation issues.

Change-Id: I629acbb0c9ec1e36a3e6a13e3709dd4327003557
CRs-Fixed: 1094633
2016-11-30 19:27:31 -08:00
qcabuildsw
9f0a7f8d26 Release 5.2.0.1W
Release 5.2.0.1W

Change-Id: I2ef8f169a2bbaa23b699b3a264da57c36fc24ff1
CRs-Fixed: 688141
2016-11-30 06:24:15 -08:00
Poddar, Siddarth
d56b4c4c34 qcacld-3.0: Log rx frag/tkip mic error packets into pktlog
Log rx frag/tkip mic error packet in packetlog as per
rx frag indication message  from firmware.

Change-Id: I4670c070e5affc5bf5b9f5ded23721e464a45737
CRs-Fixed: 1074043
2016-11-30 06:24:14 -08:00
qcabuildsw
46423faa0b Release 5.2.0.1V
Release 5.2.0.1V

Change-Id: I918fed4a1b6153a103d82ea3af01966836006bca
CRs-Fixed: 688141
2016-11-29 02:31:15 -08:00
Frank Liu
ab70c840e7 qcacld-3.0: Support IBSS firmware bin(32-clis)
qcacld-2.0 to qcacld-3.0 propagation

Firmware can't support all station feature and 32 ibss clients
in one bin because of the mem limitation. So host supports to
download IBSS firmware bin if con_mode=6.

CRs-Fixed: 962246
Change-Id: I6c3dca17c82fdfd2bdadcee319cc157e6aa2ead9
2016-11-29 02:31:14 -08:00
qcabuildsw
24e4e07240 Release 5.2.0.1U
Release 5.2.0.1U

Change-Id: I190ff443e47adb83e75d4c7eb2fe03580929b774
CRs-Fixed: 688141
2016-11-28 18:02:47 -08:00
Krishna Kumaar Natarajan
06edf7cc5e qcacld-3.0: Update correct status code on ADD BSS timeout
Update status code to QDF_STATUS_E_TIMEOUT before sending
ADD_BSS_RSP on ADD BSS timeout.

Change-Id: Ic5b393635c0aa9a6c80d2899eac3394de83d686a
CRs-Fixed: 1093188
2016-11-28 18:02:46 -08:00
qcabuildsw
c11de1db13 Release 5.2.0.1T
Release 5.2.0.1T

Change-Id: Iaeb26ce3c5bf6a90e86af360e0ccd37c735039e3
CRs-Fixed: 688141
2016-11-28 12:40:31 -08:00
Yuanyuan Liu
1c2caa3b11 qcacld-3.0: QDF_ASSERT only when HDD fail to update mac to FW
Do assert only when HDD fail to update mac to FW.

CRs-Fixed: 1086914
Change-Id: I8744a08790328f0d2f5e800a3ea597ca6a54bc49
2016-11-28 12:40:30 -08:00
qcabuildsw
c98f8ce45d Release 5.2.0.1S
Release 5.2.0.1S

Change-Id: Ic316d95f94176ffc4385759a27faa87842bb2df9
CRs-Fixed: 688141
2016-11-27 22:58:34 -08:00
qcabuildsw
ad20273bd7 Release 5.2.0.1R
Release 5.2.0.1R

Change-Id: I3ab034ebedb45cdaafdd237dedd6468605bdfb8f
CRs-Fixed: 688141
2016-11-26 13:35:45 -08:00
Dhanashri Atre
272fd23190 qcacld-3.0: Fix race condition in peer attach and map
Fix a race condition where the HTT peer map event is received before
the peer object is allocated in the data path.

CRs-Fixed: 1089662
Change-Id: I3931e6dbae3ec3a68d446c245432549fa635a97e
2016-11-26 13:35:44 -08:00
Ravi Joshi
fc2ed78279 qcacld-3.0: Disable PKTLOG & enable polling for DP on Lithium
For Napier end-to-end bringup:
 -- Disable PKTLOG, this is not ready on the new HW design
 -- Enable timer based polling on DP UMAC rings
 -- Modify cdp_soc_attach() to attach to Lithium DP

Change-Id: I096644887848dd8eae75bf4c497acc0b19f89833
CRs-Fixed: 1074199
2016-11-26 13:35:43 -08:00
qcabuildsw
bd93e8dfdd Release 5.2.0.1Q
Release 5.2.0.1Q

Change-Id: Id66516fc857e81847f3da1587adbb0d8fff358a8
CRs-Fixed: 688141
2016-11-24 22:47:31 -08:00
Poddar, Siddarth
bd80420d8f qcacld-3.0: Fix improper naming and exporting of dump_pkt()
Fix improper naming and exporting of dump_pkt() by:
1) adding ol_txrx prefix in the api
2) adding prototype of api to ol_txrx.h and removing the local
   prototype for the api from core/dp/txrx/ol_tx_desc.c

CRs-Fixed: 1093667
Change-Id: I14e547223f8c96f10897aa6dc5c9781018a4d986
2016-11-24 22:47:30 -08:00
qcabuildsw
983fc764b1 Release 5.2.0.1P
Release 5.2.0.1P

Change-Id: If6e71be961819c3563dffd69c9b6e475b90f8331
CRs-Fixed: 688141
2016-11-24 21:06:24 -08:00
Nitesh Shah
facafbaaca qcacld-3.0: Move few logs to appropriate log level
qcacld-2.0 to qcacld-3.0 propagation

Few logs for hdd_roam_tdls_status_update_handler()
is printing quite often and spamming the logs.
These logs are not for error.

Hence moving these logs to info log level.

Change-Id: Idbf423e34fad13fc787c6cdf9770cc9f15c923f9
CRs-Fixed: 1082364
2016-11-24 21:06:23 -08:00
qcabuildsw
f2ee79143a Release 5.2.0.1O
Release 5.2.0.1O

Change-Id: Id1d44fde74c57b2eb1bda9b22900fa0514886cfa
CRs-Fixed: 688141
2016-11-24 20:21:18 -08:00
gbian
e55c956d40 qcacld-3.0: Add sanity check for tx desc
qcacld-2.0 to qcacld-3.0 propagation

Add sanity check for tx desc to avoid crash if firmware report the invalid
msdu id to the host.

Change-Id: I5a339e81f3de882b5f7cc42b0628ea4738141c58
CRs-Fixed: 1071620
2016-11-24 20:21:17 -08:00
gbian
ec670c5909 qcacld-3.0: Fix bad TCP up link throughput with latest kernel
qcacld-2.0 to qcacld-3.0 propagation

TCP throttling logic changed a little after 3.19-rc1 kernel, which will
throttle the TCP packets to the host driver, it will heavily affect the
TCP UP Link throughput. So need to orphan the socket buffer asap, which
will call skb's destructor to notify the TCP stack that the SKB buffer is
unowned, And then the TCP stack will pump more packets to the host driver.

This kernel change's subject is "tcp: refine TSO autosizing".
And the commid id is: 605ad7f184b60cfaacbc038aa6c55ee68dee3c89

Here is the TCP TX throughput test data with 4.1 kernel on the customer TV,
the iperf's parameter is 85.3k, and 1 pair in default.
1. Without this change:
   HT20:   35.1 Mbps
   VHT80:  88.4 Mbps
           88.4 Mbps (2 pairs)
2. With this change:
   HT20:   82.3 Mbps
   VHT80:  115  Mbps
           164 Mbps (2 pairs)

And this change will enhance the UDP TX throughput too, but if more
packets from the kernel exceeding the driver's TX capability, the multiple
out of data packets will be dropped in the driver, so it needs to be
protected by TX following controlled (QCA_LL_TX_FLOW_CT).

And here is the UDP TX throughput data with 4.1 kernel on the customer TV:
1. Without this change:
   HT20:   100 Mbps
   VHT80:  155 Mbps
2. With this change
   HT20:   124 Mbps
   VHT80:  263 Mbps

Change-Id: I7f40c7b2c516d71f525fff4aaf2b8a71473b647f
CRs-Fixed: 1056126
2016-11-24 13:19:15 +08:00
qcabuildsw
1facd26d93 Release 5.2.0.1N
Release 5.2.0.1N

Change-Id: I606e81b111e8d8ada3163fd5ca8da7e6bc6dd45c
CRs-Fixed: 688141
2016-11-22 15:35:01 -08:00
qcabuildsw
dc6518b646 Release 5.2.0.1M
Release 5.2.0.1M

Change-Id: Ica5151d49895b10fe4e3ba805b932eb2ac5564fe
CRs-Fixed: 688141
2016-11-21 15:50:01 -08:00
Yuanyuan Liu
c7432030fa qcacld-3.0: Extend WMA_RESUME_TIMEOUT to 25 secs
If WLAN FW crashes while in suspend mode then kernel tries to
resume the driver and WMA sends resume indication to WLAN FW and
waits for the response from WLAN FW. Since FW is already crashed,
there will not be any response from WLAN FW and wait logic waits
for the timeout before bailing out. This may cause delay in
completing the recovery and may cause other race conditions
becuase of that. To solve this, we registered for shutdown
notification so that call back would be called during recovery
and resume event can be set to make sure resume thread doesn't
just wait for the FW response. However, it takes around 7 ~ 12 secs
for platform driver to receive PD down notification and trigger
the recovery but wma only waits for 6 secs and still crashed
before recovery started. The fix it to extend WMA_RESUME_TIMEOUT
to 25 secs so that it can be interrupted gracefully by recovery
call backs.

CRs-Fixed: 1087911
Change-Id: Iba8b94111e4b4f0b0db8794e98c0645c667379a8
2016-11-21 15:50:00 -08:00
qcabuildsw
49b73a1248 Release 5.2.0.1L
Release 5.2.0.1L

Change-Id: I0b6fffa3c79d67e3bb50cebf1b2f37fa0e62910f
CRs-Fixed: 688141
2016-11-21 15:20:11 -08:00
qcabuildsw
48968d9c81 Release 5.2.0.1K
Release 5.2.0.1K

Change-Id: Id91467577923d9b8b9a6df19a03b26fd55dc8863
CRs-Fixed: 688141
2016-11-21 04:13:07 -08:00
qcabuildsw
97304b6950 Release 5.2.0.1J
Release 5.2.0.1J

Change-Id: I340be245f19d3c762e6e038fc0621ae1917b50a5
CRs-Fixed: 688141
2016-11-19 19:32:20 -08:00
qcabuildsw
ee4073f9a7 Release 5.2.0.1I
Release 5.2.0.1I

Change-Id: Id211f77d398156cc47d951aa449002fdec479849
CRs-Fixed: 688141
2016-11-17 19:45:09 -08:00
Krishna Kumaar Natarajan
d542b8ecb7 qcacld-3.0: Enable scan only on selected channels
Update default scan channels list with only channels 1, 6 and 11
for 2.4GHz and 36, 40, 44 and 48 for 5GHz for emulation
platforms.

Change-Id: I20dd584bf759d780f5dd3a7740eba677cf31e80e
CRs-Fixed: 1089633
2016-11-17 19:45:08 -08:00
qcabuildsw
22cc4aa624 Release 5.2.0.1H
Release 5.2.0.1H

Change-Id: I3fb66165b96fe8987b9097ae578ad00ead6b1013
CRs-Fixed: 688141
2016-11-17 19:13:21 -08:00
Leo Chang
96464904cc qcacld-3.0: wma: change legacy data path api to cdp api
Remove legacy apis call from out side of data path.
Replace legacy apis to cdp apis.
Introduce cdp apis wrappers.
wma module.

Change-Id: Ia1d89262184d68974bfb2d28af0ccba212afaf55
CRs-fixed: 1075736
2016-11-17 19:13:17 -08:00
Leo Chang
fdb45c3014 qcacld-3.0: hdd: change legacy data path api to cdp api
Remove legacy apis call from out side of data path.
Replace legacy apis to cdp apis.
Introduce cdp apis wrappers.
hdd module.

Change-Id: I2ebddfe9cf063cdbf8caa6b4a65a80fda033b3ba
CRs-fixed: 1075736
2016-11-17 19:13:15 -08:00
Leo Chang
9872676b91 qcacld-3.0: dp: change legacy data path api to cdp api
Remove legacy apis call from out side of data path.
Replace legacy apis to cdp apis.
Introduce cdp apis wrappers.
dp module.

Change-Id: I345abb70b6ddd7f5768cea2d933e0023c5742b4a
CRs-fixed: 1075736
2016-11-17 19:13:13 -08:00
Leo Chang
9b09703f79 qcacld-3.0: cds: change legacy data path api to cdp api
Remove legacy apis call from out side of data path.
Replace legacy apis to cdp apis.
cds module.

Change-Id: I3f26b69711f494bad7fbaf07c5b8961125f13e65
CRs-fixed: 1075736
2016-11-17 19:13:10 -08:00
qcabuildsw
56af9925b5 Release 5.2.0.1G
Release 5.2.0.1G

Change-Id: Iba48757096fd7f8bd3f885fa96c8b2069236e73d
CRs-Fixed: 688141
2016-11-16 16:37:49 -08:00
Yue Ma
e6a7a32b00 qcacld-3.0: Enable to use CNSS2 platform driver
Enable the flags to use CNSS2 platform driver for host driver.

Change-Id: I18996443ab8e7c24fb65b6003cfc368b664b5837
2016-11-16 16:37:49 -08:00
qcabuildsw
8c5f48dda7 Release 5.2.0.1F
Release 5.2.0.1F

Change-Id: I939ac1429bb4028fe69a133bcce69cc09b4f5c0c
CRs-Fixed: 688141
2016-11-15 13:48:06 -08:00
Houston Hoffman
47a4a05cfa qcacld-3.0: Fix memory leaks when cds_open fails
When cds_open fails, several cleanup actions are missed.
cds_shutdown_notifier_purge
hdd_green_ap_deinit
wlan_hdd_deinit_tx_rx_histogram

Change-Id: I9812b26636b1fd82320de323538777ac048ea824
CRs-Fixed: 1089946
2016-11-15 13:47:51 -08:00