Commit gráf

1220 Commit-ok

Szerző SHA1 Üzenet Dátum
Nirav Shah
cb11756463 qcacmn: Add support to enable/disable packetlog using iwpriv
Add support to enable/disable packetlog using
iwpriv wlan0 pktlog command.

CRs-Fixed: 970647
Change-Id: I4f7c64332e971591b7a08020a412e6f3979b718d
2016-08-19 20:20:38 -07:00
qcabuildsw
3d673dc905 Release 5.1.0.22R
Release 5.1.0.22R

Change-Id: Id9f1e6c096493db736d4250b6e330547074329c9
CRs-Fixed: 688141
2016-08-19 18:52:55 -07:00
Himanshu Agarwal
810141a664 qcacmn: Add changes for coexistence of WIN/ MCL TLV implementation
Add changes to allow coexistence of WIN/ MCL TLV implementation
through use of CONFIG_MCL flag and change of MACRO names.

Change-Id: I6868c288a43fd3afb19c84b8a9d4ef0dfbee5c94
Acked-by: prgandhi@qti.qualcomm.com
CRs-Fixed: 1008872
2016-08-19 18:52:55 -07:00
Govind Singh
77aa5857fa qcacmn: Add WIN compilation fixes for TLV
Compilation fixes made to compile TLV on WIN code base.
Also, Previous gerrits used WMI_NON_TLV_SUPPORT for all
compilation fixes of WIN vs MCL, using CONFIG_MCL and
CONFIG_WIN wherever it is found appropriate to keep it
consistent with other modules.

Change-Id: I1c129d736746556210c46f3122e2739d233e1d6b
Acked-by: prgandhi@qti.qualcomm.com
CRs-Fixed: 1008872
2016-08-19 18:52:53 -07:00
qcabuildsw
8387c37f77 Release 5.1.0.22Q
Release 5.1.0.22Q

Change-Id: I4864a150da61154f8a4585f21bd78f9f9cab96b1
CRs-Fixed: 688141
2016-08-19 18:34:06 -07:00
Himanshu Agarwal
81ce26de0d qcacmn: Add API to find IPV6 mcast packet
Propagation from qcacld-2.0 to qcacmn.

Add API to find IPV6 mcast packet to use it in wma_wow_wake_up_stats
func. This is required to know if there is a IPV6 mcast packet embedded
in a link layer unicast packet.

Change-Id: Ic2af69032262237b8751019817ae181913346818
CRs-Fixed: 1049254
2016-08-19 18:34:06 -07:00
Himanshu Agarwal
bf1a7c223b qcacmn: Add API to find IPV4 mcast packet
Propagation from qcacld-2.0 to qcacmn.

Add API to find IPV4 mcast packet to use it in wma_wow_wake_up_stats
func. This is required to know if there is a IPV4 mcast packet embedded
in a link layer unicast packet.

Change-Id: Iceaf1226edbf909ca3881e049c33f7d121860ef2
CRs-fixed: 1049254
2016-08-19 18:34:05 -07:00
qcabuildsw
d9a81d80e0 Release 5.1.0.22P
Release 5.1.0.22P

Change-Id: I781df97484b67ecb7c88abb30468cd8b87b03f2b
CRs-Fixed: 688141
2016-08-19 13:49:33 -07:00
Anurag Chouhan
cfeb14de34 qcacmn: CL 1605795 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

WMI pdev POWER_STATS request and report message defs
pktlog flag in HTT_T2H RX_IN_ORD_PADDR_IND
New release of Hawkeye HW header files

Change-Id: If2f122a6879b60052849b7efb738e7fc1a4c23f3
CRs-fixed: 865207
2016-08-18 13:51:50 +05:30
Anurag Chouhan
18e43ddc1b qcacmn: CL 1598475 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Adding defined weightage values for WMI_PDEV_SET_PCL_CMDID
Add filter configure interface in fwcommon for sniffer mode

