Commit Graph

2444 Commits

Author SHA1 Message Date
Wu Gao
849fd2c759 qcacmn: Init and deinit P2P
This is a change to init and de-init P2P component in host common. Add
P2P component name in qdf trace.

Change-Id: I0a9d56afe851e3414bf860bed944c4e0fe661fbc
CRs-Fixed: 2006260
2017-03-29 18:12:47 -07:00
Soumya Bhat
169eff157d qcacmn: Add new WMI API to unregister event handler
Add new API to unregister event handler to allow
converged components to move to common eventid space.

Change-Id: I97f096ff3e36bc7923718498c535fb6c3c50e7e7
CRs-Fixed: 2023157
2017-03-29 16:06:01 -07:00
Pramod Simha
30e8135859 qcacmn: Changes for BA window update
Window size needs to be incremented by 1 since fw needs to
represent a value of 256 using just 8 bits.

Change-Id: I18cdb6fb928f28893dc0e1fd2fb574a12ca53972
CRs-Fixed: 2025197
2017-03-29 15:01:14 -07:00
Anish Nataraj
da0e2f41b7 qcacmn: Add SCAN WAR for hawkeye emulation
Emulation being clocked at lowest rate,
SCAN and serialization timers are modified to handle
these scenarios

Change-Id: Ia937930483dbcd0268fd2fe2d0393e49f09b215f
CRs-Fixed: 2009490
2017-03-29 09:09:43 -07:00
Anish Nataraj
6b38734120 qcacmn: Add multiradio support for SCAN
Modify first argument of wmi_unified_cmd_send to send
wmi_handle per pdev

Change-Id: Ifbb9cf207c34bcb21cb01492a00b107d62284218
2017-03-29 09:09:34 -07:00
Om Prakash Tripathi
89db19b5b7 qcacmn: Enable converged scan component
Update WMI layer to adopt to converged scan module
and enable converged scan component init/deinit

Change-Id: I4f9da95f90f737ac8bdcaa54f9eb4e154f37d3de
CRs-Fixed: 1095299
2017-03-29 09:09:24 -07:00
Tushnim Bhattacharyya
ac2819788b qcacmn: Add null check for legacy callback functions in policy manager
Add null check for callback functions registered from legacy modules
with policy manager.

Change-Id: I8a08870ea904f4e01a17f6a472bdd609df9c3c4c
CRs-Fixed: 2009818
2017-03-29 07:58:09 -07:00
Kiran Venkatappa
564d355833 qcacmn: Fix rmmod crash on 8074 soc emulation setup
Use correct dev_id in free_irq and add conditional check to avoid
access to registers not present on 8074 soc emulation.

Change-Id: I60055b8426b1941fca1b2f238d4e26b47ead54f9
2017-03-29 06:58:08 -07:00
Kai Chen
6eca1a62da qcacmn: Monitor mode configuration and processing
This change is for supporting monitor mode VAP.  All the monitor mode ring
is configured. The related monitor mode ring includes:
-monitor mode buffer ring
-monitor mode destination ring
-monitor mode status ring
-monitor mode link descriptor ring
The packet is not sent to monitor mode ring unless the monitor mode VAP is
configured. This release support Multiple VAP - AP/STA VAP plus Monitor
VAP configuration. The status ring is not used in this release. However,
the ring is tested and the ring is moving and there are TLV's in the ring.

Change-Id: I782ee0c3b998d8b3bbac79b5e7fdecdbff15fa93
CRs-Fixed: 2013049
2017-03-29 05:58:52 -07:00
c_cgodav
f151c38600 qcacmn: Changes to store stats in 64bit data type
Changed the data type to store stats to 64bit
from 32bit to support larger number for stats
counter

Change-Id: I25eca626623503663b6aa8436217413609e2a807
CRs-Fixed: 2024225
Acked-by: Chaithanya Garrepalli <cgarre@codeaurora.org>
2017-03-28 23:22:30 -07:00
Archana Ramachandran
0b69ec4998 qcacmn: Update legacy fixes in new policy manager component
Update legacy fixes in new policy manager component:
1. Avoid race condition to get pcl while stopping P2P GO
2. Add 160/80+80 MHz support for STA mode
3. Fix SBS is set to true by policy manager in SCC mode

Change-Id: I161ebe382915a6d9eefd6b4e3e2158ff14ad02c1
CRs-Fixed: 2009818
2017-03-28 22:42:30 -07:00
Archana Ramachandran
3dcc6ff112 qcacmn: Fix SME callback for policy manager component
Fix SME callback for policy manager component

