Commit graph

2,259 commits

Author SHA1 Message Date
Karunakar Dasineni
67c7877fe0 qcacmn: Reduce maximum contiguous allocation size
Reduce default max contiguous allocation in wlan_cfg to 2MB.

Change-Id: If97bb4aaaab48d3435a4992e951ab02ef891d1e2
2017-03-15 14:38:09 -07:00
Sandeep Puligilla
097b546f78 Release 5.1.1.14Q
Release 5.1.1.14Q

Change-Id: I5e3547d79dc7fa189912bf1f453daf8521101948
CRs-Fixed: 688141
2017-03-15 13:59:34 -07:00
Arif Hussain
fc86d5e993 qcacmn: Add support for DFS_PHYERR_OFFLOAD commands
Add support for below wmi commands
WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID
WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID

Change-Id: I5cfcfac428ce076d42f186752c967f67ffa1879f
CRs-Fixed: 2017481
2017-03-15 13:59:33 -07:00
Sandeep Puligilla
4c4f0dc0d0 Release 5.1.1.14P
Release 5.1.1.14P

Change-Id: If966e22cc9c307a06c4b053faefe35331f3fd36a
CRs-Fixed: 688141
2017-03-15 05:43:44 -07:00
Vivek
e23557e717 qcacmn: Add qdf_device to psoc object
Add a new qdf device member to psoc object.
Add get/set methods for retreiving the new qdf
device member from psoc.

Change-Id: I0c2965b69fc038f9781dd52b6175bf642319834b
CRs-Fixed: 2014032
2017-03-15 05:43:44 -07:00
Sandeep Puligilla
d111a279bd Release 5.1.1.14O
Release 5.1.1.14O

Change-Id: I4d639a38066082f1b11179e870f2c4e4aca732f8
CRs-Fixed: 688141
2017-03-15 04:26:42 -07:00
Abhishek Singh
2f1324678d qcacmn: Add support to update user defined scan params
Add support to update the user defined scan params values.

Change-Id: I8a971b0fa0d119f58e3143ca6be9c5ea4ee47f52
CRs-Fixed: 1095299
2017-03-15 04:26:41 -07:00
Abhishek Singh
673bd512f3 qcacmn: Fix QDF assert in wlan_abort_scan if vdev is NULL
If vdev is NULL calling calling wlan_objmgr_vdev_release_ref
cause assert.

To fix avoid calling wlan_objmgr_vdev_release_ref if vdev is NULL.

Change-Id: I8bd40ac27a6733177ac55c791c7c3ddfe5bbba30
CRs-Fixed: 1095299
2017-03-15 04:26:40 -07:00
Sandeep Puligilla
8a24f5038c Release 5.1.1.14N
Release 5.1.1.14N

Change-Id: I2075dc429f34bc199586a118a69c33f995f2f68a
CRs-Fixed: 688141
2017-03-15 00:24:56 -07:00
Tushnim Bhattacharyya
e4920915c7 qcacmn: Move PCL weight macros to api header file
Move PCL weight macros to API header file.

Change-Id: I3183dd8301cd971475d492791df89cd77af2943f
CRs-Fixed: 2009818
2017-03-15 00:24:56 -07:00
Tushnim Bhattacharyya
1e34c3fa01 qcacmn: Define utility functions of policy manager component Part 3
Define utility functions for policy manager component.

Change-Id: I2811b682f5b8e73ea6393dbe6db99a8f6ae077a1
CRs-Fixed: 2009818
2017-03-15 00:24:55 -07:00
Tushnim Bhattacharyya
9c2d0c60ba qcacmn: Define utility functions of policy manager component Part 2
Define utility functions for policy manager component.

Change-Id: I080a4389504f6c3b0acb93fe9993da3ffd492f22
CRs-Fixed: 2009818
2017-03-15 00:24:54 -07:00
Tushnim Bhattacharyya
9c73f73749 qcacmn: Define utility functions of policy manager component Part 1
Define utility functions for policy manager component.

Change-Id: I78d48c6347e7f7d8ebebeaf85c807ba6b1b044e0
CRs-Fixed: 2009818
2017-03-15 00:24:53 -07:00
Tushnim Bhattacharyya
75f622428b qcacmn: Define DBS action functions of policy manager component
Define DBS & concurrency action functions for policy manager component.

