Revīziju grafs

2454 Revīzijas

Autors SHA1 Ziņojums Datums
Houston Hoffman
ff18ea7927 qcacmn: Remove thread unsafe ce_debug varialbes
The use of these static variables could lead to an skb
double free.

Change-Id: I42ebff2c5a713350922e21f4d581c3b8935507e3
CRs-Fixed: 2011773
2017-03-30 05:45:55 -07:00
Houston Hoffman
32f8ccfadc qcacmn: Increase the ring size of the IPA ring
IPA team wants to allocate more buffers and the IPA ring
should be able to hold them all since ipa doesn't have
an error path when the copy engine is full.

Change-Id: I30b8970ce59c7eb4e6a38170a56d6e00e88737fc
CRs-Fixed: 2011766
2017-03-30 05:45:53 -07:00
Houston Hoffman
3891949b8c qcacmn: Increase wmi ce rx ring size
In one log the rx ring is depleted in 2.4 seconds
durring a prolonged period of memory contention.
Double the rx ring size to allow 5 seconds before
the wmi ce is oom.

Change-Id: I2e9a6caeee10f317bd3d70b770fcae3ad2d96623
CRs-Fixed: 2015778
2017-03-30 05:45:52 -07:00
Houston Hoffman
cbcd8397ea qcacmn: Block non-wmi traffic in ce layer durring suspend
Upper layers are failing to block disallowed traffic durring suspend.
Hif can enqueue the messages on the ce rings without letting hardware
know they are there.  When fw is ready to recieve non wmi packets,
hif can inform hw of the queued packets.

Change-Id: I32810d9548416021c1da4f48a4ac539f75f1d907
CRs-Fixed: 2003582
2017-03-30 05:45:50 -07:00
Abhishek Singh
06ba41e804 qcacmn: Move to common wmi event id for scan
Since new wmi API to allow components to move to common event id,
add related changes to use common wmi event id.

Change-Id: I60310238e0f216e6b52d3219c46f613935a9655f
CRs-Fixed: 1095299
2017-03-30 04:38:19 -07:00
Baila, Shashikala Prabhu
f664eee546 qcacmn: Kbuild changes to include regdomain dispatcher file in
qdf

Change-Id: Icd8420195ace9bd193efb7d6bc55743d25a95c2e
CRs-Fixed: 2026170
2017-03-30 03:20:26 -07:00
Wu Gao
b90940cb5a qcacmn: Move to common wmi event id for P2P
Since new wmi API to allow components to move to common event id, P2P
add related changes to use common wmi event id.

Change-Id: I67b9fb7cba992b06ffdfc09a1243e6f5f2c29fed
CRs-Fixed: 2025109
2017-03-30 02:03:06 -07:00
Wu Gao
6d7909cdbe qcacmn: revert temp support legacy P2P by new scan component
Add a temp changes to support ROC with new scan module. Now new P2P
component lunch and revert this change.

Change-Id: I133c80bf73cee70ac39d9a7a62791ddb6421914b
CRs-Fixed: 2023647
2017-03-30 11:58:49 +05:30
Kiran Venkatappa
dc79e0759c qcacmn: set correct pdev_id in pdev param
Remove pdev_id hardcoding to zero and set it to correct value.

Change-Id: Icda30af88f396a18e1bbab31780fedaa453db687
2017-03-29 20:38:06 -07:00
Rajeev Kumar
a85d8b4ad7 qcacmn: Fix SKB double free issue in nl_srv_ucast
If netlink_unicast() fails it already frees SKB buffer hence
do not double free the SKB when netlink_unicast() returns failure.

Change-Id: I2aa99c47f99c573abbd281c06ff58fcb38aad76b
CRs-Fixed: 2022800
2017-03-29 19:18:40 -07:00
Wu Gao
849fd2c759 qcacmn: Init and deinit P2P
This is a change to init and de-init P2P component in host common. Add
P2P component name in qdf trace.

Change-Id: I0a9d56afe851e3414bf860bed944c4e0fe661fbc
CRs-Fixed: 2006260
2017-03-29 18:12:47 -07:00
Soumya Bhat
169eff157d qcacmn: Add new WMI API to unregister event handler
Add new API to unregister event handler to allow
converged components to move to common eventid space.

Change-Id: I97f096ff3e36bc7923718498c535fb6c3c50e7e7
CRs-Fixed: 2023157
2017-03-29 16:06:01 -07:00
Pramod Simha
30e8135859 qcacmn: Changes for BA window update
Window size needs to be incremented by 1 since fw needs to
represent a value of 256 using just 8 bits.

