Commit Graph

2242 Commits

Author SHA1 Message Date
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
Kapil Gupta
5a4968e145 qcacmn: Changes for PER based roaming
DUT should be able to roam to a better access point if current
AP is having congestion/packet error.

This roam also devise a new selection logic for candidate
selection which considers channel congestion and AP capabilities.

Change-Id: I6cffbf0de059a218e971be32fbdc1a0092ceea9d
CRs-Fixed: 1090934
2017-03-10 02:18:15 -08:00
qcabuildsw
20de934e70 Release 5.1.1.13X
Release 5.1.1.13X

Change-Id: I40f25c7c7d4b1c3f91bc22ff7668b6b10c255784
CRs-Fixed: 688141
2017-03-09 16:18:58 -08:00
Naveen Rawat
b35a0ddc58 qcacmn: Include WIFI POS component ID in common files
This change defines WLAN_UMAC_COMP_WIFI_POS and WLAN_WIFI_POS_ID
to be used later by WIFI_POS component.

Change-Id: I70e35d45a9c7cbe72af91bb019e055699d61dd08
CRs-Fixed: 2003488
2017-03-09 16:18:57 -08:00
qcabuildsw
fc2d8879e4 Release 5.1.1.13W
Release 5.1.1.13W

Change-Id: Iaf4a0416236432c8f96fd0f87acbe3cbc9fe193a
CRs-Fixed: 688141
2017-03-09 15:33:03 -08:00
Ashish Kumar Dhanotiya
55e1d72428 qcacmn: Fix wlan log svc leaks
There is a memory leak within wlan logging thread.

To address this issue free the memory at appropriate places.

Change-Id: I41c7756d6547c0bfa783a48ebc31c9f1ef0df5db
CRs-Fixed: 2011525
2017-03-09 15:33:02 -08:00
qcabuildsw
18f952c1e3 Release 5.1.1.13V
Release 5.1.1.13V

Change-Id: I437c489b150f6a35b5f2b1d5200868bfea0692c0
CRs-Fixed: 688141
2017-03-09 11:02:49 -08:00
Dustin Brown
4191d4a285 qcacmn: Add APIs to configure Active BPF Mode
Active Mode Berkeley Packet Filter (Active BPF) is a new feature that
allows firmware to apply BPF even while the Apps processor is active.
There are 3 modes:
 * Disabled: do not apply BPF in active mode
 * Enabled: apply BPF to all packets in active mode
 * Adaptive: apply BPF up to some threshold to avoid performance impact

Add WMI APIs and related logic to support configuration of Active BPF
Mode.

Change-Id: I8c0778b3fa73d148422aa103b0fc0950433fec95
CRs-Fixed: 1111400
2017-03-09 11:02:48 -08:00
Ravi Joshi
fb39e00684 qcacmn: Add change to get rid of unused tx descriptor pools
Out of 3 tx descriptor pools, only the first one is being
used currently. Getting rid of unused tx descriptor pools.

Change-Id: I4efc0fd88ce7dae104c6ee49149f78eac89a2654
CRs-Fixed: 2005582
2017-03-09 10:10:32 -08:00
qcabuildsw
849692259b Release 5.1.1.13U
Release 5.1.1.13U

Change-Id: I61bef51613bf62dcd9e9d6eba4a3de093baed6e5
CRs-Fixed: 688141
2017-03-09 08:37:25 -08:00
Ishank Jain
bc2d91f8f3 qcacmn: Add TxRx Statistics for Lithium datapath
Statistics can be displayed by issuing following commands

iwpriv ath0 txrx_fw_stats 3 /*Rx Rate Info*/
iwpriv ath0 txrx_fw_stats 6 /*Tx Rate Info*/
iwpriv ath0 txrx_fw_stats 8 /* print Tx stats */
iwpriv ath0 txrx_fw_stats 27 /*print Rx stats */

To reset the stats:
iwpriv ath0 txrx_fw_stats 9 /* clear all stats */

Change-Id: If4be2549f43403e71ef092c23b1cf14b35a2e5d4
CRs-Fixed: 1114641
2017-03-09 17:37:42 +05:30
qcabuildsw
9637d2a02c Release 5.1.1.13T
Release 5.1.1.13T

Change-Id: Id9ffd73680481f2f692957ee3728ebb642e47157
CRs-Fixed: 688141
2017-03-09 01:59:18 -08:00
Ravi Joshi
86e9826f04 qcacmn: Fix interrupt handling after pdev deinit
The interrupt polling timer needs to be disabled when the host
device driver decides to unload. Not handling this would cause
in processing of pending interrupts and access data structures
that are being deinitialized causing system instability.

Change-Id: I505281f36f90bef6e1fbf21a5461260272f7c7cb
CRs-Fixed: 2013609
2017-03-09 01:59:17 -08:00
qcabuildsw
777affa2c3 Release 5.1.1.13S
Release 5.1.1.13S

Change-Id: I7c0c05d9874fa4528b932507585e09455ec8bef2
CRs-Fixed: 688141
2017-03-08 23:20:14 -08:00
Wu Gao
50df0b0f1f qcacmn: Align frameworks of P2P component to convergence policy
Remove include folder of P2P core. Move P2P structures about noa
and listen offload to public since wmi just can be used in target
interface layer. Add more logs.

Change-Id: If9a78d02c8c970daf09ea09be05a80dd4ed4c553
CRs-Fixed: 2006243
2017-03-08 23:20:13 -08:00
qcabuildsw
f228f15254 Release 5.1.1.13R
Release 5.1.1.13R

Change-Id: Ie9e92bb388195cad5aae7b40d571be089e21eb07
CRs-Fixed: 688141
2017-03-08 21:21:18 -08:00
Sathish Kumar
397071836e qcacmn: Fix incorrect buffer for channel info in multiple vdev restart cmd
Channel information TLV pointer is not updated to the data offset once
TLV header is set. Fix by moving the pointer ahead by TLV header size.

Change-Id: I3c8ad7b690153745d92d51e4d9d1e377b149e1d2
CRs-Fixed: 2000449
2017-03-08 21:21:16 -08:00
qcabuildsw
642958d900 Release 5.1.1.13Q
Release 5.1.1.13Q

Change-Id: I0df216e03e10e9c55544aa74aefdf2c84e34cdc3
CRs-Fixed: 688141
2017-03-08 19:30:52 -08:00