Change-Id: I86cfb364e4753825ef650dc00a38d5226aa110ee
CRs-Fixed: 2009818
2017-03-15 00:24:52 -07:00
Tushnim Bhattacharyya
b48288685f qcacmn: Define core functions of policy manager component
Define core functions for policy manager component.

Change-Id: Ifc9bc2165065226757cd4aa379a205870b2a2174
CRs-Fixed: 2009818
2017-03-15 00:24:51 -07:00
Tushnim Bhattacharyya
26d90e14ae qcacmn: Preferred Channel List derivation logic
Define Preferred Channel List (PCL) derivation functions.

Change-Id: Ic3c64043c723c8d309be1a1d0abf7574d60d2184
CRs-Fixed: 2009818
2017-03-15 00:24:50 -07:00
Sandeep Puligilla
8b6cb16342 Release 5.1.1.14M
Release 5.1.1.14M

Change-Id: Ia16cd209ba16300d772085b1935f4f40f7bcee43
CRs-Fixed: 688141
2017-03-14 21:38:45 -07:00
Arif Hussain
38af0dbc43 qcacmn: Add cac duration and reg domain in vdev start cmd
Include cac duration and regulatory domain in vdev start
command, these fields are used to process phyerrors when
dfs is offloaded to firmware.

Change-Id: I5736354913fafb7776ac71e85dc23e841de94a96
CRs-Fixed: 2017481
2017-03-14 21:38:44 -07:00
Sandeep Puligilla
b76e6980fc Release 5.1.1.14L
Release 5.1.1.14L

Change-Id: If52b348ff1e1b7fdf715ebcab511325598891d22
CRs-Fixed: 688141
2017-03-14 16:10:16 -07:00
Tushnim Bhattacharyya
2173d3969e qcacmn: Map regulatory macros to legacy regulatory
Map regulatory macros used by policy manager to legacy APIs.

Change-Id: Ib1ab408094a02648ba9796619ab14d5800db1217
CRs-Fixed: 2009818
2017-03-14 16:10:15 -07:00
Sandeep Puligilla
388be5105b Release 5.1.1.14K
Release 5.1.1.14K

Change-Id: Ied572de63b9617c3b46faf7c3aa1eadd340896e4
CRs-Fixed: 688141
2017-03-14 13:46:30 -07:00
Dustin Brown
e59d03a76b qcacmn: Fix preallocation perf build compilation error
A compilation error occurs if MEMORY_DEBUG is not enabled. Fix this
issue by moving the definition of qdf_mem_prealloc_put and
qdf_mem_prealloc_get outside of the MEMORY_DEBUG region.

Change-Id: I17b4ae2cd65658e961bf7aa37518635bb94b5a95
CRs-Fixed: 2017447
2017-03-14 13:46:30 -07:00
Dustin Brown
747001c110 qcacmn: Remove CONFIG_CNSS ifdef for memory proallocatation
Memory preallocation is hidden behind two flags, CONFIG_CNSS and
CONFIG_WCNSS_MEM_PRE_ALLOC. Remove the check for CONFIG_CNSS, as the
presence of CONFIG_WCNSS_MEM_PRE_ALLOC is enough.

Change-Id: I233f6f31065c2d1da1ffb25a5013a17ac0b99246
CRs-Fixed: 2016844
2017-03-14 13:46:29 -07:00
Sandeep Puligilla
7cf5f320ee Release 5.1.1.14J
Release 5.1.1.14J

Change-Id: I07f52cda5d568917a87c45e9e9e1060d9ea945b6
CRs-Fixed: 688141
2017-03-14 12:15:16 -07:00
Arif Hussain
757f799c94 qcacmn: Add DFS dbgid
Add DFS dbgid WLAN_DFS_ID.

Change-Id: I945cd330c9d12865b944c5c0be14e083d7035d2a
CRs-Fixed: 2017481
2017-03-14 12:15:16 -07:00
Sandeep Puligilla
791f4e9684 Release 5.1.1.14I
Release 5.1.1.14I