Change-Id: If5c7256fb689e4cdb053aa5012deacac221261f9
CRs-Fixed: 2019994
2017-03-28 22:42:28 -07:00
Yun Park
81967e04f3 qcacmn: Check NULL before derefencing pPacket from htc_packet_dequeue
Add NULL check for pPacket returned from htc_packet_dequeue before
dereferencing it.

Change-Id: I30c4fb3a4bc6652396795305c3b8a23bba88922a
CRs-fixed: 2009829
2017-03-28 20:45:58 -07:00
Pamidipati, Vijay
110bf96741 qcacmn: Fix size mismatch between dma_map and dma_unmap in Tx path
Change calls to qdf_dma_map_nbytes_single to qdf_dma_map to match with
qdf_dma_unmap used in tx completion path. Also fix the dma_addr value that is
passed to Tx HW; we were incorrectly subracting pkt_offset instead of just
subtracting alignment bytes from dma_addr

Change-Id: I2d6f32bd44e02824a1a788e3624dcb3680f1b242
CRs-Fixed: 2004658
2017-03-28 20:06:33 -07:00
Venkateswara Swamy Bandaru
a8d98c8f5e qcacmn: Fix incorrect meta header issue in mesh tx path
After updating the skb with meta header cache flush is not happening. This
is sending incorrect meta data to firmware. Fixed this by doing cache flush
after meta header updation in skb.

Change-Id: I0952093e3080f5b8ec2233e6ab1edf4f48351603
CRs-Fixed: 2003389
2017-03-28 20:06:31 -07:00
Adil Saeed Musthafa
3318807269 qcacmn: Add shared print_ctrl_obj for qdf_trace_msg
At this point lot of Win code already uses QDF_TRACE macro. It will be
difficult to translate QDF_TRACE to qdf_trace_msg unless all the modules
(already using QDF_TRACE) make changes to use the qdf_print_ctrl
framework. Until that happens, we can have a shared object temporarily
so that wlan_log_to_user and hence user space logging of messages can be
in place

Change-Id: Ia149b86de8c2c36ed1c8508570b31db25f6bc41e
CRs-Fixed: 2018767
2017-03-28 13:50:42 -07:00
Venkata Sharath Chandra Manchala
87686d9a2f qcacmn: Fix for ampdu aggregation in host statistics
Ampdu count is populated in pdev
but zeroed before printing. Fix it to
be populated in peer and aggregated
in pdev before printing

Change-Id: I51d8f1968a87c0b9dbf53928acd1bbef45acc7ec
CRs-Fixed: 2025785
2017-03-28 11:03:06 -07:00
Sandeep Puligilla
c784f4e8dd Release 5.1.1.17I
Release 5.1.1.17I

Change-Id: I91e1a31b318e98407d7af5ba3682c348ad727dbf
CRs-Fixed: 688141
2017-03-27 08:31:31 -07:00
Wu Gao
0261c63a51 qcacmn: Support rx p2p public action frame
Support rx p2p public action frame and extend the roc timer for
special frames. Also add scan requtest paramters when trigger scan
request.

Change-Id: I295bdcf9c5ff78320cbe600a483d245d38d05c06
CRs-Fixed: 2024412
2017-03-27 08:31:30 -07:00
Sandeep Puligilla
6ddb08054f Release 5.1.1.17H
Release 5.1.1.17H

Change-Id: I7ae1d0fec051a543af32e5204bae7c7feb8dbf9a
CRs-Fixed: 688141
2017-03-27 06:07:53 -07:00
Baila, Shashikala Prabhu
af7fd90129 qcacmn: Re-factor processing of WMI_REG_CHAN_LIST_CC_EVENTID
Due to different layers, TLV processing is confined to WMI folder.
Therefore, move the TLV layer processing of WMI_REG_CHAN_LIST_EVENTID
to the wmi folder.

Change-Id: I7e7182997a9506035030f33d2f81a403fbe97a2f
CR-Fixed: 2019750
2017-03-27 06:07:47 -07:00
Amar Singhal
e407974144 qcacmn: Add the event handler for WMI_REG_CHAN_LIST_CC_EVENTID
Add event handler for WMI_REG_CHAN_LIST_CC_EVENTID.This handler
would be called from psoc_open object manager framework
initialization.

Change-Id: Icfd52fdb7056fdb77afdbd1be576d160719b7285
CRs-Fixed: 2002892
2017-03-27 06:07:36 -07:00
Sandeep Puligilla
a6f2836edb Release 5.1.1.17G
Release 5.1.1.17G

Change-Id: I27a817638ae81a6f43753100c6c277415f9406d2
CRs-Fixed: 688141
2017-03-27 01:06:34 -07:00
Mukul Sharma
5e31b638c3 qcacmn: Add get/update vdev pause bitmap support in PMO
Add get/update vdev pause bitmap support in PMO.

