提交图

2643 次代码提交

作者 SHA1 备注 提交日期
Rajeev Kumar
c0f54cd23b qcacmn: Make client kick out event as wake-able event in SAP mode
In SAP mode if APPS is in power collapse state and an associated client
leaves the BSS then FW can only wake up host if WOW_CLIENT_KICKOUT_EVENT
is configured as wake-able event, hence make client kick out event as
wake-able event in SAP mode.

Change-Id: I8f81f8f84c655dbd5a4e058786a98e9d550aa018
CRs-Fixed: 2036656
2017-04-21 21:06:38 -07:00
Sandeep Puligilla
c4e05fd98d qcacmn: scan get results failed during connect
Scan get results failed to fetch the filtered
results during connection.

Updated the sorting logic in scan database
management.

Change-Id: I81734f1f5b3a48ca65ea5b8ce717b4bec7265b27
CRs-Fixed: 2036864
2017-04-21 20:25:43 -07:00
Orhan K AKYILDIZ
bcc3c4e149 qcacmn: Add paddr support for 32-bit host arch
Add support for 32-bit host architecture where dma_addr_t
is 32 bits and  bus addresses are of 64 bits on MAC and IPA.

Change-Id: Icd976b42391e83a7ad15081e1feb0462b93c682f
CRs-Fixed: 2014038
2017-04-21 18:48:13 -07:00
Mohit Khanna
79db2c47aa qcacmn: Debug enhancements for rx_buffer history
Add the following:
- iwpriv support (dumpStats 10) to dump the counters

Change-Id: Ie349e1cc8794e1a6cc5345a24c37b35dca074a24
CRs-Fixed: 2001331
2017-04-21 18:48:12 -07:00
Ravi Joshi
0c547bbd85 qcacmn: Export API to add radiotap header
Exporting a new API for updating radiotap header.

Change-Id: I1f942aa52ef737f68bb0578019f67e107a425fb0
CRs-Fixed: 1113187
2017-04-21 18:06:33 -07:00
Arif Hussain
9fba31ea0b qcacmn: Register DFS component API in target_if
Register DFS component API in target_if and add API's to
handle radar found and cac found events from firmware.

Change-Id: I3f3d2ff5401e5c969a3df24f51e8aa57f4e17017
CRs-Fixed: 2017481
2017-04-21 02:25:09 -07:00
Ashish Kumar Dhanotiya
485d594ea1 qcacmn: Race condition while using pkt log buffer
There can be a race condition if two different threads use the
pkt log buffer at the same time. This issue can lead to Use-After-Free
of the packet log buffer.

To address this issue, protect the pktlog buffer access using spinlock.

Change-Id: I75d9375c9d85ac26dab1c06658d3f0fdbeb62935
CRs-Fixed: 2034486
2017-04-21 00:25:09 -07:00
Arif Hussain
8d88af5f32 qcacmn: Random channel selection public API
Add random channel selection public API.

Change-Id: I5502116fab17716a9d8f2f41ddd67bcbcdd1328c
CRs-Fixed: 2017481
2017-04-20 20:20:48 -07:00
Arif Hussain
c64510ba8b qcacmn: Process DFS events from firmware
Add support to process DFS events from firmware.

Change-Id: I38bea404fdb50d80430c8b14a2a4f6a729d3557e
CRs-Fixed: 2017481
2017-04-20 20:20:46 -07:00
Abhijit Pradhan
b973986b38 qcacmn: dfs memory leak fixed
dfs_detach function was called from ol/lmac layer during ath_detach.
To fix the memory leak dfs_detach function called from dfs pdev
destroy function.

Change-Id: I41602c17ac9ab0b6eb1e9fbe9abe764d00ed0e93
CRs-Fixed: 2001106
2017-04-20 17:50:57 -07:00
Kabilan Kannan
021a75a82b qcacmn: Fix TDLS UMAC memory init issues
scheduler message structure needs to be initialised to zero
before populating it contents.
Init scheduler msg structure to zero during the structure
declaration.

Change-Id: Ib6281b7d3b0a103be5adf65d12c20a28f48065f5
CRs-Fixed: 2034220
2017-04-20 16:26:00 -07:00
Amar Singhal
c73c207412 qcacmn: Move public data structures
Move remaining regulatory public data structures to
reg_services_public_struct.h

