Commit graph

2,214 commits

Author SHA1 Message Date
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
Naveen Rawat
89284c2621 qcacmn: Add new files for Wifi Positioning component
Add new files for Wifi Positioning component.

Change-Id: I62d808a5ce01ce7211e22df960dd337454e1f8b5
CRs-Fixed: 2003488
2017-03-08 19:30:51 -08:00
qcabuildsw
f393366fce Release 5.1.1.13P
Release 5.1.1.13P

Change-Id: I82ef7a659f6bdec195ebb109a9f994fdf8e9a49f
CRs-Fixed: 688141
2017-03-08 18:42:37 -08:00
Ravi Joshi
891d520f96 qcacmn: Refactor lithium datapath configuration items
Refactor lithium datapath configuration items. This is a placeholder
for now. The actual configuration should come from target or the
platform configuration.

Change-Id: I3a53110cf3d89efcb92da66b94b412af9f46cd62
CRs-Fixed: 2005582
2017-03-08 18:42:36 -08:00
qcabuildsw
f874df211e Release 5.1.1.13O
Release 5.1.1.13O

Change-Id: I9789e78a6fc23e7a1c73aaaebcdc8f064f83b3ab
CRs-Fixed: 688141
2017-03-08 17:22:11 -08:00
Mukul Sharma
409f04a345 qcacmn: Fix PMO deinit sequence
Fix PMO deinit sequence.

Change-Id: I2fc13e9ff52ea23c4e386942fb7edbea8166701c
CRs-Fixed: 2015427
2017-03-08 17:22:10 -08:00
qcabuildsw
a3c3fc96b1 Release 5.1.1.13N
Release 5.1.1.13N

Change-Id: I142876932189815f8b488efb0fda2d94dc284c51
CRs-Fixed: 688141
2017-03-08 15:06:28 -08:00
Vijay Pamidipati
d61006cb6b qcacmn: Fix the offset for HAL Tx Rate stats and
enable stats by default

Add a WAR to not use macros from Hardware Header file.
Will be removed once it is fixed in Hardware header file.

Change-Id: I73152645c89813dd65c23d9060e8b6fad1d88678
CRs-Fixed: 1112381
2017-03-08 15:06:27 -08:00
qcabuildsw
cf7206c469 Release 5.1.1.13M
Release 5.1.1.13M

Change-Id: Ib14bb7753ee398d71ad76c172d746837b7f4c14b
CRs-Fixed: 688141
2017-03-08 14:27:27 -08:00
Abhishek Singh
f94beaad36 qcacmn: scan convergence - add target if changes
Add target if related changes for scan module.

Change-Id: Icaf6a30790106fec30ba9dccc9036be079a8bc0d
CRs-Fixed: 1095299
2017-03-08 14:27:26 -08:00
Abhishek Singh
e5f3f0f10e qcacmn: Add 11ax related elements to common scan code
Add 11ax related elements, HECAP and HEOPS IE to common scan code.

Change-Id: Ic4413430e8183a1e41b53999746609f047caa374
CRs-Fixed: 1095299
2017-03-08 14:27:25 -08:00
qcabuildsw
d1442b3c0f Release 5.1.1.13L
Release 5.1.1.13L

Change-Id: I35367dbac69a27390fe192735546196f4d95bfc5
CRs-Fixed: 688141
2017-03-08 13:00:40 -08:00
Mukul Sharma
514201712a qcacmn: Add callback context for wake up / suspend ack callback's
Currently, Host initial wake up, suspend ack callback do not
register callback context with host-to-target communication layer.
As now PMO is handling now these callback, objmgr psoc is required
as callback context.

Hence as part of the fix, Add supports for callback context for
these API's.

Change-Id: I83d513764792b800a8540cdbe847aad552df0ab1
CRs-Fixed: 2015229
2017-03-08 13:00:40 -08:00
Mukul Sharma
698612c58b qcacmn: Add LPHB, User space suspend and resume tx/rx ops
Add LPHB, User space suspend and resume tx/rx ops.

Change-Id: I085a67ca824e0a46094ecca80a0e3093e50fd23a
CRs-Fixed: 2015223
2017-03-08 13:00:38 -08:00
Mukul Sharma
011a8aea10 qcacmn: Add LPHB, Suspend and Resume support in PMO
Add LPHB,Suspend and resume support in PMO.

Change-Id: Iaa4f9dab417d1dfe208eb39e16c7de0bae8b32f2
CRs-Fixed: 2015161
2017-03-08 13:00:37 -08:00
qcabuildsw
e64b0fd28e Release 5.1.1.13K
Release 5.1.1.13K

