Graphe des révisions

1884 Révisions

Auteur SHA1 Message Date
Rakesh Sunki
cf1c9abd5c qcacld-3.0: Fix NDP ping failure issue
After completing NDP initiator and response between two NDP peers,
ping failure between the peers is observed due to mismatch in the
broadcast station id set in the driver and the broadcast MAC address
for the NDI. This sta id is eventually used as local id to fetch the
peer associated with the sta id and extract the vdev id from the peer
handler,  which was pointing to the incorrect vdev leading to ping
packets drop in the firmware due to incorrect vdev id.

Assign the broadcast id for NDI same as the NDI self
peer's sta id, which will point to the correct vdev id.

Change-Id: I4a4eeae149a4347da236cb768cf41141d9efdaca
CRs-Fixed: 1059527
2016-09-10 18:49:07 -07:00
Anurag Chouhan
01cfa4e859 qcacld-3.0: Remove ani_global.h from qca-cmn
Currently ani_global.h is included in qca-cmn,
The change removes ani_global.h and there are
corresponding changes in Driver

Change-Id: I59684e475406386e250635bde88390797835c95f
CRs-Fixed: 1012452
2016-09-10 14:19:48 -07:00
Arun Khandavalli
f5c0e0cf0c qcacld-3.0: Update the net device setup for monitor mode
Netdevice setup for the Monitor mode/Device mode are different
with Dynamic mode change the adapter is allocated for normal mode
and the device setup is done according to the normal modes.
Once the device mode change request for monitor mode comes via con_mode
the driver shall change to monitor mode, when the mode switch happens
presently driver is using the same setup as station in monitor mode.

Update the net device setup for the monitor mode once the device changes
to monitor mode.

Change-Id: I38ff0e31b80f8e800a37c10431902ab092b627ba
CRs-Fixed: 1064063
2016-09-10 14:13:22 -07:00
Manjunathappa Prakash
2458ef0c66 qcacld-3.0: Make host htt.h in sync with FW
Make host htt.h in sync with latest FW htt.h

Change-Id: I7818c1156b38191aa6219c0e73ca3238c3474c1e
CRs-Fixed: 1055179
2016-09-10 14:12:08 -07:00
qcabuildsw
2072f396ed Release 5.1.0.26A
Release 5.1.0.26A

Change-Id: I931a9ecf31d438f50fe8b8454914d734f4254271
CRs-Fixed: 688141
2016-09-10 14:11:42 -07:00
Abhishek Singh
e36aa82922 qcacld-3.0: If association timeout send deauth to cleanup the peer session
qcacld-2.0 to qcacld-3.0 propagation

In the scenario where association times out because device has missed
the assoc resp sent by peer, the peer assumes the device to be
connected and thus when device again sends the auth for fresh
connection the peer sends deauth. Thus fresh connection also fails.

To avoid this send deauth after association time out, to cleanup
the session in peer.

Change-Id: I1f7bfbe804da0dc92ce4ece87dc65954b086133c
CRs-Fixed: 987455
2016-09-10 14:11:15 -07:00
Abhishek Singh
779a55cfaa qcacld-3.0: Print qpower enable/disable depending on the config value
qcacld-2.0 to qcacld-3.0 propagation

Driver prints qpower disabled even if command for qpower enabled
is sent to firmware.

To avoid confusion print qpower enable/disable depending on the cmd
sent to firmware.

Change-Id: Ifb135d4ad1691d0e5024aa2ef31880be271cac9e
CRs-Fixed: 1044603
2016-09-10 14:10:42 -07:00
qcabuildsw
e546c9b241 Release 5.1.0.26
Release 5.1.0.26

Change-Id: Ic579e7747b2600bfd2d3b2a409ed62b32f4d497c
CRs-Fixed: 688141
2016-09-10 14:10:12 -07:00
Arun Khandavalli
812d069a5e qcacld-3.0: Add support to start_adapter for the p2p_go from add_iface
Presently, interface creation for the p2p_go is only supported from the
change interface. Add support for starting the adapter from the
add_virt_iface.