Change-Id: Ic822863cbbaffe7303dedf7f6c16ba92c2d0a5d3
CRs-fixed: 865207
2016-08-18 13:45:15 +05:30
Vishwajith Upendra
7e2b5b0ab5 Release 5.1.0.22O
Release 5.1.0.22O

Change-Id: Ieb7ae40ccdfd9f0dddbea8db0855a09fe1e6ee27
CRs-Fixed: 688141
2016-08-17 18:08:02 -07:00
Himanshu Agarwal
ab4d9e94be qcacmn: Dump more WoW wakeup packet info
Propagation from qcacld-2.0 to qcacmn.

Dump some more info for WOW wakeup packet:
   1) ether_type
   2) proto_type in case of IPV4 and IPV6 packets
   3) src port and dst port in case of TCP/UDP

Change-Id: I1578aa5322af50f0ae43248c48a2f754ea081970
CRs-Fixed: 1043939
2016-08-17 18:04:02 -07:00
Himanshu Agarwal
fcd64e9e64 qcacmn: Add APIs to get packet type and subtype
Propagation from qcacld-2.0 to qcacmn.

Add APIs to get DHCP, EAPOL, ARP, ICMP, ICMPV6, TCP
and UDP packets type and subtype from the netbuf.

Change-Id: I8837ad1b976744eeb0e7f0a836eded3a5d34124b
CRs-Fixed: 1019037
2016-08-17 18:03:48 -07:00
Nirav Shah
9c3b3fe251 qcacmn: Parse tx packets only once in tx datapath
Classify tx packets at one place and store packet type in
skb cb structure to avoid multiple check to determine
packet type at various layers.

Change-Id: If39fb1c9741bb213c7f22e0dfe7f662a256e637c
CRs-Fixed: 1022454
2016-08-17 18:03:31 -07:00
Yuanyuan Liu
595dc58d77 qcacmn: Update pld_soc_info structure
Update pld_soc_info structure with more Hardware information.

Change-Id: Ie6dcd8bc281e2a4a11fc295870b3e4ec67756549
CRs-Fixed: 1046753
2016-08-17 12:05:38 -07:00
Prakash Dhavali
92a19bbb3c Release 5.1.0.22N
Release 5.1.0.22N

Change-Id: I3cc401c96fd2272e8861be9d2dc76ec7afc2288a
CRs-Fixed: 688141
2016-08-17 12:05:38 -07:00
Mohit Khanna
0f6194e940 qcacmn: Add USB bus support (DP)
Add Host-Target communication specific changes for USB bus support

Change-Id: Iabb6f5bbfa4d0c2a8026262d2ecb11cdc0533742
CRs-Fixed: 1023663
2016-08-17 12:05:38 -07:00
Mohit Khanna
d8a881864c qcacmn: Add USB bus support (QDF)
Add module specific changes for USB bus support.

Change-Id: Idb9fe1232d451e4f88a001fbd6591ba13b0c859a
CRs-Fixed: 1023663
2016-08-17 12:05:38 -07:00
Mohit Khanna
440c5295c2 qcacmn: Add USB bus support (HIF Common)
Add module specific changes for USB bus support.

Change-Id: I98ca380567c279d3206aa4afc7a28c2feeb65993
CRs-Fixed: 1023663
2016-08-17 12:05:38 -07:00
Mohit Khanna
1957ba9385 qcacmn: Add USB bus support (HIF Dispatcher)
Add module specific changes for USB bus support.

Change-Id: If1f7d16a733d5d98cba982e3a5e7936356c57d8a
CRs-Fixed: 1023663
2016-08-17 12:05:29 -07:00
Vishwajith Upendra
91c8529516 Release 5.1.0.22M
Release 5.1.0.22M

Change-Id: I90d753994fdc2c650a65d953a9562abd2266b7ef
CRs-Fixed: 688141
2016-08-13 14:49:04 -07:00
Houston Hoffman
8a3a9a4b06 qcacmn: Integrate tasklet flushing logic into snoc
Need to ensure that that the wakeup message gets processed
deterministically (before the return of hif_bus_suspend,
or after the message has woken up the apps.)