Change-Id: I7130359922251411a6e1fde62079a2579a53158e
CRs-Fixed: 688141
2017-03-14 01:51:00 -07:00
Selvaraj, Sridhar
2a0301a389 qcacmn: Assign enum value to qca_wlan_vendor_config
Due to propagation misses, the enum values are not properly aligned
with the corresponding counterparts in supplicant.

Assign the enum values so as to avoid value mismatch.

Change-Id: I12be6c8a08026797cff507a69d01a4d1df2c44e0
CRs-Fixed: 2015066
2017-03-14 01:50:59 -07:00
Sandeep Puligilla
4952a4b326 Release 5.1.1.14H
Release 5.1.1.14H

Change-Id: I72bb65f011b75c5090e1794f6464b33fa8d4b6e8
CRs-Fixed: 688141
2017-03-14 00:13:26 -07:00
Selvaraj, Sridhar
7c6b935c64 qcacmn: Add support to use generic netlink sockets for userspace apps
Currently user space communication functions[cnss diag, PTT socket app]
in host driver uses netlink user sockets which is a security concern from
Linux Android SE policies.

Add support for to use netlink family cld80211 which uses generic
netlink sockets.

Change-Id: Ia833249c1f312415e38563d90214979cea3d9f0e
CRs-Fixed: 2015931
2017-03-14 00:13:26 -07:00
Sandeep Puligilla
ca0e169743 Release 5.1.1.14G
Release 5.1.1.14G

Change-Id: Icabcadd270e5cd844c121339575d2745fbe62e32
CRs-Fixed: 688141
2017-03-13 18:24:18 -07:00
Arif Hussain
c7cf021d17 qcacmn: Add support for delay_start_time in scheduled scan request
Add support to pass delay_start_time to firmware, this delay will be
used before starting the first scan cycle.

Change-Id: I7488fc8da4e22b170e52fb38c8a1d5b49dbf7e2f
CRs-Fixed: 2014142
2017-03-13 18:24:18 -07:00
Sandeep Puligilla
3388ba3720 Release 5.1.1.14F
Release 5.1.1.14F

Change-Id: I308630183ad8e6c8303e8b3266f66da1f429af4a
CRs-Fixed: 688141
2017-03-13 17:30:20 -07:00
Tushnim Bhattacharyya
9e780e3570 qcacmn: Rename utility function in policy manager component
Rename utility function is_scan_simultaneous_capable in policy
manager component from wma.

Change-Id: I8f9ad162c491dca7b32290fd224fce40d192fd23
CRs-Fixed: 2009818
2017-03-13 17:30:19 -07:00
Sandeep Puligilla
d00a36dfbe Release 5.1.1.14E
Release 5.1.1.14E

Change-Id: I8152f6492cbe14813c9fbd99f4c917c2d6121009
CRs-Fixed: 688141
2017-03-13 14:01:50 -07:00
Dhanashri Atre
1404917b6e qcacmn: Add support for hash based rx steering
This change includes:
- Adding the hooks to send LRO and hash configuration to the firmware
- Configuring the REO remap registers

Change-Id: I6d83e2a2365647f2c7a6440bd1d4b42fa7df7eff
CRs-Fixed: 1094775
2017-03-13 14:01:49 -07:00
Sandeep Puligilla
ebeac94625 Release 5.1.1.14D
Release 5.1.1.14D

Change-Id: Id0a71e936e3d06a77cfea85b4174a0ae62c969d3
CRs-Fixed: 688141
2017-03-13 13:22:11 -07:00
Tushnim Bhattacharyya
be42766846 qcacmn: Avoid new connection while HW mode change is issued
In the case of concurrency, when the session decrements, the
opportunistic timer is started. After a while, when the
opportunistic time is expired, and the hw mode change for SMM
is issued, and the same time new interface comes up, then the
new connection forms MCC with the existing connection instead
of forming DBS.
The change is to avoid the race condition to form MCC instead of
DBS.

Change-Id: I33ad8a76bdca2f17b09c0d2f072b46cba8d376f8
CRs-Fixed: 2009818
2017-03-13 13:22:11 -07:00
Sandeep Puligilla
147267935f Release 5.1.1.14C
Release 5.1.1.14C

