Commit graph

1,236 commits

Author SHA1 Message Date
qcabuildsw
89072beafe Merge "Release 5.1.0.22X" into wlan-cmn.driver.lnx.1.0-dev 2016-09-06 13:40:55 -07:00
Service qcabuildsw
0dbf4ff24c Merge "qcacmn: Fail PM suspend if target has sent initial wake up" into wlan-cmn.driver.lnx.1.0-dev 2016-09-06 13:40:51 -07:00
qcabuildsw
ee8d0c1935 Release 5.1.0.22X
Release 5.1.0.22X

Change-Id: Ic4640efa52f7207e4f94edee04b497a15b34ca05
CRs-Fixed: 688141
2016-08-28 22:38:14 -07:00
Rajeev Kumar
f5e306f785 qcacmn: Fail PM suspend if target has sent initial wake up
Host is not handling target initial wake up properly which is
leading to resume failure. Fail PM suspend request if target
has sent initial wake up message.

Change-Id: I3797f1afa99ed9412b7ded3e1ea85c344bd0f435
CRs-Fixed: 1059543
2016-08-28 22:38:14 -07:00
Linux Build Service Account
6950dd253d Merge "qcacmn: Send anycast addresses for NS offload" 2016-08-27 15:50:35 -07:00
qcabuildsw
712e243e91 Release 5.1.0.22W
Release 5.1.0.22W

Change-Id: I1c3ef08a31447e6b7ee928c00a96d085a9cb43f8
CRs-Fixed: 688141
2016-08-26 12:19:15 -07:00
Rajeev Kumar Sirasanagandla
92cf0523d8 qcacmn: Modify __qdf_assert to invoke QDF_BUG
Currently, __qdf_assert is doing kernel panic, deviating the purpose of
assert - "Asserts are NOT used for stopping a program in case of an
error".

To address this, modify __qdf_assert to invoke QDF_BUG which in turn
warns or crashes based on the macro PANIC_ON_BUG.

Change-Id: Ie62484f8f369d8aafa3b1970feafe556b2c94ffa
CRs-Fixed: 1015603
2016-08-26 12:19:14 -07:00
qcabuildsw
35b4bced32 Release 5.1.0.22V
Release 5.1.0.22V

Change-Id: I0218454347bca67a8b89ccdbee3801c7444da9b6
CRs-Fixed: 688141
2016-08-25 18:53:14 -07:00
Rajeev Kumar
8f312f2704 qcacmn: Reduce wake up IRQ enable/disable log level
IRQ wake up is happening as expected so reduce WLAN CE 2
IRQ wake up request log to info level to avoid logging it
every time on console.

Change-Id: I9838c80d5133b3f872b1129e41d4f722ba57b011
CRs-Fixed: 1059081
2016-08-25 18:53:13 -07:00
qcabuildsw
b4f7b7e702 Release 5.1.0.22U
Release 5.1.0.22U

Change-Id: I8cfac920de0ab8668f1208efce4e79e911836748
CRs-Fixed: 688141
2016-08-24 11:33:28 -07:00
Himanshu Agarwal
feeffba91b qcacmn: Add API to update mark parameter in sk_buff structure
Propagation from qcacld-2.0 to qcacmn.

Add API to update skb->mark whenever first packet after WOW wakeup
is received through HTT layer.

Change-Id: I877dd7af9a58ebc02d73461cc2a29e86a3945dec
CRs-Fixed: 989984
2016-08-24 11:33:27 -07:00
Sravan Kumar Kairam
80f7246bfb qcacmn: Send anycast addresses for NS offload
Propagation from qcacld-2.0 to qcacld-3.0

Current implementation has support for IPv6 addresses of type
unicast for NS offload to firmware.

As part of this change add anycast addresses for NS offload.

CRs-Fixed: 954880
2016-08-24 06:56:18 -07:00
qcabuildsw
3c46e5dfb0 Release 5.1.0.22T
Release 5.1.0.22T

Change-Id: Id14d205f448481f470495a83c099ec8c29fb8d95
CRs-Fixed: 688141
2016-08-24 04:42:24 -07:00
Selvaraj, Sridhar
020997beda qcacmn: Add support to provide assoc IEs to FW in RSO command
As part of MBO(Multiband Operations), host driver need to supply
the Assoc IEs to FW after initial connection. FW uses these Assoc
IE's in subsequent roaming.i.e Reassociation requests.
This Fix updates the WMI interface to provide support for passing
Assoc IEs to FW.

Change-Id: Ida3d2947714002233090a3f9075dd8d674a3c224
CRs-Fixed: 1039969
2016-08-24 04:42:24 -07:00
Sravan Kumar Kairam
63b327d89c qcacmn: Send anycast addresses for NS offload
Propagation from qcacld-2.0 to qcacld-3.0

Current implementation has support for IPv6 addresses of type
unicast for NS offload to firmware.

As part of this change add anycast addresses for NS offload.

CRs-Fixed: 954880
2016-08-24 12:24:23 +05:30
qcabuildsw
4bb67d4db6 Release 5.1.0.22S
Release 5.1.0.22S

Change-Id: I36b7a2d0c6e444e33fa417f9b0ea058a2327325b
CRs-Fixed: 688141
2016-08-20 10:37:07 -07:00
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