In another change, the driver will check for the wakeup message
after hif_bus_suspend completes and reject the suspend if it
has allready recieve the wakeup message. In conjunction with
this change the host will not be able to accidentally process
and discard the wakeup message.

Change-Id: I6d487a00dcfd40a665d3be03697f3a7cfc815203
CRs-Fixed: 1051968
2016-08-13 14:49:04 -07:00
Houston Hoffman
6f60b107c5 qcacmn: Move tasklet flush up to ce
Wish to reuse this logic for snoc

Change-Id: Ibd678feec9fe0ee583d32d055d4cb4a4885991ab
CRs-Fixed: 1051968
2016-08-13 14:49:04 -07:00
Houston Hoffman
cb9bc6333d qcacmn: Configure the wakeup sources for the snoc bus
Need to register the device as a wakeup source and configure
the corect interrupt as a wakeup source for the snoc bus.

Change-Id: I2afcd69a8308183e141d7560a225a3b48d0e9f55
CRs-Fixed: 1051968
2016-08-13 14:49:04 -07:00
Houston Hoffman
bee3aab26f qcacmn: Remove list traversal from qdf_mem_free in successfull case
Make O(1) checks for corruption and list state to rule out
suspicion of double free and memory corruption.  Only traverse
the memory tracking list to differentiate between memory corruption
and freeing an untracked pointer.

Since we check for corruption before traversing the list, the qdf_mem_free
api may crash with a use after free signature before printing out the
double free error message.

Change-Id: I0862822a65634dc68d8146f44f0474b672b6fc0a
CRs-Fixed: 1049430
2016-08-13 14:49:04 -07:00
Rajeev Kumar
296c019780 qcacmn: Handle initial wake up message from target
Handle initial wake up message from target .

Change-Id: Ibd3e916e288090e1318ebbd75468577b25962d05
CRs-Fixed: 1051684
2016-08-13 14:48:57 -07:00
Vishwajith Upendra
bb6bd1132e Release 5.1.0.22L
Release 5.1.0.22L

Change-Id: I04c0e0fdbc269f64fa4c26aae86e87703d67aa7c
CRs-Fixed: 688141
2016-08-08 15:06:45 -07:00
Yuanyuan Liu
fd594c2455 qcacmn: HIF: Use PLD APIs
PLD is a interface between CLD and CNSS/ICNSS. It hides
CNSS/ICNSS APIs from CLD and provides a set of common APIs.
CLD modules should use these PLD APIs instead of calling
CNSS/ICNSS platform APIs.
Replace all CNSS/ICNSS APIs with PLD APIs in HIF.

CRs-Fixed: 1010692
Change-Id: I4018a4b7e08179f9c65a19fde61727228e876762
2016-08-08 15:05:33 -07:00
Arun Khandavalli
75ea891eca qcacmn: Add bus_id memeber to qdf_device
With Load once unload never architecture, the cds modules
will be opened/closed several times. As part of configuration
of modules bus id needs to passed. So, add a new member to save
the bus_id passed by the platform driver during the driver
intialization,

Change-Id: Ic580e03076e5e8c557dde1879e223606a14f79b8
CRs-Fixed: 1049224
2016-08-04 10:34:22 +05:30
Vishwajith Upendra
3af3435741 Release 5.1.0.22K
Release 5.1.0.22K

Change-Id: I4f63010b7ff55f292eee656389174337869a3408
CRs-Fixed: 688141
2016-08-03 18:12:59 -07:00
Houston Hoffman
9538fefe71 qcacmn: Initialize ce ring base address high registers for adrastea
Because the register values were not defined in the target defs table,
The values were defaulting to 0 or missing. The code to write to these
registers checks if they exist before trying to write to them.  Without
these registers defined, the base addresses of the dma rings would be
truncated to 32 bits.

