Commit Graph

2070 Commits

Author SHA1 Message Date
Himanshu Agarwal
846cf37306 qcacmn: Do IPA version based DMA coherent mask setting
In case of IPA hw version less than 3.0, only 32 bit DMA
address can be handled as it is only 32 bit compliant.
Because of this, setting DMA coherent mask of 37 when
IPA hw version is less than 3.0, crash is happening.

Do IPA version based DMA coherent mask setting such that
when IPA hw version is less than 3.0, set DMA coherent mask
as 32 only.

Change-Id: I8dec7da47766985ab0590f885b29f345f153cd08
CRs-Fixed: 1114605
2017-02-23 07:29:54 -08:00
Himanshu Agarwal
4bd194660d qcacmn: wmi_host_mgmt_rx_hdr struct cleanup for UMAC covergence
wmi_host_mgmt_rx_hdr struct cleanup for UMAC covergence as
struct mgmt_rx_event_params is to be used in place of
wmi_host_mgmt_rx_hdr.

Change-Id: I7ad3b641e492ecb469fa69c0025c6537c8a01e65
CRs-Fixed: 1103247
2017-02-23 07:29:53 -08:00
qcabuildsw
e9be4534ec Release 5.1.1.11U
Release 5.1.1.11U

Change-Id: Ifba235e9dfae4a5a5af54371b027bf7945fc573d
CRs-Fixed: 688141
2017-02-23 04:18:51 -08:00
Venkateswara Swamy Bandaru
9fac863f73 qcacmn: Fix for kernel panic in rx path
Add Null check for peer before accessing the structure.

Change-Id: Ic1b6e0c3a7a9aeecbc9aa9cc4a118e27726d94f2
CRs-Fixed: 2010214
2017-02-23 04:18:50 -08:00
qcabuildsw
2ee22c7240 Release 5.1.1.11T
Release 5.1.1.11T

Change-Id: I47aadda63635eed850f240413dd0f84ea61f83a9
CRs-Fixed: 688141
2017-02-23 03:06:54 -08:00
Vivek
3e5a3ba077 qcacmn: Define os private structure in pdev object
-Define OS private memory structure and provide pointer
 to store the private data of each umac module's os specific data
-Initialize pdev's os private structure member 'wiphy'.
-Move vendor command definition to common project.

Change-Id: I2033bfbf0fe38e82c3a14942ac9f9bfda45e2c6c
CRs-Fixed: 2002991
2017-02-23 03:06:53 -08:00
qcabuildsw
282e024fe1 Release 5.1.1.11S
Release 5.1.1.11S

Change-Id: I151e3a092480fb8b1eb27f9d1e898490cdb14d73
CRs-Fixed: 688141
2017-02-23 00:27:30 -08:00
Karunakar Dasineni
8bebb003a4 qcacmn: WAR for REO queue deletion race with HW
Defer freeing of REO queue descriptors to avoid corruption due to possible cache
flush by REO HW of the queue descriptors that are already removed from a peer.

Change-Id: I4b5ef8ef4fe6a11f5faef4f1f14ce27de77768e0
2017-02-23 00:27:29 -08:00
Karunakar Dasineni
d0ea21f109 qcacmn: WBM ring changes to fix stability issues
1. Increased the sizes of following SRNGs used by WBM and also added max size
check in SRNG setup:
-idle link descriptor ring
-Tx completion ring
-Rx release ing

2. As per HW team, TP_ADDR and HP_ADDR for Idle link ring should remain 0 to avoid
some WBM stability issues. Remote head/tail pointers are not required since
this ring is completly managed by WBM HW

Change-Id: I93d70a287329dfeb08fcfb6b04306d65776b4834
2017-02-23 00:27:27 -08:00
qcabuildsw
e8828791e0 Release 5.1.1.11R
Release 5.1.1.11R

Change-Id: I1fe6de09ac8af3e9d8d6e3f54f9cc9f1d8d0d431
CRs-Fixed: 688141
2017-02-22 23:42:41 -08:00
Tallapragada Kalyan
1b4d08d6bb qcacmn: Add support to print MCS rate, SGI & TID
Add RX HAL APIs to retrieve the mcs, sgi & tid info
from the rx TLV headers and display them on per packet
basis.

Change-Id: Ic6ced3ad0728183437014c0e6c2a8afbdbead1c2
CRs-Fixed: 1101961
2017-02-22 23:42:40 -08:00
qcabuildsw
0a013ab231 Release 5.1.1.11Q
Release 5.1.1.11Q