Change-Id: I25ff425f3e2199ee1d3940816bbe2c71c286eeb3
CRs-Fixed: 2016081
2017-03-27 01:06:34 -07:00
Sandeep Puligilla
88f6141550 Release 5.1.1.17F
Release 5.1.1.17F

Change-Id: I01e2a3c6b6fbf27103490d9d6201250b7ebf097b
CRs-Fixed: 688141
2017-03-27 00:22:34 -07:00
Anish Nataraj
089fd7c9da qcacmn: Implement Dynamic serialization rules framework
Add dynamic rules registration callbacks which needs to be registered
by each component during its initialization phase.
These callbacks are used for serialization component to determine
whether serialization request can or can't be honored.

Change-Id: I02000426527bc7611cb9bb1d0ee26f3c03d9f2d1
2017-03-27 00:22:33 -07:00
Sandeep Puligilla
a36843cd5b Release 5.1.1.17E
Release 5.1.1.17E

Change-Id: Id0bea7796b4ba8ed58f44196471991c45dd70880
CRs-Fixed: 688141
2017-03-25 06:38:24 -07:00
Tallapragada Kalyan
6f6166e36c qcacmn: Add support for intra-bss forwarding
pkts should be forwarded from one STA to another
STA belonging to same VAP from within the driver

Change-Id: I68eb0dd91f7ac54352b4882ffdb9d5d53d627db1

Conflicts:
	dp/wifi3.0/dp_rx.c
	dp/wifi3.0/dp_types.h

Conflicts:
	dp/wifi3.0/dp_rx.c

Change-Id: I68eb0dd91f7ac54352b4882ffdb9d5d53d627db1
2017-03-25 06:38:24 -07:00
Sandeep Puligilla
975bf37ab6 Release 5.1.1.17D
Release 5.1.1.17D

Change-Id: I212c5feaf17dbe2caaf22956e66494c05eb6d1ae
CRs-Fixed: 688141
2017-03-25 04:34:15 -07:00
Sathish Kumar
d5b7889c7c qcacmn: Add device ID for multinode support in Hawkeye emulation platform
Include Hawkeye emulation PCI device ids in hif_pci_enable_bus to
support PCI based emulation platform to support multiple nodes.

Change-Id: Iddc4c92a39713e27386c6f9cf64b5efd34b3ba44
CRs-Fixed: 1090092
2017-03-25 04:34:15 -07:00
Sandeep Puligilla
7f5460ce9a Release 5.1.1.17C
Release 5.1.1.17C

Change-Id: I82687c768e87131fc53e7d39312600322ae13d3f
CRs-Fixed: 688141
2017-03-25 00:37:18 -07:00
Krishna Kumaar Natarajan
526307e52a qcacmn: [11AX] Add vendor command for userspace to get HE capabilities
Add new vendor command for userspace to get HE capabilities from host driver.

Change-Id: Id01b8b97c932bdcfb6b86ce578feabae0d913ea9
CRs-Fixed: 1073481
2017-03-25 00:37:17 -07:00
Sandeep Puligilla
8952b58382 Release 5.1.1.17B
Release 5.1.1.17B

Change-Id: I43b9b5739320480ba3ed06712aaaa87848f0c2af
CRs-Fixed: 688141
2017-03-24 20:28:53 -07:00
Dustin Brown
f37bed7d2e qcacmn: Move communication with firmware to vdev_ready in PMO
Objmgr vdev_create event does not guarantee vdev creation in firmware.
Move any PMO logic that would normally go in the vdev_create event, but
needs to communicate with firmware, to a new vdev_ready event handler.

Change-Id: Ifbc2aed26a511733b31c816b9e6c4359d39910e6
CRs-Fixed: 2020696
2017-03-24 20:28:52 -07:00
Sandeep Puligilla
de25c8804f Release 5.1.1.17A
Release 5.1.1.17A

Change-Id: I5bb59dd7d0b189527a0137fc509bfb4003722c7a
CRs-Fixed: 688141
2017-03-24 19:01:11 -07:00
Manikandan Mohan
e2fa8b7861 qcacmn: Setup CDP interface for flushing RX queue
Refactor flush rx queue function call based on soc by adding an
interface to CDP funtion indirection table.

Change-Id: Iea201553f555a6c317cf37e586433aa493e51623
CRs-fixed: 2023399
2017-03-24 19:01:10 -07:00
Sandeep Puligilla
53e7fb8fa3 Release 5.1.1.17
Release 5.1.1.17