Change-Id: I09736226c8c4793e103d091caafee732e410a056
CRs-Fixed: 1064020
2016-09-10 14:09:24 -07:00
Arun Khandavalli
9ad88f04ac qcacld-3.0: Move invalidation of sessionId when the adapter is allocated
NDI interface creation is supported from the hdd_open_adapter, because of
invalidation of sessionId is done in the same function the session created
for NDI is getting overwritten.

To migitate the issue invalidate the sessionId once the adapter is created.

Change-Id: I0a4a116daae02b822b3e75c06e2b966be9f2e24b
CRs-Fixed: 1064031
2016-09-10 14:08:48 -07:00
Kapil Gupta
637c81577b qcacld-3.0: Remove unnecessary NULL check
NULL check is not required before freeing the memory allocated to
dfs_radartable.

Add the changes to remove unnecessary NULL checks.

Change-Id: I063c036024e6bfc235a418056d15843646bc5a3c
CRs-Fixed: 1063843
2016-09-10 14:06:38 -07:00
qcabuildsw
d1353d2dd0 Release 5.1.0.25Z
Release 5.1.0.25Z

Change-Id: I0769ee052ee49cc19f8b13d0d2b8b95f3c3032f1
CRs-Fixed: 688141
2016-09-10 14:05:24 -07:00
Dustin Brown
5237aeac13 qcacld-3.0: Cleanup HDD suspend/resume logging messages
Some HDD suspend/resume logging messages are vague or include redundant
status codes. Update these messages to reflect what actually happened and
remove redundant status codes.

Change-Id: Ic3613ab37a4c118447ce14087c8e0b0b65a108d9
CRs-Fixed: 1062544
2016-09-10 13:57:29 -07:00
Service qcabuildsw
186f3a1d94 Merge changes I57535b47,I77c57b3e into wlan-cld3.driver.lnx.1.1-dev
* changes:
  Release 5.1.0.25Y
  qcacld-3.0: Apps cannot power collapse while wifi is on
2016-09-10 13:54:57 -07:00
Service qcabuildsw
712eb37efc Merge "qcacld-3.0: Fix race condition between PM suspend and fw irq" into wlan-cld3.driver.lnx.1.1-dev 2016-09-10 12:35:51 -07:00
Service qcabuildsw
60f4f45df3 Merge "qcacld-3.0: Fix u32 paddrs" into wlan-cld3.driver.lnx.1.1-dev 2016-09-10 12:14:09 -07:00
Service qcabuildsw
57e68b7227 Merge "qcacld-3.0: Enable FW flow steering on NAPI" into wlan-cld3.driver.lnx.1.1-dev 2016-09-10 12:14:07 -07:00
Service qcabuildsw
aa95906d2e Merge "qcacld-3.0: Add multi-queue NAPI function" into wlan-cld3.driver.lnx.1.1-dev 2016-09-10 12:14:04 -07:00
Service qcabuildsw
3a01837e03 Merge "qcacld-3.0: Call ICNSS APIs for get/set channels and dfs" into wlan-cld3.driver.lnx.1.1-dev 2016-09-10 12:13:54 -07:00
Service qcabuildsw
fda4e0cc92 Merge "qcacld-3.0: Register suspend_noirq/resume_noirq to kernel" into wlan-cld3.driver.lnx.1.1-dev 2016-09-10 12:13:51 -07:00
Service qcabuildsw
b0bdca2104 Merge "Revert "qcacld-3.0: Fix race condition between PM suspend and fw irq"" into wlan-cld3.driver.lnx.1.1-dev 2016-09-09 12:59:18 -07:00
Service qcabuildsw
913c9043e2 Merge "Revert "qcacld-3.0: Register suspend_noirq/resume_noirq to kernel"" into wlan-cld3.driver.lnx.1.1-dev 2016-09-09 12:58:59 -07:00
Service qcabuildsw
92c93bd799 Merge "Revert "qcacld-3.0: Call ICNSS APIs for get/set channels and dfs"" into wlan-cld3.driver.lnx.1.1-dev 2016-09-09 12:58:39 -07:00
Rajeev Kumar
5f174f7886 qcacld-3.0: Fix race condition between PM suspend and fw irq
PM suspend and FW interrupt handler is running at same time
which is leading to multiple race conditions and host is missing
FW wake up interrupt which is causing APPS not waking up reliably.