Change-Id: I997464d06750837400cda244d826e0835f3836b1
CRs-Fixed: 688141
2017-02-22 22:56:40 -08:00
Gurumoorthi Gnanasambandhan
ee2322c8f9 qcacmn: Enabling WPS for Hawkeye
Scan params are not properly set when wps ie is added in probe req
scan command fails. Fixing scan wmi command when additional
wps ie is added.

Change-Id: Ide40a248f32c6220dd7510a65dde7c3894e45da6
2017-02-22 22:56:39 -08:00
qcabuildsw
646fb5f426 Release 5.1.1.11P
Release 5.1.1.11P

Change-Id: If156d60aa51ca92c1f3c38bc7b8591db4e5bd87e
CRs-Fixed: 688141
2017-02-22 17:46:19 -08:00
Naveen Rawat
1cbd823f1b qcacmn: Send beacon frame in wmi_roam_invoke_cmd
Send beacon frame in wmi_roam_invoke_cmd to firmware
This helps firmware skip scan to connect to requested
BSSID.

Change-Id: I5c6e375309dcb3bdd6430a3d501bade5cfe2e88d
CRs-Fixed: 1116901
2017-02-22 17:46:18 -08:00
qcabuildsw
c48765600b Release 5.1.1.11O
Release 5.1.1.11O

Change-Id: I7824040548ffd8510c3514007482d9080d52cefa
CRs-Fixed: 688141
2017-02-22 15:10:34 -08:00
Krunal Soni
c336de23c9 qcacmn: Fix type of parameter passed to serialization timeout callback
By mistake, current serialization is passing component's command pointer
instead passing serialization's command pointer which leads to confusion
and incorrect behavior. Fix by passing correct parameters.

When serialization module's callback to activate the command fails, it
doesn't give callback to release the memory which will lead to memory
leak. Fix by calling release memory callback.

CRs-Fixed: 2000032
Change-Id: Ic08e00fd1a815674f54c16593baeb0dd6d14d033
2017-02-22 15:10:33 -08:00
qcabuildsw
086d6aad35 Release 5.1.1.11N
Release 5.1.1.11N

Change-Id: I6a8a54d35208eb0b34440618f34b48c2bd55cb1d
CRs-Fixed: 688141
2017-02-22 12:33:30 -08:00
Mukul Sharma
d10b269500 qcacmn: Set VDEV SELF PEER and BSS peer to NULL on peer detach
Currently, On peer attach object manager set self peer
and bss peer. But on peer detach it does not clear
SELF PEER and BSS peer to NULL hence in race conditions
other components are accessing invalid BSS peer.
As a part of the fix, Set them to NULL on vdev peer detach.

Change-Id: I9a2bbfed8665dcb3bf2509f124dba2a5f3de8c55
CRs-Fixed: 2007748
2017-02-22 12:33:30 -08:00
qcabuildsw
5a4bc9d852 Release 5.1.1.11M
Release 5.1.1.11M

Change-Id: I3ac0f5e8a7602121035ff60f0cd667ffa9c04160
CRs-Fixed: 688141
2017-02-22 11:53:58 -08:00
Soumya Bhat
e2e544267e qcacmn: Global lmac_if
Add global lmac interface which can be used by all the
modules parallel to UMAC to communicate with LMAC

Change-Id: Iaf121c7411a22e3697881405360caa5dc745298a
CRs-Fixed: 2006686
2017-02-22 11:53:58 -08:00
qcabuildsw
9809ff9e46 Release 5.1.1.11L
Release 5.1.1.11L

Change-Id: Ic6b545cd49ac38031e4f014f91d2b7c363cf5bc3
CRs-Fixed: 688141
2017-02-22 11:13:23 -08:00
Kiran Venkatappa
b5c5b53524 qcacmn: Support per mac CE for WMI commands
Firmware requires WMI commands to be sent on different copy engine for
each MAC. Add support in WMI to use different endpoints for each pdev.

Change-Id: Ie0dfe71043275ac694362f88b625219f089b5303
CRs-Fixed: 2005214
2017-02-22 11:13:18 -08:00
Kiran Venkatappa
e17e3b63e0 qcacmn: Support per mac CE for WMI commands
Firmware requires WMI commands to be sent on different copy engine for
each MAC. Change CE assignement to support this.

Change-Id: I91a2422a944741dc25c3bf45b18cde30e7409632
CRs-Fixed: 2005214
2017-02-22 11:13:16 -08:00
Kiran Venkatappa
e77f653463 qcacmn: Add support to send hw_mode in init cmd
Support to add hw_mode in init command is added by FW
to let host choose the mode to be use. Change init cmd
send API to enable upper layer to send the hw_mode selected.
Since this is new TLV in init command, init cmd send API
needs to be changed to accommodate this parameter.