Change-Id: I18cdb6fb928f28893dc0e1fd2fb574a12ca53972
CRs-Fixed: 2025197
2017-03-29 15:01:14 -07:00
Anish Nataraj
da0e2f41b7 qcacmn: Add SCAN WAR for hawkeye emulation
Emulation being clocked at lowest rate,
SCAN and serialization timers are modified to handle
these scenarios

Change-Id: Ia937930483dbcd0268fd2fe2d0393e49f09b215f
CRs-Fixed: 2009490
2017-03-29 09:09:43 -07:00
Anish Nataraj
6b38734120 qcacmn: Add multiradio support for SCAN
Modify first argument of wmi_unified_cmd_send to send
wmi_handle per pdev

Change-Id: Ifbb9cf207c34bcb21cb01492a00b107d62284218
2017-03-29 09:09:34 -07:00
Om Prakash Tripathi
89db19b5b7 qcacmn: Enable converged scan component
Update WMI layer to adopt to converged scan module
and enable converged scan component init/deinit

Change-Id: I4f9da95f90f737ac8bdcaa54f9eb4e154f37d3de
CRs-Fixed: 1095299
2017-03-29 09:09:24 -07:00
Tushnim Bhattacharyya
ac2819788b qcacmn: Add null check for legacy callback functions in policy manager
Add null check for callback functions registered from legacy modules
with policy manager.

Change-Id: I8a08870ea904f4e01a17f6a472bdd609df9c3c4c
CRs-Fixed: 2009818
2017-03-29 07:58:09 -07:00
Kiran Venkatappa
564d355833 qcacmn: Fix rmmod crash on 8074 soc emulation setup
Use correct dev_id in free_irq and add conditional check to avoid
access to registers not present on 8074 soc emulation.

Change-Id: I60055b8426b1941fca1b2f238d4e26b47ead54f9
2017-03-29 06:58:08 -07:00
Kai Chen
6eca1a62da qcacmn: Monitor mode configuration and processing
This change is for supporting monitor mode VAP.  All the monitor mode ring
is configured. The related monitor mode ring includes:
-monitor mode buffer ring
-monitor mode destination ring
-monitor mode status ring
-monitor mode link descriptor ring
The packet is not sent to monitor mode ring unless the monitor mode VAP is
configured. This release support Multiple VAP - AP/STA VAP plus Monitor
VAP configuration. The status ring is not used in this release. However,
the ring is tested and the ring is moving and there are TLV's in the ring.

Change-Id: I782ee0c3b998d8b3bbac79b5e7fdecdbff15fa93
CRs-Fixed: 2013049
2017-03-29 05:58:52 -07:00
c_cgodav
f151c38600 qcacmn: Changes to store stats in 64bit data type
Changed the data type to store stats to 64bit
from 32bit to support larger number for stats
counter

Change-Id: I25eca626623503663b6aa8436217413609e2a807
CRs-Fixed: 2024225
Acked-by: Chaithanya Garrepalli <cgarre@codeaurora.org>
2017-03-28 23:22:30 -07:00
Archana Ramachandran
0b69ec4998 qcacmn: Update legacy fixes in new policy manager component
Update legacy fixes in new policy manager component:
1. Avoid race condition to get pcl while stopping P2P GO
2. Add 160/80+80 MHz support for STA mode
3. Fix SBS is set to true by policy manager in SCC mode

Change-Id: I161ebe382915a6d9eefd6b4e3e2158ff14ad02c1
CRs-Fixed: 2009818
2017-03-28 22:42:30 -07:00
Archana Ramachandran
3dcc6ff112 qcacmn: Fix SME callback for policy manager component
Fix SME callback for policy manager component

Change-Id: If5c7256fb689e4cdb053aa5012deacac221261f9
CRs-Fixed: 2019994
2017-03-28 22:42:28 -07:00
Yun Park
81967e04f3 qcacmn: Check NULL before derefencing pPacket from htc_packet_dequeue
Add NULL check for pPacket returned from htc_packet_dequeue before
dereferencing it.

Change-Id: I30c4fb3a4bc6652396795305c3b8a23bba88922a
CRs-fixed: 2009829
2017-03-28 20:45:58 -07:00
Pamidipati, Vijay
110bf96741 qcacmn: Fix size mismatch between dma_map and dma_unmap in Tx path
Change calls to qdf_dma_map_nbytes_single to qdf_dma_map to match with
qdf_dma_unmap used in tx completion path. Also fix the dma_addr value that is
passed to Tx HW; we were incorrectly subracting pkt_offset instead of just
subtracting alignment bytes from dma_addr

Change-Id: I2d6f32bd44e02824a1a788e3624dcb3680f1b242
CRs-Fixed: 2004658
2017-03-28 20:06:33 -07:00
Venkateswara Swamy Bandaru
a8d98c8f5e qcacmn: Fix incorrect meta header issue in mesh tx path
After updating the skb with meta header cache flush is not happening. This
is sending incorrect meta data to firmware. Fixed this by doing cache flush
after meta header updation in skb.