Define .suspend_noirq and .resume_noirq callbacks and make
sure there is no pending FW interrupt before allowing PM
suspend to complete. Kernel PM suspend framework gives guarantee
that suspend_noirq and device interrupt handler can't run
simultaneously. This helps WLAN driver to reliably detect FW
wake up interrupt during PM suspend and fail PM suspend gracefully
if FW has requested for initial wake up.

Change-Id: Ib16a4e86f2378a8ca3f7eaada54fc7a3d67a886b
CRs-Fixed: 1060748
2016-09-09 10:33:26 -07:00
Yuanyuan Liu
a129d2da9c Revert "qcacld-3.0: Fix race condition between PM suspend and fw irq"
This reverts Change-Id I9e55f58aee29017fe09efeb5231b8be23053f7b7.
WLAN driver is blocked from promotion as the dependent kernel
change is not merged yet. Race condition between PM suspend and fw
irq will occur again after reverting.

Change-Id: Id6497b81c703b3751fba0a85890203e316608aab
CRs-Fixed: 1060748
2016-09-09 10:31:20 -07:00
Orhan K AKYILDIZ
5a36de324c qcacld-3.0: Fix u32 paddrs
Fix some remaining u32 paddr references in htt and make sure
that they are defined as qdf_dma_addr_t.
Fix print %x's for such variables, as per printk-formats
document (use %llx and explicitly typecast the vars to uul).

Change-Id: I4bc25e631986d8343a704ac48fb7bdfe1717b396
CRs-Fixed: 1064917
2016-09-08 21:32:40 -07:00
Orhan K AKYILDIZ
b71d061de4 qcacld-3.0: Enable FW flow steering on NAPI
Make sure that the message to enable flow steering is
sent to the FW when NAPI or LRO is enabled (as opposed
to sending it when LRO is enabled only).

Change-Id: Iadb4a08b213c9c31921c520f663a8a5359b0444b
CRs-Fixed: 1064917
2016-09-08 21:32:15 -07:00
Orhan K AKYILDIZ
1481aff562 qcacld-3.0: Add multi-queue NAPI function
Add throughput policy handler which triggers irq/CPU mananagement
functions as required.
Adapt NAPI enablement code to recent changes to the init sequence.
Add to the new files to build.

Change-Id: I8c16667a08982e419c2f2152cf31afcd3a535eb4
CRs-Fixed: 1064917
2016-09-08 21:31:49 -07:00
Yuanyuan Liu
dcc3d4a270 qcacld-3.0: Call ICNSS APIs for get/set channels and dfs
Call ICNSS API for get/set unsafe channels and dfs nol when bus
type is SNOC.

Change-Id: I12e1db54468c7215318333b55d991c53886d21ff
CRs-Fixed: 1061220
2016-09-08 17:43:46 -07:00
Yuanyuan Liu
42567dfb22 qcacld-3.0: Register suspend_noirq/resume_noirq to kernel
Register suspend_noirq/resume_noirq callbacks to kernel. It will
make sure no wake up is pending from FW and if initial wake up is
received then failing it should trigger resume.

Change-Id: I3d3de3789a7d560ed171294fa9a1ebe6389746a7
CRs-Fixed: 1060669
2016-09-08 17:43:46 -07:00
Yuanyuan Liu
b657e93ec5 Revert "qcacld-3.0: Register suspend_noirq/resume_noirq to kernel"
This reverts Change-Id Ifce8edc5db8c0410c5cddd24aceb88675f8ced42.
WLAN driver is blocked from promotion as the dependent kernel
change is not merged yet. PM suspend_noirq/resume_noirq are
not available after reverting.