Change-Id: I658d434c46989f90b527f7d6a8e5a4da032628f7
CRs-Fixed: 2002892
2017-04-20 15:45:06 -07:00
Srinivas Pitla
f7aec735b4 qcacmn: Add param to ol params to dump objects of object manager
New iwpriv command has added to dump pending/active objects of
object manager

Change-Id: Ifff3bbb2dd2e168243a263a138c294fb1ed679fd
CRs-Fixed: 2022458
2017-04-20 10:51:27 -07:00
Karunakar Dasineni
ca792543cf qcacmn: Enable WDS learning only when configured
Add support to make WDS source port learning in lithium datapath
to be configurable.

Change-Id: I63eb64d6f46560a31f8e40a806d05d1dceddd784
CRs-Fixed: 2004658
2017-04-20 10:51:25 -07:00
Venkateswara Swamy Bandaru
7e19ec5b53 qcacmn: Fix mesh rate extraction from meta header
Accoring to new meta header format mcs, nss, preamble_type and retries
information will present in rate_info field. Changes done to extract
these fields and update ext2 header to firmware.

Change-Id: I56926f39f2ba17446418c7eae0fd382247430df8
CRs-Fixed: 2003389
2017-04-20 08:18:12 -07:00
Adil Saeed Musthafa
469053dcb6 qcacmn: Reducing function name to fix unresolved symbols
There is a limitation in function name length for exported
symbols, because of this we are seeing unresolved symbols.

CRs-Fixed: 2016643.
Change-Id: Idffc3a9d958c8042cf32ba3b07ca3020c31db6be
2017-04-20 05:20:00 -07:00
Arif Hussain
91ac5ea418 qcacmn: Add random channel selection algorithm
Add random channel selection algorithm in DFS component.

Change-Id: Ic2d3ee3c6156213564a3eb354dfffa1bbc7ff01d
CRs-Fixed: 2017481
2017-04-20 03:16:32 -07:00
Arif Hussain
63acfd2b2e qcacmn: Fix frequency offset signedness in channel marking logic
Change frequency offset to signed, as offset is negative if
radar found in lower frequency compared to center frequency.

Change-Id: Ic33411e5638684c4aacbb424eddc19827ef5e60e
CRs-Fixed: 2017481
2017-04-20 00:04:57 -07:00
Kabilan Kannan
7e189c3436 qcacmn: Add TDLS off channel changes for TDLS UMAC
Add TDLS offchannel and related osif changes in TDLS
UMAC component.

Change-Id: Ic562709eb8a6361322860c4f7333633a7894af99
CRs-Fixed: 2034220
2017-04-20 00:04:56 -07:00
Kabilan Kannan
e81cb8eac8 qcacmn: Add os_if changes for tdls management
Add os interface changes to send tdls management
frames to tdls component

Change-Id: Ib675e4b089a88ad618f918d9992a777c7221b34c
CRs-Fixed: 2034220
2017-04-20 00:04:54 -07:00
Kabilan Kannan
8398292c6d qcacmn: Add scan related events for TDLS component
Add Scan start and complete events for TDLS component

Change-Id: Ibb452d2823115ec16a7c6e9f88c9ad6cac48930c
CRs-Fixed: 2034220
2017-04-20 00:04:53 -07:00
Kabilan Kannan
b197624f96 qcacmn: Populate tdls scan interface member
Add tdls scan interface changes to notify
tdls status to scan

Change-Id: Ie9dc9ffda41414238ba6ad47704d42b5a0aaa53d
CRs-Fixed: 2034220
2017-04-20 00:04:52 -07:00
Kabilan Kannan
791f7aa23b qcacmn: Add TDLS ucfg changes for sta connect/disconnect
Add TDLS ucfg interface changes for sta connect, sta
disconnect and tx/rx data sample

Change-Id: Ic57a91b70fe462ee031dc0cf54112601aae0dfc4
CRs-Fixed: 2034220
2017-04-20 00:04:50 -07:00
Kabilan Kannan
3e4752133a qcacmn: Add sta connect/disconnect in TDLS UMAC component
Add sta connection and disconnection event related
methods into TDLS component

Change-Id: I1309792cf68df87b1ecf5a7686ac645ac21d1c7c
CRs-Fixed: 2034220
2017-04-20 00:04:49 -07:00
Kabilan Kannan
97bc1c725a qcacmn: Add TDLS management frames
Add TDLS management frames implementaion in TDLS
umac component