Change-Id: I94f84c4a9b3a0abd814456421316db352561bca5
CRs-Fixed: 688141
2017-03-08 08:24:50 -08:00
Venkateswara Swamy Bandaru
ec4f8e61c6 qcacmn: Add support for Mesh Rx filters
Added support to filter out received packets on mesh vap based on
rx filter setting.

Change-Id: Ibc541324d928a9d006531c8908f4792e0c7d854e
CRs-Fixed: 2003389
2017-03-08 08:24:49 -08:00
qcabuildsw
ebe927f713 Release 5.1.1.13J
Release 5.1.1.13J

Change-Id: Ibab7c637f0fffb7bd75df0a708903668253474fb
CRs-Fixed: 688141
2017-03-07 21:48:46 -08:00
Ishank Jain
2f81e9605e qcacmn: Increase size of MSDU EXT DESC
Size of MSDU Extension descriptor increased to accomodate HTT Meta data.

Change-Id: Iaaf87f2f184ec9f144501b9a508bf91d08cad791
CRs-Fixed: 1114769
2017-03-07 21:48:46 -08:00
qcabuildsw
db8db581cd Release 5.1.1.13I
Release 5.1.1.13I

Change-Id: If891f7494969086bac40be6fc556d42b182ae18e
CRs-Fixed: 688141
2017-03-07 10:49:47 -08:00
Sandeep Puligilla
d14a189194 qcacmn: Fix memory leaks in scan start and stop requests
-Fix memory leaks in scan start and stop request by freeing the
request if posting to scheduler fails.
-Populate scan event id based on target.

Change-Id: I169c4f3c141dc1af48954788dc74d235afd59c9e
CRs-Fixed: 1095299
2017-03-07 10:49:46 -08:00
Abhishek Singh
54c28ccd14 qcacmn: Add vdev in abort scan request
Abort scan req requires vdev pointer to remove the cmd from
serialization. Thus add the vdev pointer in the abort scan req.
If vdev id is invalid to abort all scan on a pdev use the first
vdev of the pdev.

Change-Id: I4462ceb24084e68dfc6b20f5b69d050c0daff2d1
CRs-Fixed: 1095299
2017-03-07 10:49:45 -08:00
Abhishek Singh
483d914ab7 qcacmn: Improve logging in scan done callback and BSS ageout
Improve logging in cfg80211 scan done callback, by decreasing the
log level to info from error and printing only the scan complete
events.
Also print a log when BSS is aged out.

Change-Id: If2734df1168bd354415305211b50f6c79bee2df0
CRs-Fixed: 1095299
2017-03-07 10:49:44 -08:00
qcabuildsw
d0439cf6a8 Release 5.1.1.13H
Release 5.1.1.13H

Change-Id: Id289f30655e1ee53f0a438ce5f596888118c1046
CRs-Fixed: 688141
2017-03-07 10:08:34 -08:00
Tushnim Bhattacharyya
31b0a1cdc8 qcacmn: initialization of policy manager component
Initialization related function definitions for policy manager component.

Change-Id: I60122bac847c1cfbe8dba6aea8bbeb6391cf500b
CRs-Fixed: 2009818
2017-03-07 09:02:04 -08:00
qcabuildsw
570dd85d56 Release 5.1.1.13G
Release 5.1.1.13G

Change-Id: Id31245387cd8abb23d9d2a87ef422ef2389a5d9e
CRs-Fixed: 688141
2017-03-06 04:20:07 -08:00
Tallapragada Kalyan
67ad342abe qcacmn: Add RX TLV debug prints in error path
print complete RX TLVs in human readable format
when ever we encounter an error in RX path

Change-Id: I054556fd599db75b94eadb7647f4cd589cbfb700
CRs-Fixed: 2003183
2017-03-06 04:20:06 -08:00
qcabuildsw
b81cd55cf9 Release 5.1.1.13F
Release 5.1.1.13F

Change-Id: I5818cf1ff8bcbd4060783955de45a2ed6d54741a
CRs-Fixed: 688141
2017-03-06 03:38:34 -08:00
Sen, Devendra
0edbd8cc08 qcacmn: Add host diag events for wlan disconnection state
Add new diag events for the wlan disconnection these
events will be used to inform the wlan disconnection scenario.

Change-Id: I6bdddb2d3f45deca2dc92a94e2abf59f46d7c38f
CRs-Fixed: 1108380
2017-03-06 03:38:33 -08:00