Change-Id: I172d8d737425599c36666d9fec8a6cdd48085097
CRs-Fixed: 2004652
2017-02-22 11:13:14 -08:00
Kiran Venkatappa
63987624ef qcacmn: Add pdev_id for regdomain cmd send API
Add regdomain send command in tlv.c.
pdev_id is required to indicate the pdev object on which command needs
to be applied. Add pdev-id in regdomain command in TLV.

Change-Id: I6a2c3453a2c058c6fb4cfab2f57c1fbce628aad7
CRs-Fixed: 2003898
2017-02-22 11:13:13 -08:00
Kiran Venkatappa
fee9e54244 qcacmn: Add pdev_id in Pdev AST reserve event
pdev_id is required to identify the pdev object on which this event is
recieved. Add pdev_id in the event extract API.

Change-Id: Ia910d42af6a9d6099da1b7781601b0320dff80ba
CRs-Fixed: 2003898
2017-02-22 11:13:11 -08:00
Kiran Venkatappa
c7d68db191 qcacmn: Add pdev_id in pdev commands and events
pdev_id is used to get the pdev for which the event is recieved. Add this
in extract APIs to fetch the pdev from pdev_ids and use it for further
processing. This is change is part of changes required to support
multi-radio.

Change-Id: Iadda098ccb31be5e8e43083158802abe49ac01b4
CRs-Fixed: 2003898
2017-02-22 11:13:10 -08:00
qcabuildsw
95db437634 Release 5.1.1.11K
Release 5.1.1.11K

Change-Id: I046d1c53ad82995dbf1aef8c5bd08018fd35ec1f
CRs-Fixed: 688141
2017-02-21 15:44:07 -08:00
Rajeev Kumar
22d1abffe1 qcacmn: WMI service ready convergence changes
Converge on common WMI event handling for (ext)service ready
such that common PSOC object can be populated after common parsing.
Legacy (ext)service ready handlers continue to co-exist to support
legacy modules. Legacy service ready handlers can be removed once
legacy modules are also componentized and start using new object
model of PSOC, PDEV, VDEV and PEER.

To support multiple SoCs register for various psoc objects via legacy
callback registration routine during psoc probe and populate common
psoc object once WMI (ext)service ready event is parsed.

CRs-Fixed: 1110768
Change-Id: I966b8f7c775a19ac6e51ad5217a2dd0287acfada
2017-02-21 15:44:05 -08:00
qcabuildsw
62ab2cd1aa Release 5.1.1.11J
Release 5.1.1.11J

Change-Id: I468f0a5b1dd27f8e79f07ecd0e13bd0b2f22a39e
CRs-Fixed: 688141
2017-02-21 04:02:29 -08:00
Mukul Sharma
d1e5de57f2 qcacmn: Add PMO ID in obj mgr reference debug id
Add PMO ID in obj mgr reference debug id.

Change-Id: I3defda665043182311ccd8cfcf00dc6172b61577
CRs-Fixed: 2009121
2017-02-21 04:02:28 -08:00
qcabuildsw
2891d2aa88 Release 5.1.1.11I
Release 5.1.1.11I

Change-Id: I9ce03ac94fa1b59280a45b9b7c354b2668abf7c6
CRs-Fixed: 688141
2017-02-21 03:14:54 -08:00
Venkateswara Swamy Bandaru
45f85569ac qcacmn: Add cdp support four address raw mode simulation
Added cdp interface support for raw mode simulation code to support 4 address
frames. This function finds the fourth address of the packet.

Change-Id: Ia684cd4c8ba7be3e52283bda7a84fc612d924a38
CRs-Fixed: 2003389
2017-02-21 03:14:53 -08:00
qcabuildsw
e41bc4aa32 Release 5.1.1.11H
Release 5.1.1.11H

Change-Id: I1e96d5972373ea7eecd972bdabfd0290e972bffd
CRs-Fixed: 688141
2017-02-21 02:26:58 -08:00
Manoj Ekbote
6f56586d9a qcacmn: Add 1 to pdev_id for multi-radio
pdev id should be numbered as 1,2,3 for MAC 0,1,2 while
communicating with firmware.The pdev->pdev_id variable
holds 0,1,2 during init. Add 1 to the variable while
programming the ring metadata.