Change-Id: I0952093e3080f5b8ec2233e6ab1edf4f48351603
CRs-Fixed: 2003389
2017-03-28 20:06:31 -07:00
Adil Saeed Musthafa
3318807269 qcacmn: Add shared print_ctrl_obj for qdf_trace_msg
At this point lot of Win code already uses QDF_TRACE macro. It will be
difficult to translate QDF_TRACE to qdf_trace_msg unless all the modules
(already using QDF_TRACE) make changes to use the qdf_print_ctrl
framework. Until that happens, we can have a shared object temporarily
so that wlan_log_to_user and hence user space logging of messages can be
in place

Change-Id: Ia149b86de8c2c36ed1c8508570b31db25f6bc41e
CRs-Fixed: 2018767
2017-03-28 13:50:42 -07:00
Venkata Sharath Chandra Manchala
87686d9a2f qcacmn: Fix for ampdu aggregation in host statistics
Ampdu count is populated in pdev
but zeroed before printing. Fix it to
be populated in peer and aggregated
in pdev before printing

Change-Id: I51d8f1968a87c0b9dbf53928acd1bbef45acc7ec
CRs-Fixed: 2025785
2017-03-28 11:03:06 -07:00
Sandeep Puligilla
c784f4e8dd Release 5.1.1.17I
Release 5.1.1.17I

Change-Id: I91e1a31b318e98407d7af5ba3682c348ad727dbf
CRs-Fixed: 688141
2017-03-27 08:31:31 -07:00
Wu Gao
0261c63a51 qcacmn: Support rx p2p public action frame
Support rx p2p public action frame and extend the roc timer for
special frames. Also add scan requtest paramters when trigger scan
request.

Change-Id: I295bdcf9c5ff78320cbe600a483d245d38d05c06
CRs-Fixed: 2024412
2017-03-27 08:31:30 -07:00
Sandeep Puligilla
6ddb08054f Release 5.1.1.17H
Release 5.1.1.17H

Change-Id: I7ae1d0fec051a543af32e5204bae7c7feb8dbf9a
CRs-Fixed: 688141
2017-03-27 06:07:53 -07:00
Baila, Shashikala Prabhu
af7fd90129 qcacmn: Re-factor processing of WMI_REG_CHAN_LIST_CC_EVENTID
Due to different layers, TLV processing is confined to WMI folder.
Therefore, move the TLV layer processing of WMI_REG_CHAN_LIST_EVENTID
to the wmi folder.

Change-Id: I7e7182997a9506035030f33d2f81a403fbe97a2f
CR-Fixed: 2019750
2017-03-27 06:07:47 -07:00
Amar Singhal
e407974144 qcacmn: Add the event handler for WMI_REG_CHAN_LIST_CC_EVENTID
Add event handler for WMI_REG_CHAN_LIST_CC_EVENTID.This handler
would be called from psoc_open object manager framework
initialization.

Change-Id: Icfd52fdb7056fdb77afdbd1be576d160719b7285
CRs-Fixed: 2002892
2017-03-27 06:07:36 -07:00
Sandeep Puligilla
a6f2836edb Release 5.1.1.17G
Release 5.1.1.17G

Change-Id: I27a817638ae81a6f43753100c6c277415f9406d2
CRs-Fixed: 688141
2017-03-27 01:06:34 -07:00
Mukul Sharma
5e31b638c3 qcacmn: Add get/update vdev pause bitmap support in PMO
Add get/update vdev pause bitmap support in PMO.

Change-Id: I25ff425f3e2199ee1d3940816bbe2c71c286eeb3
CRs-Fixed: 2016081
2017-03-27 01:06:34 -07:00
Sandeep Puligilla
88f6141550 Release 5.1.1.17F
Release 5.1.1.17F

Change-Id: I01e2a3c6b6fbf27103490d9d6201250b7ebf097b
CRs-Fixed: 688141
2017-03-27 00:22:34 -07:00
Anish Nataraj
089fd7c9da qcacmn: Implement Dynamic serialization rules framework
Add dynamic rules registration callbacks which needs to be registered
by each component during its initialization phase.
These callbacks are used for serialization component to determine
whether serialization request can or can't be honored.

Change-Id: I02000426527bc7611cb9bb1d0ee26f3c03d9f2d1
2017-03-27 00:22:33 -07:00
Sandeep Puligilla
a36843cd5b Release 5.1.1.17E
Release 5.1.1.17E