Change-Id: Iabb49df50c2452522b6da30154e4d7d7221e22ac
CRs-Fixed: 1049424
2016-08-03 18:12:58 -07:00
Houston Hoffman
faf8ab5983 qcacmn: Fix Q_TARGET_ACCESS in hif_fastpath_resume
Q_TARGET_ACCESS return value check was incorrect.
Fixed to match usage in the rest of the driver.

Change-Id: I73631536c9670edcb5014f3e850985dfc6fc4d16
CRs-Fixed: 1046067
2016-08-03 18:12:57 -07:00
Vishwajith Upendra
d2d23bdd4b Release 5.1.0.22J
Release 5.1.0.22J

Change-Id: I76a30293382d046c6298a650c75e99d8cec7f116
CRs-Fixed: 688141
2016-08-03 14:25:49 -07:00
Houston Hoffman
e421a3c06d qcacmn: Compilation fix in DP layer caused due to transport layer
define QCA_OL_11AC_FAST_PATH is changed to WLAN_FEATURE_FASTPATH

Change-Id: I9f6cbddf4a4975d940c822fa90d24350d83f7a96
Acked-by:  Venkateswara Swamy Bandaru <vbandaru@codeaurora.org>
CRs-Fixed: 1040617
2016-08-03 14:25:49 -07:00
Houston Hoffman
6296c3e8f0 qcacmn: Compilation fixes for AP135 platform
1. AP135 platform uses 3.4.104 kernel. Fixed API names for the kernel.
2. Implicit declaration function errors fixed.
3. Stack frame size exceed error fixed for hif_dump_ce_registers function.
4. BIG Endian #define fixed.

Change-Id: I761762f6e51c0890e672f76817a911ade7126dd5
Acked-by:  Venkateswara Swamy Bandaru <vbandaru@codeaurora.org>
CRs-Fixed: 1040617
2016-08-03 14:25:48 -07:00
Vishwajith Upendra
64ccc85878 Release 5.1.0.22I
Release 5.1.0.22I

Change-Id: I424a7cca05a11fc4a2cc61830523973cc0115667
CRs-Fixed: 688141
2016-08-03 02:28:05 -07:00
Sandeep Puligilla
489c7193ec qcacmn: Fix compilation with WMI_INTERFACE_EVENT_LOGGING disabled
Compilation error occurs due to undefined struct when
WMI_INTERFACE_EVENT_LOGGING disabled.

Use void pointer as argument to wmi_mgmt_cmd_record() and cast as header
struct inside logging function to avoid casting as undeclared type.

Change-Id: I7d0922ee2009b235473febdbcbc3317e432a1386
CRs-Fixed: 1043597
2016-08-03 02:28:04 -07:00
Vishwajith Upendra
8dc5bf5e84 Release 5.1.0.22H
Release 5.1.0.22H

Change-Id: I516634ad1992f87206b9617f5c5074e16a2a6e7a
CRs-Fixed: 688141
2016-08-03 01:07:52 -07:00
Rajeev Kumar
5bac30f5e6 qcacmn: Add unit test framework to validate WLAN suspend/resume features
WLAN suspend/resume feature has tight dependency on APPS platform
suspend/resume support. On new targets APPS suspend/resume is not
supported until target is feature complete. In absence of APPS
suspend/resume support testing WLAN offload features become
difficult. Add unit test framework to test WLAN suspend/resume
features using private IOCTL command by simulating APPS
suspend/resume behaviour.

Trigger WLAN suspend:
iwpriv wlan0 wlan_suspend 0 0

To resume WLAN run a ping test from access point side and very 1st
ping request unicast packet should trigger wake up.

If FW is not waking up APPS then use below command to do a manual
wake up:

Trigger WLAN resume:
iwpriv wlan0 wlan_resume 0 0

This framework is only for SNOC platform.