Change-Id: I46943f7df119894e0d54df2c6edb08ed4546a389
CRs-Fixed: 2034220
2017-04-20 00:04:48 -07:00
Kabilan Kannan
ee01ebfc20 qcacmn: Add connection tracker to TDLS UMAC
Add connection tracker support in TDLS UMAC
component

Change-Id: I725b579ab9f393d5247651bfe53df6b4a3f53649
CRs-Fixed: 2034220
2017-04-20 00:04:47 -07:00
Kabilan Kannan
a477d5e3bc qcacmn: Add tdls timers function in tdls component
Add tdls timers implemenation for discovery, idle and
connection tracker.

Change-Id: I7ccd5ec6c1d396a0fd25e6f28a258986a646c800
CRs-Fixed: 2034220
2017-04-20 00:04:46 -07:00
Frank Liu
cda0961ecc qcacmn: Enable TDLS component
Enable TDLS module in dispatcher

Change-Id: I4b1fe09278115a90eb6b19ed6ce8fef57143a910
CRs-Fixed: 2011330
2017-04-20 00:04:44 -07:00
Frank Liu
085a40c25d qcacmn: TDLS component: os_if layer
Implement TDLS related cfg80211 interface functions

Change-Id: I3ef38f670902ff486cad7c55473ce5805473aa17
CRs-Fixed: 2011330
2017-04-20 00:04:43 -07:00
Frank Liu
f0f46ac045 qcacmn: TDLS component: handle TDLS firmware event
Handle TDLS related firmware event: tear down, discovery,
disconnect, and send correspond indication to upper layer

Change-Id: I6cff95904d06408f9458132ab5ce69f1a129e993
CRs-Fixed: 2011330
2017-04-20 00:04:41 -07:00
Frank Liu
f2768cc42d qcacmn: TDLS component: core tdls_oper operations
Implement TDLS oper fucntions

Change-Id: Ibdd1fa30ef5b72fbbe8316f88d8c4b9deab1a5a7
CRs-Fixed: 2011330
2017-04-20 00:04:39 -07:00
Frank Liu
9dd3c3e9cb qcacmn: TDLS component: south interface
Add lmac_if layer changes for TDLS

Change-Id: Ic842857ce7ebc83d2a22a8a8e23c60df1c3dbfc8
CRs-Fixed: 2011330
2017-04-20 00:04:38 -07:00
Frank Liu
ab9f0d1b3f qcacmn: WMI changes for TDLS component
Update TDLS related wmi change

Change-Id: I3fe2745ff7fa910a8ffb6fa95256d8a10a7237a3
CRs-Fixed: 2011330
2017-04-20 00:04:37 -07:00
Frank Liu
d4b12dbff6 qcacmn: TDLS component: core peer operations
TDLS peer operations: add, delete and update TDLS peer

Change-Id: I7dba1a4b2b3b8597935db811da68ee5ba630bf4d
CRs-Fixed: 2011330
2017-04-20 00:04:35 -07:00
Ravi Joshi
a2e796c403 qcacmn: Add radiotap header for supporting monitor mode
Adding radiotap header to support light and full monitor mode.

Change-Id: I215d24434ef0987eff3d141e022356f9378a0f47
CRs-Fixed: 1113187
2017-04-19 14:40:38 -07:00
Arif Hussain
1b9dcf5a12 qcacmn: Add support to process radar found indication
Add support to process radar found indication,
find and update radar affected channels to nol.

Change-Id: Icb2d601f422e43e9a98840dd22325a571fd92f27
CRs-Fixed: 2017481
2017-04-19 01:13:30 -07:00
Zhang Qian
7fc2e862cd qcacmn: Add new vendor cmd for LL stats
Vendor command QCA_NL80211_VENDOR_SUBCMD_LL_STATS_EXT(127) and
vendor attributes for ps change and TX failure indication are
introduced by this change.

Change-Id: Iaa1c14e5cdc5a7d04beebbff1149daf871f9ef5a
CRs-fixed: 1048388
2017-04-18 19:58:45 -07:00
Pramod Simha
7f7b4aa23d qcacmn: Changing DBS query method from DP
Changing the method DP queries WMA regarding
DBS capability. Now his call will be made through
policy manager.