Change-Id: Id0bea7796b4ba8ed58f44196471991c45dd70880
CRs-Fixed: 688141
2017-03-25 06:38:24 -07:00
Tallapragada Kalyan
6f6166e36c qcacmn: Add support for intra-bss forwarding
pkts should be forwarded from one STA to another
STA belonging to same VAP from within the driver

Change-Id: I68eb0dd91f7ac54352b4882ffdb9d5d53d627db1

Conflicts:
	dp/wifi3.0/dp_rx.c
	dp/wifi3.0/dp_types.h

Conflicts:
	dp/wifi3.0/dp_rx.c

Change-Id: I68eb0dd91f7ac54352b4882ffdb9d5d53d627db1
2017-03-25 06:38:24 -07:00
Sandeep Puligilla
975bf37ab6 Release 5.1.1.17D
Release 5.1.1.17D

Change-Id: I212c5feaf17dbe2caaf22956e66494c05eb6d1ae
CRs-Fixed: 688141
2017-03-25 04:34:15 -07:00
Sathish Kumar
d5b7889c7c qcacmn: Add device ID for multinode support in Hawkeye emulation platform
Include Hawkeye emulation PCI device ids in hif_pci_enable_bus to
support PCI based emulation platform to support multiple nodes.

Change-Id: Iddc4c92a39713e27386c6f9cf64b5efd34b3ba44
CRs-Fixed: 1090092
2017-03-25 04:34:15 -07:00
Sandeep Puligilla
7f5460ce9a Release 5.1.1.17C
Release 5.1.1.17C

Change-Id: I82687c768e87131fc53e7d39312600322ae13d3f
CRs-Fixed: 688141
2017-03-25 00:37:18 -07:00
Krishna Kumaar Natarajan
526307e52a qcacmn: [11AX] Add vendor command for userspace to get HE capabilities
Add new vendor command for userspace to get HE capabilities from host driver.

Change-Id: Id01b8b97c932bdcfb6b86ce578feabae0d913ea9
CRs-Fixed: 1073481
2017-03-25 00:37:17 -07:00
Sandeep Puligilla
8952b58382 Release 5.1.1.17B
Release 5.1.1.17B

Change-Id: I43b9b5739320480ba3ed06712aaaa87848f0c2af
CRs-Fixed: 688141
2017-03-24 20:28:53 -07:00
Dustin Brown
f37bed7d2e qcacmn: Move communication with firmware to vdev_ready in PMO
Objmgr vdev_create event does not guarantee vdev creation in firmware.
Move any PMO logic that would normally go in the vdev_create event, but
needs to communicate with firmware, to a new vdev_ready event handler.

Change-Id: Ifbc2aed26a511733b31c816b9e6c4359d39910e6
CRs-Fixed: 2020696
2017-03-24 20:28:52 -07:00
Sandeep Puligilla
de25c8804f Release 5.1.1.17A
Release 5.1.1.17A

Change-Id: I5bb59dd7d0b189527a0137fc509bfb4003722c7a
CRs-Fixed: 688141
2017-03-24 19:01:11 -07:00
Manikandan Mohan
e2fa8b7861 qcacmn: Setup CDP interface for flushing RX queue
Refactor flush rx queue function call based on soc by adding an
interface to CDP funtion indirection table.

Change-Id: Iea201553f555a6c317cf37e586433aa493e51623
CRs-fixed: 2023399
2017-03-24 19:01:10 -07:00
Sandeep Puligilla
53e7fb8fa3 Release 5.1.1.17
Release 5.1.1.17

Change-Id: I63cc000193214a3bf169d036611dbab731cb110a
CRs-Fixed: 688141
2017-03-24 17:52:53 -07:00
Tushnim Bhattacharyya
e07402f577 qcacmn: Add a legacy callback to get the type of non connected vdev
Add a legacy callback to get the type of a non connected vdev
needed by policy manager.

Change-Id: Id3622d5c808c8e0f3b24b257b5899f925dc36b1f
CRs-Fixed: 2009818
2017-03-24 17:52:52 -07:00
Sandeep Puligilla
087062b4bb Release 5.1.1.16Z
Release 5.1.1.16Z

Change-Id: I053109cb7d39ff9da5c5794a5c3a9a5be3b4efa4
CRs-Fixed: 688141
2017-03-24 15:17:01 -07:00
Dustin Brown
6834d321d8 qcacmn: Fix IRQ disable for unit-test suspend on PCIe
pld_disable_irq is a no-op for PCI devices, causing unit-test resume
to fail in some cases. Define new IRQ disable/enable API's in HIF for
unit-test suspend/resume to use.

Change-Id: Ib3e6007025e791c867463c7d9f64512628c4ca0b
CRs-Fixed: 2023978
2017-03-24 15:16:59 -07:00