Change-Id: I177a0047f460aa2a305a9e4e46fbfaa94a81dced
CRs-Fixed: 1042205
2016-08-03 01:07:49 -07:00
Vishwajith Upendra
3e52419f67 Release 5.1.0.22G
Release 5.1.0.22G

Change-Id: I5ff8dc9120d9799066ee464e2e462d53a980cabe
CRs-Fixed: 688141
2016-08-01 23:42:26 -07:00
Govind Singh
66597e4cc5 qcacmn: Remove unnecessary locking during WMI detach
HOST driver unload sequence does following
   1) Kill WLAN tasklet
   2) Disable CE interrupts
   3) Flush WMI RX work
Hence its unncessory to acquire eventq_lock as no one
will be using the shared resource during wmi detach.

Change-Id: I5c549358aeefc460c794c35659915d3b966c7350
CRs-Fixed: 1021376
2016-08-01 23:42:25 -07:00
Vishwajith Upendra
b9a7e4cedd Release 5.1.0.22F
Release 5.1.0.22F

Change-Id: Icf0c1acb7c0428b37ff434dd4dad061b525a9143
CRs-Fixed: 688141
2016-08-01 16:31:48 -07:00
Nitesh Shah
9ff543f7db qcacmn: CL 1597848 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Adding WMI defs for pdev and peer GET_ANTDIV_STATUS_CMD,
ANTDIV_INFO_EVENT msgs.

Change-Id: Iad3c57f0b4e10e68c86cef175b8cadcfd9e7fe1e
CRs-fixed: 865207
2016-08-01 16:31:48 -07:00
Vishwajith Upendra
16546b6a57 Release 5.1.0.22E
Release 5.1.0.22E

Change-Id: I50003e8fd2ce390cbfa4648b7aab2d391b7a798b
CRs-Fixed: 688141
2016-07-29 18:15:30 -07:00
Krishna Kumaar Natarajan
edc1f370b3 qcacmn: Correct len size of oem data request
qcacld-2.0 to qcacmn propagation.

oem data request len size should be of 4 byte instead of
1 byte.
Add changes to correct len size in wmi unified API.

Change-Id: I9b377420c50ff1160964f94be5eaa0072df0f63d
CRs-Fixed: 1013488
2016-07-29 18:15:29 -07:00
Vishwajith Upendra
55fb9d398d Release 5.1.0.22D
Release 5.1.0.22D

Change-Id: I68ea19fc5e1ff367c429a7f2324ebd8ee7bd405f
CRs-Fixed: 688141
2016-07-25 00:41:30 -07:00
Hardik Kantilal Patel
343739296c qcacmn: Address 32 bit specific compilation issues
Fixing 32 bit compliation issues due to improper type
casting and shift operation.

CRs-Fixed: 1043823
Change-Id: I2c05a0c0940c5d65c40aefdc80dc2888fbe87be1
2016-07-25 00:41:12 -07:00
Vishwajith Upendra
9d305224a4 Release 5.1.0.22C
Release 5.1.0.22C

Change-Id: Ic7cbb639caca889d6fcf3925992c0c8441927a96
CRs-Fixed: 688141
2016-07-20 10:44:19 -07:00
Nitesh Shah
4e47333bde qcacmn: CL 1546483 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add WMI command to set GPIO numbers that are used to wakeup host
and wakeup target.
Changes to disable dynamic bandwidth RTS.
Add swol_assist_enable field to WMI extwow_set_app_type1_params
cmd to enable IoT mode WMI enums for CCK and OFDM max tx rates.

Change-Id: I26873873d7a355c179babaa7cc56e187e9771c92
CRs-fixed: 865207
2016-07-19 03:07:41 -07:00
Vishwajith Upendra
85e722996b Release 5.1.0.22B
Release 5.1.0.22B

Change-Id: I3ded6d66eca294b89fd650386a023b7081597d07
CRs-Fixed: 688141
2016-07-15 15:22:19 -07:00