Change-Id: I0c0f1aa03fffd428f996e3b899ebc62a7062e231
CRs-Fixed: 688141
2017-03-13 01:28:33 -07:00
Venkateswara Swamy Bandaru
5caa83a44e qcacmn: Fix review comments(trivial) given previously
review comments give for 1779700 are addressed.

Change-Id: I1fb5321c2dbcf3ef987ee460c772e668e344e1fc
CRs-Fixed: 2003389
2017-03-13 01:28:32 -07:00
Sandeep Puligilla
6c6bdee6dd Release 5.1.1.14B
Release 5.1.1.14B

Change-Id: I12119766cf3ed37c1e40e098acb71614a7061382
CRs-Fixed: 688141
2017-03-10 17:39:44 -08:00
Kris Muthusamy
5cb811a792 qcacmn: Remove WMI vdev ofdma_cplen command population
Remove WMI VDEV param population for HE ofdma_cplen
command. Instead use the same old short_gi command
for HE ofdma cplen.

Change-Id: Id303dab1c7ec47ebc31fc685ad0b50ddfdf4fcac
CRs-Fixed: 2009118
2017-03-10 17:39:43 -08:00
qcabuildsw
398376a135 Release 5.1.1.14A
Release 5.1.1.14A

Change-Id: I41f5997d85535e9c8de3a89f3920188024f87afb
CRs-Fixed: 688141
2017-03-10 09:43:56 -08:00
Vijay Pamidipati
8648df62f7 qcacmn: Add new get_tso_num_seg API with address range check
Add new get_tso_num_seg API with specific address range checks
needed for QCA8074 emulation platform.

Change-Id: I00dcfa51cd8bf8b6167c68a18a2c0a1aa7661679
CRs-Fixed: 2004658
2017-03-10 09:43:55 -08:00
qcabuildsw
1ecf17741e Release 5.1.1.14
Release 5.1.1.14

Change-Id: Icd66496007ab3008da3e0ef3bc0a22123a06e83d
CRs-Fixed: 688141
2017-03-10 04:27:25 -08:00
Abhishek Singh
f9297e523b qcacmn: Add changes in scan req to support P2P search scan
Add changes to support P2P search using new scan module.
To support p2p search added vdev id and Broadcast mac address
in scan req also enable flags depending on scan req type.

Change-Id: I597f9f353da1b8b129f0ee16cd8eb7b7bbad2625
CRs-Fixed: 1095299
2017-03-10 04:27:24 -08:00
qcabuildsw
d7caa4055e Release 5.1.1.13Z
Release 5.1.1.13Z

Change-Id: Ib5e9f305f82721989f1c1e411a00db4d1958470d
CRs-Fixed: 688141
2017-03-10 03:45:17 -08:00
Abhishek Singh
5a7b8301c8 qcacmn: Temp changes to support ROC with new scan module
Temp changes to support ROC with new scan module.
Need to be removed once P2P module is ready.

Change-Id: I50a924c233da6780de746f30aacf8dfb4cd89806
CRs-Fixed: 1095299
2017-03-10 03:45:15 -08:00
qcabuildsw
d04a49dedb Release 5.1.1.13Y
Release 5.1.1.13Y

Change-Id: Id923d1dbf8dd432648b59076f43e98ff93ff04b4
CRs-Fixed: 688141
2017-03-10 02:18:19 -08:00
Kapil Gupta
9b110f19d7 qcacmn: Add monitor time for PER based roam
Curretly FW considers minimum time of hysteresis for PER based roam as
constant value which is 25 seconds.

Add changes to make this time configurable using ini.

Change-Id: Iadb5f6a005b069e0d6190df34e382927425ec1af
CRs-Fixed: 2005849
2017-03-10 02:18:18 -08:00
Kapil Gupta
da9fbfea14 qcacmn: Set PER based roam value for config
Currently driver enables both Tx and Rx based PER based roam for
a single value in configuration.

Add changes to enable/disable Tx and Rx based monitoring
individually.

CRs-Fixed: 1114094
Change-Id: I52768029d3ccf007b7d9999e796de3366ac0ae35
2017-03-10 02:18:17 -08:00