Change-Id: I2de7ef2c63d2bd59581d25ad2e45daaabdb579b6
2017-02-21 02:26:57 -08:00
qcabuildsw
8457f65ab8 Release 5.1.1.11G
Release 5.1.1.11G

Change-Id: I6a3d6f4c76b3f8b99bafe801e55179c3b204531c
CRs-Fixed: 688141
2017-02-20 07:29:18 -08:00
Sandeep Puligilla
2e1088dd4b qcacmn: Scan module init and deinit
Scan module init and deinit

Change-Id: Id3f4b88796c1145f487c02785084320ee8b21037
CRs-Fixed: 2008137
2017-02-20 07:29:17 -08:00
qcabuildsw
037ae9c9eb Release 5.1.1.11F
Release 5.1.1.11F

Change-Id: I43c704fd09d2523ad4df2e2777261ed80f3cdd0d
CRs-Fixed: 688141
2017-02-20 06:03:52 -08:00
Sathish Kumar
58147956f1 qcacmn: Clean up WMI TLV/Non-TLV headers
Remove TLV and Non-TLV headers from WMI converged component.

Change-Id: I736d7abc6a61fa3be1ea758e6e3891664dc5fa00
CRs-Fixed: 2005744
2017-02-20 06:03:51 -08:00
qcabuildsw
c575ebac73 Release 5.1.1.11E
Release 5.1.1.11E

Change-Id: I920645347c9c007fb94f7b325cb3e467e427ca1a
CRs-Fixed: 688141
2017-02-20 05:21:29 -08:00
Anish Nataraj
a60ad827cf qcacmn: Implement serialization command rules and processing logic
Initialize rules callback handlers for different components,
Add serialization command processing logic, which calls
component info callback handler to get information about component
state. Component info then is passed to apply rules logic callback
to either deny or enqueue the serialization command

Change-Id: I59be9c5ee71e57fb5737558654222346bea4f1f8
CRs-Fixed: 2000032
2017-02-20 05:21:28 -08:00
qcabuildsw
9760228d70 Release 5.1.1.11D
Release 5.1.1.11D

Change-Id: I02725183bfb2a3281c3157675044d1b9a903f75a
CRs-Fixed: 688141
2017-02-20 03:18:12 -08:00
Sathish Kumar
b2f5b6506d qcacmn: Add the iwpriv command parameter for runtime target dump
Change-Id: Ia923abc7681ddbc4344c0a689de59a6e78a3cdcb
Acked-off-by: yilinl <rlu@codeaurora.org>
CRs-Fixed: 1107807
2017-02-20 03:18:11 -08:00
qcabuildsw
91913d1010 Release 5.1.1.11C
Release 5.1.1.11C

Change-Id: I968f8e00bc46b6736663b2ab5d90d85401fe36bd
CRs-Fixed: 688141
2017-02-20 02:38:26 -08:00
Venkateswara Swamy Bandaru
9748234151 qcacmn: Add cdp support for external tx completion for mesh mode
Added cdp support for external tx completion. In case of mesh mode per
packet tx completion stats has to be filled in the meta header and external
function has to be called for updating these stats. It is the responsibility
of external function to free the buffer after reading the stats

Change-Id: I45ba800acf9b4d6091cc3f9aafc67c1f1f00f379
CRs-Fixed: 2003389
2017-02-20 02:38:25 -08:00
qcabuildsw
642affe68b Release 5.1.1.11B
Release 5.1.1.11B

Change-Id: I838d59e8b58d09eadb35c6ea2b45eb6248589612
CRs-Fixed: 688141
2017-02-20 01:03:22 -08:00
Om Prakash Tripathi
7e3f45da3c qcacmn: scan convergence - initial set of files
Add initial set of scan files, structure definitions
and API proto type.

Change-Id: Ibfaef8bb09d51e12bde773fcea69e273eff3bb41
CRs-Fixed: 1095299
2017-02-20 01:03:21 -08:00
qcabuildsw
e815fc5b97 Release 5.1.1.11A
Release 5.1.1.11A

Change-Id: I04b4fd2e26129d64de37314ce07cda098cf7763f
CRs-Fixed: 688141
2017-02-19 23:11:10 -08:00
Mukul Sharma
6bb6687ef8 qcacmn: Initial power manager offload skeleton
Initial power manager offload skeleton to interact
with object manager and add support for arp/ns/gtk/
mc address filtering.

Change-Id: I47cce6123566b67d4aa0c56f1cf6738f4fdbf77d
CRs-Fixed: 2002776
2017-02-19 23:11:09 -08:00