Change-Id: I269537761a7acfa7e20a00c0ee7fc26ec1d17106
CRs-Fixed: 2025317
2017-04-18 17:15:21 -07:00
Venkata Sharath Chandra Manchala
d817164e95 qcacmn: Remove debug message in Tx completion process
Remove debug message to print pdev id in
dp_tx_comp_process_desc to avoid flooding of
print messages on serial console

Change-Id: I141b59a9e477aec25f3d9f8a424397d382903d58
CRs-Fixed: 2017426
2017-04-18 17:15:04 -07:00
Soumya Bhat
6c556c36e5 qcacmn: Refcnt debug support
Add support to display string instead of dbg id incase
of pending references

Change-Id: I96da6f944557692f9bd7bd75f22d029077b69c32
CRs-Fixed: 2022458
2017-04-18 17:14:26 -07:00
Tallapragada
aa3bfccdea qcacmn: Add support for Native wifi for Hawkeye
handle packets received in native wifi mode.

Change-Id: I146f748923e2d70fa0634f260d73fcacd213983d
2017-04-18 17:14:04 -07:00
Poddar, Siddarth
55d6da0a41 qcacmn: Fix mem leak of datapath tx ring
when allocation for destination ring fails in ce_init function,
Clean up the complete datapath tx ring.

Change-Id: I7e46396f7a1903207768c79cd07e2dbda1e5a7d2
CRs-Fixed: 2028641
2017-04-18 17:13:59 -07:00
Rajeev Kumar
928e3ecad0 qcacmn: Add provision for flush callback in scheduler message
Add provision for flush callback in scheduler message such that
during driver unload scheduler can invoke the flush callback and
components can release the common object ref count which is taken
before posting the message.

Change-Id: I28490e18247239af27feef3a4b53e5080ab012fc
CRs-Fixed: 2034772
2017-04-18 17:13:14 -07:00
Rajeev Kumar
afc63bc8af qcacmn: Initialize scheduler_msg on stack before posting message
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.

Change-Id: Ib3183b2c65eb9affd6610f4572c751c39a25fff7
CRs-Fixed: 2034772
2017-04-17 23:18:18 -07:00
Zhang Qian
b83f9e70ea qcacmn: Add attribute for propagation absolute delay
qcacld-2.0 to qcacld-3.0 propagation

A new 32-bit NL80211 vendor attribute is added to configure propagation
absolute delay for 2G/5G band (unit in us).

Change-Id: I2aecaa8b007c67fa2843ad3922857f923f9b8294
CRs-Fixed: 2034282
2017-04-17 22:07:49 -07:00
Krunal Soni
c8039e3fa4 qcacmn: Validate existence of sch thread before posting a message
If scheduler thread thread doesn't exist or has been shutdown then
don't post a message otherwise it will cause a memory leak.

validate the existence of scheduler thread before posting a message.

Change-Id: Id0e75bdebc7db8c00d9efb8a6e8678491b21a20f
CRs-Fixed: 2031651
2017-04-17 20:47:26 -07:00
Arif Hussain
948ddd56e7 qcacmn: DFS component target interface support
Add support to handle WMI commands and events related
to DFS component.

Change-Id: Ie21cd8cfbe35dfea31ca608d47a5dfe937d753f4
CRs-Fixed: 2017481
2017-04-17 19:26:43 -07:00
Arif Hussain
aa1b2abfb3 qcacmn: Add support to extract dfs events
Add support to extract dfs events.

Change-Id: I3e83d05f6e4eefb0784b54cd908ec84beb04294c
CRs-Fixed: 2017481
2017-04-17 18:47:24 -07:00
Dhanashri Atre
0da3122669 qcacmn: Lithium LRO Support in the Data Path
Add support to extract LRO information provided by
the hardware and utilize the support provided by QDF to
perform LRO.

Change-Id: I00a26573a450e9c32586b3d5fb656dbfe802cfac
CRs-Fixed: 1107169
2017-04-17 14:52:18 -07:00
Venkata Sharath Chandra Manchala
65bf2306f0 qcacmn: Fix memory leak for soc handle
Free the allocated memory for soc handle
in dp_soc_detach_wifi3

Change-Id: I555b9a7493338d064f2472704e24a5625800d081
CRs-Fixed: 2017582
2017-04-17 14:11:58 -07:00