CRs-Fixed: 1060669
Change-Id: I0e015d664681c3e2ba57a26b04318d4aa13f0406
2016-09-08 17:43:27 -07:00
Yuanyuan Liu
7a82fcc900 Revert "qcacld-3.0: Call ICNSS APIs for get/set channels and dfs"
This reverts Change-Id Ic0627a14a65f07faeb5cfa0ec4fcdc85b79e3f63.
WLAN driver is blocked from promotion as the dependent kernel
change is not merged yet. Getting/setting unsafe channels and
dfs nol are no longer be present after reverting.

CRs-Fixed: 1061220
Change-Id: Id4e374310c5140cc7c5432183562998b2584853a
2016-09-08 17:42:46 -07:00
qcabuildsw
5dae0fea7d Release 5.1.0.25Y
Release 5.1.0.25Y

Change-Id: I57535b476c010ea470707aeade5136a18c01a94e
CRs-Fixed: 688141
2016-09-07 11:48:53 -07:00
Dustin Brown
1817984b6f qcacld-3.0: Apps cannot power collapse while wifi is on
Under error conditions while suspending FW, the target-suspended flag
was not being cleared properly. This caused a situation where FW was
thought to be suspended, but was not. This prevented Apps from
suspending. Properly unsetting this flag under error conditions was
added in this change.

Change-Id: I77c57b3ee7a3327c181e3cc350a59cd1ee46df68
CRs-Fixed: 1063089
2016-09-07 11:48:52 -07:00
qcabuildsw
070c9dd2ce Release 5.1.0.25X
Release 5.1.0.25X

Change-Id: Iaf245d3adfc32267070783c3dab671c69754fd90
CRs-Fixed: 688141
2016-09-06 18:23:52 -07:00
Masti, Narayanraddi
d8a56fbc4a qcacld-3.0: Do not include 11b rates in TDLS setup request
qcacld-2.0 to qcacld-3.0 propagation

If base channel is 5 GHz and when we support all 11a and 11g
rates, then there is no need to advertise 11b rates in TDLS setup
request/response frames.
Advertising 11b rates also leading to IOT issues with few third
party devices.
Fix is to ensure that 11b rates are not included if base channel is
5ghz.

Change-Id: I45590a4067194e8929bac225b1a82ec510903539
CRs-Fixed: 955788
2016-09-06 18:23:51 -07:00
Ganesh Kondabattini
53e873e85f qcacld-3.0: Update the scan list with correct APs
qcacld-2.0 to qcacld-3.0 propagation

In the current implementation, DUT doesn't initialize the social
channels 1, 6 and 11 and doesn't support P2P discovery in 5GHz only
mode. So we don't see any AP's on 1, 6 and 11 channels during p2p scan.

Change-Id: I317119bbbc30d44214c11076faceba8101cf835a
CRs-Fixed: 962252
2016-09-06 18:23:49 -07:00
Masti, Narayanraddi
6319f063aa qcacld-3.0: Maintain session id for TDLS functionality in lim struct
qcacld-2.0 to qcacld-3.0 propagation

Currently, since we are using same member from lim structure for p2p and
TDLS there could be possibilities that session id is overwritten
by p2p which would lead in not sending Tx completion indication from
lim to hdd thus leading to Tx timeout though we have received tx completion
indication from FW.

Fix is to create new session id for TDLS frames transmission

Change-Id: I1f78f24ac01e0b26c92238dbe831af88aa267bd5
CRs-Fixed: 991455
2016-09-06 18:23:48 -07:00
qcabuildsw
b08f5ccd2c Release 5.1.0.25W
Release 5.1.0.25W