Change-Id: I63cc000193214a3bf169d036611dbab731cb110a
CRs-Fixed: 688141
2017-03-24 17:52:53 -07:00
Tushnim Bhattacharyya
e07402f577 qcacmn: Add a legacy callback to get the type of non connected vdev
Add a legacy callback to get the type of a non connected vdev
needed by policy manager.

Change-Id: Id3622d5c808c8e0f3b24b257b5899f925dc36b1f
CRs-Fixed: 2009818
2017-03-24 17:52:52 -07:00
Sandeep Puligilla
087062b4bb Release 5.1.1.16Z
Release 5.1.1.16Z

Change-Id: I053109cb7d39ff9da5c5794a5c3a9a5be3b4efa4
CRs-Fixed: 688141
2017-03-24 15:17:01 -07:00
Dustin Brown
6834d321d8 qcacmn: Fix IRQ disable for unit-test suspend on PCIe
pld_disable_irq is a no-op for PCI devices, causing unit-test resume
to fail in some cases. Define new IRQ disable/enable API's in HIF for
unit-test suspend/resume to use.

Change-Id: Ib3e6007025e791c867463c7d9f64512628c4ca0b
CRs-Fixed: 2023978
2017-03-24 15:16:59 -07:00
Sandeep Puligilla
c744104a4e Release 5.1.1.16Y
Release 5.1.1.16Y

Change-Id: I0172f7dffc098282ab2d4a2c6ccaae7993bedc6c
CRs-Fixed: 688141
2017-03-24 14:16:37 -07:00
Yun Park
6716dfffcd qcacmn: Add interface to WDI-stats and quota limit
Add structure changes for querying WDI-stats, register the callback
functions for IPA to query WDI stats and sets the quota limit

Change-Id: I05d9d50fad735fa0a57c4de23c81461f6e12b648
CRs-Fixed: 1095710
2017-03-24 14:16:37 -07:00
Yun Park
42096a2a7a qcacmn: Remove unnecessary NULL check before dereferenced
Pointer is dereferenced after it was positively checked for NULL.
Since the handle should already check for null when we call
cds_get_context, when we recieve the handle as an argument, we should
know that it is not null. So remove the unnecessary null check here.

Change-Id: I9e46c8151dec3ff9d36292d7d306f8bf3ae61b7d
CRs-Fixed: 1111505
2017-03-24 14:16:36 -07:00
Yun Park
2a31213ccf qcacmn: Change HDD IPA to comply with the refactored SKB CB
Refactor IPA private data stored in skb control block,
which size is reduced to 32 bits.
Owner id is changed to 1 bit, to flag if the owner is IPA.
Callback function pointer is removed by adding the callback into cdf.
Skb control block priv data is reduced to 16 bits by storing the index
to the Tx descriptor list added in HDD.

Change-Id: I0eec0636794da3b4729b8be825afe6a1275915a4
CRs-Fixed: 982728
2017-03-24 14:16:34 -07:00
Sandeep Puligilla
21ea04c7d0 Release 5.1.1.16X
Release 5.1.1.16X

Change-Id: If6958f9db032509b76fc005752eefc781b183099
CRs-Fixed: 688141
2017-03-24 11:09:16 -07:00
Ashok Ponnaiah
f8c3145190 qcacmn: move crypto init from umac to cmn code
move crypto init from umac to cmn code

Move wlan_crypto_main.h file from src folder to
include folder

Change #if to #ifdef

Change-Id: I363d4b2e7b2c2fc3291f1dd5ef8a6f3837a82df5
2017-03-24 11:09:15 -07:00
Ashok Ponnaiah
439d7b515d qcacmn: Fix setkey issue in sta mode
Fix ketkey issue in sta mode
When setting group key for station address passed was
address of the sta node. corrected it to pass bssid.

Change-Id: I2eb98ec07029283df5b40c0440438857ac66cd22
2017-03-24 11:09:14 -07:00
Ashok Ponnaiah
13e9f9bb19 qcacmn: Integrate crypto service and sw files
Integrate crypto service and crypto sw files from hostapd

Change-Id: I1e461269a603beffd9d05e304817418e5d0e4f1c
2017-03-24 11:09:12 -07:00
Ashok Ponnaiah
c365d5fbb5 qcacmn: Add hostapd crypto files
Add hostapd crypto files to be used in this
crypto service.

Change-Id: Id469ac0a9a1e9528723d61966f2312bf6149615f
2017-03-24 11:09:10 -07:00
Ashok Ponnaiah
89d288129e qcacmn: Add crypto service files
Add crypto service files

Change-Id: I6efa8e633ca414a819c0ede05c44e89aebde8ad3
2017-03-24 11:09:09 -07:00