Change-Id: I9c362816e75c8f209544092abb1d55308c45328b
CRs-Fixed: 688141
2016-09-06 17:24:52 -07:00
Houston Hoffman
088e4b94ae qcacld-3.0: Use atomic bit ops in ol_tx_desc_dup_detect functions
Bitmasks should use atomic operations when they can be
modified in multiple contexts.  Also sanitize msdu_id length
to avoid potential memory corruption.

Change-Id: I119916dba883ab7aa27d8c42035af5588774f535
CRs-Fixed: 1061195
2016-09-06 17:24:52 -07:00
qcabuildsw
b456c02f99 Release 5.1.0.25V
Release 5.1.0.25V

Change-Id: Ibc735962b5f17e3823a796ccd7774d257bf52bf0
CRs-Fixed: 688141
2016-09-06 16:27:08 -07:00
Deepak Dhamdhere
94580ee4ea qcacld-3.0: Fix memory leaks in wma_pno_start()
Clean up the exit path to free the channel list and params buffers.

CRs-Fixed: 1056031
Change-Id: I2d7910169e9535ae03c37c9ffe07fd2a7b763350
2016-09-06 16:27:08 -07:00
qcabuildsw
7d06dd55c9 Release 5.1.0.25U
Release 5.1.0.25U

Change-Id: Ie1ea4337b4dc365fac9ffc29ca16d80382ab8c32
CRs-Fixed: 688141
2016-09-06 15:24:24 -07:00
Arif Hussain
92c04b74f8 qcacld-3.0: SAP DFS: Logging enhancement in dfs_process_phyerr file
Reduce log level and remove new lines.

Change-Id: I87588a45ad14cff5be1afab63c9cdf1329cfa063
CRs-Fixed: 1062742
2016-09-06 15:24:24 -07:00
qcabuildsw
46cec9839a Release 5.1.0.25T
Release 5.1.0.25T

Change-Id: I66653f57351115b5fdc393586f2f1b3510907db0
CRs-Fixed: 688141
2016-09-06 14:26:16 -07:00
Aggarwal, Nishank
9130c3db8d qcacld-3.0: Fix compilation issue for 32 bit builds
In function csr_roam_chk_lnk_disassoc_ind format
specifier to print sizeof() is for 64 bit systems
which leads in compilation error on 32 bit systems.

Fix this issue by common format specifier for both
32 and 64 bit compilation.

Change-Id: Ib3a5df243c8c29040321af4bdcf7230a6e5e0e52
CRs-Fixed: 1055344
2016-09-06 14:26:15 -07:00
qcabuildsw
38e8ce8849 Release 5.1.0.25S
Release 5.1.0.25S

Change-Id: If822dd1351e437779f2e74851cbe4e178f4b8b1e
CRs-Fixed: 688141
2016-09-06 13:29:18 -07:00
Himanshu Agarwal
6d4c2be635 qcacld-3.0: Fix 32 bit compilation in IPA path
Compilation error is seen for 32 bit builds in htt_tx_ipa_uc_wdi_tx_buf_alloc
as buffer_paddr, which is defined as unsigned long and will be a 32 bit bit
variable for 32 bit builds, is right shifted by 32 to get the high 32 bits
for fragment descriptor.

Instead of right shifting buffer_paddr by 32, use APIs lower_32_bits
and upper_32_bits.

Change-Id: I283792333075c11219a491d305b2822849c025f3
CRs-Fixed: 1062916
2016-09-06 12:14:16 +05:30
qcabuildsw
5e7f144a65 Release 5.1.0.25R
Release 5.1.0.25R

Change-Id: I6410c7b3b3a520c98b51bcb95339164aed306d40
CRs-Fixed: 688141
2016-09-05 01:23:19 -07:00
Houston Hoffman
c2c4762062 qcacld-3.0: Use htc_pm_runtime put/get apis
The htc_pm_runtime provide a convenience wrapper arround
the hif modules put/get apis

Change-Id: Ic2ef437390501e269278e68aa3a219364de8b2c0
CRs-Fixed: 1058274
2016-09-05 01:23:18 -07:00