Gráfico de commits

1045 Commits

Autor SHA1 Mensagem Data
Manjunathappa Prakash
dff1f975d9 qcacmn: Takecare of extended nbufs memory leak tracking
Update nbuf memory leak tracking logic to handle extended nbufs.

Change-Id: I172f9de0b3dd99d634cfe70dfab964749b9d49a7
CRs-Fixed: 963060
2016-05-06 13:09:27 -07:00
Dhanashri Atre
42364947db qcacmn: Increase CE6 Ring Size
Increase the CE ring that is used by firmware for HIF memcpy.
Increase the size to 0x4000

Change-Id: I8a71c795469b7cd51c3c2609a8e22a3b19ab7e77
CRs-Fixed: 1006872
2016-05-06 13:09:27 -07:00
Yuanyuan Liu
ae38003449 qcacmn: Clean up OS wrapper functions
Use OS standard APIs instead of CNSS wrapper functions

Change-Id: Icd048f41864c33463f4bb582d8d184816fa77c5d
CRs-Fixed: 1000797
2016-05-06 13:09:08 -07:00
Vishwajith Upendra
d8d4c735a8 Release 5.1.0.6
Release 5.1.0.6

Change-Id: I5997337f2277d70f44638775eb363e49f08728b7
CRs-Fixed: 688141
2016-05-04 21:11:13 -07:00
Houston Hoffman
735bb8def4 qcacmn: Define SLOTS_PER_DATAPATH_TX in ce_service.c
SLOTS_PER_DATAPATH_TX needs to be defined in the common project.

Change-Id: I9dd3cea3b9b2563960dd5d81a661c9ac1e61ac0d
CRs-Fixed: 1009290
2016-05-04 21:11:09 -07:00
Houston Hoffman
127467f040 qcacmn: Add hif_ctx to fastpath_cb_register api
Hif apis can't rely on a global context.

Change-Id: I2cad80573fc0102f210bb0f7c3f9e22c5f8e16f9
CRs-Fixed: 1009274
2016-05-04 21:11:05 -07:00
Houston Hoffman
fa260aa2eb qcacmn: Add event recording for fastpath & napi
Fastpath & napi did not have CE event recording.
This is a vital debug feature.

Change-Id: I73118f4fa5177158d6d489ea5b9ebf82f05c1229
CRs-Fixed: 1009273
2016-05-04 21:11:00 -07:00
Houston Hoffman
d6f946ce21 qcacmn: Default CE_COUNT_MAX to 12
CE_COUNT_MAX should be the maximum number of CE's supported.
Set it to 12 to support all chipsets dynamically.

Change-Id: Id65278ee452a4ca2e3b0dcfe5c082a7e7a286347
CRs-Fixed: 1002084
2016-05-04 21:10:55 -07:00
Komal Seelam
6ee559010d qcacmn: Remove unwanted header files in transport layer
Rename OL_TARGET_STATUS as HIF_TARGET_STATUS and move the enum to hif.h

Change-Id: Ib84514aa65404b4340b1be06a4adefff27bfdc6d
CRs-Fixed: 998536
2016-05-04 21:10:51 -07:00
Houston Hoffman
61fad9f81c qcacmn: Add wow_nack to TargetSendSuspendComplete api
TargetSendSuspendComplete should take the HTCInitInfo
context as an argument.  The wow_nack should be its
own argument.

Change-Id: Ib13385cf0a04730d066ffcd53c1f669c7a5ced60
CRs-Fixed: 1003793
2016-05-04 21:10:44 -07:00
Houston Hoffman
e52902c4a5 qcacmn: Remove cds_api and wma_api includes
The inclues are not needed.

Change-Id: I874a511535fded52f346201b24f6d3174334b430
CRs-Fixed: 1003804
2016-05-04 21:10:40 -07:00
Houston Hoffman
75ef5a55f2 qcacmn: Use qdf macro for epping mode
Use QDF macro to check if we are in epping mode.
Hardcode the ce engine to use interrupts in
epping mode.

Change-Id: Ie58c2efffdced03f24905469319eabc0af4ed228
CRs-Fixed: 1003792
2016-05-04 21:10:36 -07:00
Houston Hoffman
4b7ebcfb01 qcacmn: Add static flag to cnss_wlan_pci_link_down definition
A definition of cnss_wlan_pci_link_down in a header file
did not have the static keyword.

Change-Id: I701682486a8db2c0cfce839706aacb85757df616
CRs-Fixed: 1003817
2016-05-04 21:10:30 -07:00
Houston Hoffman
f789c661a8 qcacmn: Remove support for QCA6180
This is deprecated emulation hardware.

Change-Id: Ibafc2e55a26bcac28e88a325689a419e058997b5
CRs-Fixed: 1003804
2016-05-04 21:10:27 -07:00
Houston Hoffman
247f09b86a qcacmn: Remove icnss_dispatch_irq
icnss_dispatch_irq is a stub for a non-existent function.
Make a pci function that doesn't use a global data structure.

Change-Id: I636d59cb465acf1366269d96a5dcacf910f8d78c
CRs-Fixed: 1002083
2016-05-04 21:10:12 -07:00
Houston Hoffman
49f6c66ca7 qcacmn: Cleanup snoc interrupt controll
Remove interupt enable/disable at group level since
in register set 81, these registers are not provided.
Don't enable/disable the ce irqs at the qgic
since the interrupts are edge driven, enabling and disabling the interrupt
in the qgic should not be necessary.  Also remove an unneeded read
of a status register.

Change-Id: I2c20ea26c23dc672697d53cd5433d855d9332b13
CRs-Fixed: 997176
2016-05-04 21:10:08 -07:00
Abhishek Singh
0921144f1e qcacmn: Reduce the QDF_GET_MEMORY_TIME_THRESHOLD to 300ms
qcacld-2.0 to qcacmn propagation

Issues are seen where memory allocation takes 300-1000ms.

So to detect this reduce the QDF_GET_MEMORY_TIME_THRESHOLD value
to print the time taken by kmalloc, to 300ms from 3 sec.

Change-Id: I0f7e1587b2ddd2839d70a19b047aa46bb6a2cea1
CRs-Fixed: 970017
2016-05-04 21:10:04 -07:00
Dhanashri Atre
fd04653483 qcacmn: Fix compilation issue
Fix WIN compilation issue.

Change-Id: I1d8bb73776e974b3706e7c3576cb576d40b1e5b8
CRs-Fixed: 993414
2016-05-04 21:09:59 -07:00
Manishekar Chandrasekaran
7e21d109d2 qcacmn: Replace soc level references of set mac config
Replace the WMI command WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID
and event WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID with
WMI_PDEV_SET_MAC_CONFIG_CMDID and
WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID respectively since
the former are obsolete. The new WMI commands and events
additionally carry the pdev id.

Change-Id: I77eab3ead005bbb7f951ce7e077cd661813cb628
CRs-Fixed: 989502
2016-05-04 21:09:56 -07:00
Manishekar Chandrasekaran
0d0cff8182 qcacmn: Replace soc level references of set hw request and response
Replace the obsolete WMI command WMI_SOC_SET_HW_MODE_CMDID with
WMI_PDEV_SET_HW_MODE_CMDID and event WMI_SOC_SET_HW_MODE_RESP_EVENTID
with WMI_PDEV_SET_HW_MODE_RESP_EVENTID respectively. These new WMI
commands and events additionally carry the pdev id and all mac id
references are replaced with pdev id.

Change-Id: If2a3f93dcd1947eedce8d4eac8ed936166f7e078
CRs-Fixed: 989502
2016-05-04 21:07:32 -07:00
Govind Singh
d9615ed1e0 qcacmn: Add target bus type field in qdf context
Add target bus type field in qdf context, as bus type
needs to accessed at multiple layer.

Change-Id: I62b23d68743fedf205bb3859c0de50568ca09b7a
CRs-Fixed: 1009993
2016-05-03 00:08:58 -07:00
Govind Singh
0b58728a33 qcacmn: Add FL macro definition in QDF layer
FL macro definition is used in converged layer, move
FL macro definition from umac layer to common QDF layer.

Change-Id: Id3c4383c385eb3d6391c4c066b0034fb2f053cdc
CRs-Fixed: 1008835
2016-05-03 00:08:56 -07:00
Govind Singh
01d950eb71 qcacmn: Replace mac_id with pdev_id in WMI PDEV commands
Replace mac_id with pdev_id for WMI pdev commands and
vdev start response handler to support multi-radio in
converged firmware. In order to maintain backward
compatibility with old fw, host needs to check
WMI_SERVICE_DEPRECATED_REPLACE service id in service
bitmap and needs to fill pdev id or mac id accordingly.

Change-Id: I7e6b40b4c0bd20e967dc0a383b480068e256486f
CRs-Fixed: 994415
2016-05-03 07:52:17 +05:30
Vishwajith Upendra
483daa86e6 Release 5.1.0.5
Release 5.1.0.5

Change-Id: I18025669796c9128fb2e7b64a5e8734a7b7025b5
CRs-Fixed: 688141
2016-04-28 13:02:43 -07:00
Anurag Chouhan
8bfdee0154 qcacmn: Add WIN Driver compilation fix
Fix compilation errors for WIN driver

Change-Id: I2b7344c9632ea673754aa1f4d7003473b2527ada
CRs-Fixed: 981187
2016-04-28 13:02:20 -07:00
Nirav Shah
caf80788e6 qcacmn: Do not update control block for push/pull operation
Do not update physical address in control block while
nbuf push/pull operation for WIN.
Also uncomment dma_sync_single_for_cpu function in
__qdf_nbuf_sync_single_for_cpu.

Change-Id: Id80ed3e01162e44d90981885c3d387950323bce8
CRs-Fixed: 1006569
2016-04-27 17:11:16 -07:00
Govind Singh
a5e18c4829 qcacmn: Add non-tlv implementation in common wmi layer
WIN platform uses non-tlv implementation for host to
target wmi commands. Add support for non-tlv
implementation in common wmi layer.

Change-Id: I1f832695b0d41b521be6b18df0cad31aae11b6c9
Acked-by: Kiran Venkatappa <kiranv@qti.qualcomm.com>
CRs-Fixed: 1005778
2016-04-26 04:01:18 -07:00
Vishwajith Upendra
e6eb894c8f Release 5.1.0.4
Release including SU173 changes on
unconverged CLD3.0 with additional changes.

Change-Id: I0d515f41c70fd47593865aa79beefcd07289bfb6
CRs-Fixed: 688141
2016-04-25 23:03:13 -07:00
Nirav Shah
d7f9159cf2 qcacmn: Update htc_endpoint only for htt tx endpoint
Update htc_endpoint only for htt tx endpoint to avoid
double freeing of Tx Queue packets as it will be
freed in htt_htc_misc_pkt_pool_free.
Rename htc_endpoint to htc_htt_tx_endpoint to reflect
it's appropriate use.

Change-Id: I736ba08505acc829eb15be30538553dd945695f6
CRs-Fixed: 1006498
2016-04-25 23:03:05 -07:00
Hardik Kantilal Patel
c5dc5f291c qcacmn:: Use proper API to allocate 2 MB target shared memory
WLAN host driver is not using correct API to allocate 2 MB shared
memory for FW when QMI by pass is enabled. Use proper API to
allocate 2 MB shared memory for FW CE access.

Change-Id: I7efa4be2e703b32dc86fd660640881afa4ce2bcd
CRs-Fixed: 999278
2016-04-25 23:02:57 -07:00
Hardik Kantilal Patel
732caef504 qcacmn:: Change QTIMER API as per 4.4 kernel
Use arch_counter_get_cntvct API for QTIMER API on
Kernel 4.4.

CRs-Fixed: 999964
Change-Id: Ia28c6759cfecfdcc7bd938089b3198eac7dcd961
2016-04-25 23:02:54 -07:00
Manishekar Chandrasekaran
b3a3073ae7 qcacmn: Replace WMI_SOC_SET_PCL_CMDID with WMI_PDEV_SET_PCL_CMDID
Replace the obsolete WMI command WMI_SOC_SET_PCL_CMDID with
WMI_PDEV_SET_PCL_CMDID. WMI_PDEV_SET_PCL_CMDID carries the weightage
for all the channels (preferred and non-preferred) in the same order
and length as that of the command WMI_SCAN_CHAN_LIST_CMDID. This is
in contrast to the command WMI_SOC_SET_PCL_CMDID which carries only
the preferred channel list.

Change-Id: I040f4307491d3242d2e9409dbbe8005c4b307bf5
CRs-Fixed: 989502
2016-04-25 23:00:58 -07:00
Yuanyuan Liu
4e3feeb40b qcacmn: Fix compilation errors for msmcobalt
Fix compilation errors when building for msmcobalt.

CRs-Fixed: 1006068
Change-Id: I26af2637ca95df0765055e7909905babce6a09cb
2016-04-21 20:32:15 -07:00
Vishwajith Upendra
1d4416c1cd Release 5.1.0.3A
Matches Component wlan-cld3.driver.lnx.1.1 version 5.1.0.3A

Change-Id: I95bdad263dd96f73859e841a3088d63e4216a422
CRs-Fixed: 688141
2016-04-21 11:17:31 -07:00
Vishwajith Upendra
fbcb7c7135 Release 5.1.0.3
Corresponds to SU 172 qcacld-3.0 unconverged
Matches Component wlan-cld3.driver.lnx.1.1 version 5.1.0.3

Change-Id: Ie61bbeb608132cdfbc2b0a5b49e6aa79c5ad28a5
CRs-Fixed: 688141
2016-04-20 15:49:20 -07:00
Houston Hoffman
e633044237 qcacmn: Enable additional two HTT data services
Enable HTT_DATA2_MSG_SVC and HTT_DATA3_MSG_SVC, using only
rx legs, CE 9 and 10, respectively. Add required CE entries
to the map that gets sent to the FW, and define the latter
service.
Rename htc_endpoint to htc_tx_endpoint in htt_pdev to
represent the role better.

Acked-by: Orhan K AKYILDIZ <oka@codeaurora.org>

Change-Id: I81ae796bdb7e632aa24f15c63a2811791dd29d28
CRs-Fixed: 982728
2016-04-20 15:49:17 -07:00
Houston Hoffman
41d0231b87 qcacmn: Don't clear the interupt status when rx_pending
If there is rx pending, the per_engine_service caller should
not reenable interrupts.  If the caller does propper interrupt
mitigation, it will not enable interrupts, and the register
write is wasted.  If the caller does not do interrupt mitigation,
leaving the interupt status will prevent stuck packets.

Change-Id: I7a6315d3f0f3ade1b2d51ce15fab931a4864e643
CRs-Fixed: 998319
2016-04-20 15:49:13 -07:00
Houston Hoffman
eb2516c244 qcacmn: Make napi rely on rx_pending flag
Use the rx_pending flag to determine if there is more work.
hif_napi_poll should not rely on the amount of work done
to determine if there is more work to do.

Change-Id: Ibf83cfb8f9aed6fdc3400b6a6945156283f56485
CRs-Fixed: 998319
2016-04-20 15:49:04 -07:00
Houston Hoffman
c1d9a41415 qcacmn: Fix diag_ce initialization
With more copy engines, the diag ce was not moved to the end.
The diag_ce was being assigned a null value from the unitialized
index.

Change-Id: Ib0fc6450712af2dc5e38f00bb692cfb26982ddae
CRs-Fixed: 997175
2016-04-20 15:48:56 -07:00
Gupta, Kapil
8b2f77a059 qcacmn: Add support for beacon filtering
qcacld-2.0 to qcacld-3.0 propagation

In case of DFS channels and EBT is disabled, beacons are
forwarded to host in every 50msecs which increase power consumption.
Add the changes to set beacon filter once DUT connect to AP.

CRs-Fixed: 973958
Change-Id: I1a9379eacbd13f8dc7fae08923cd91f087d1b2b2
2016-04-20 15:48:53 -07:00
Poddar, Siddarth
841f5e87c6 qcacmn: add ini support for throttling period duty cycles
qcacld-2.0 to qcacld-3.0 propagation

Provide support to configure duty cycle by adding ini item for
different level duty cycle.

CRs-Fixed: 990798
Change-Id: I95e4f4af669fd50c5b9fc10ffc61fa5d447b5bcf
2016-04-20 15:48:48 -07:00
Krishna Kumaar Natarajan
854f69e39f qcacmn: Fix compilation error in WMA
qcacld-2.0 to qcacld-3.0 propagation.

Fix compilation error introduced due to change in WMI
interface structure definition changed by CL 1479065.

Change-Id: I83d50bc046961ab90bcfbb164d5d64296ff95d9f
CRs-Fixed: 865207
2016-04-20 15:48:44 -07:00
Krishna Kumaar Natarajan
e6b6f42c5c qcacmn: CL 1479065 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Add Qboost dbglog IDs and module ID, add pdev_id to WMI cmds,
wal_power_debug framework to handle WMI cmd for LP features.

Change-Id: I815e29284ab21086f75197c2ce1319e13074e00f
CRs-Fixed: 865207
2016-04-20 15:48:40 -07:00
Krishna Kumaar Natarajan
9a4af54f3e qcacmn: CL 1476371 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

WMI change to enable Custom aggregation size for ADDBA request and
response through WMI command WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID.

Change-Id: I0fb54e8f32344b209787239ed64d7ecb13ea56fb
CRs-Fixed: 865207
2016-04-20 15:48:37 -07:00
Sandeep Puligilla
83a228e9e4 qcacmn: CL 1470160 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Periodic channel stats and WMI chan info extension
Define a flag which indicates the packet responsible
for wake up the host from suspend mode

Change-Id: Ieb5f47f16c5f55790511e02d97db57f4fdf6de97
CRs-Fixed: 865207
2016-04-20 15:48:35 -07:00
Rajeev Kumar
e37820ebd2 qcacmn: Fix WMI command stuck issue
There is race condition in HTCTrySend() where it is
clearing TxProcessCount after releasing target lock
which is resulting it in WMI command stuck as other
thread check TxProcessCount and returns after
putting command in queue.
Fix above race condition by unlocking target lock
after clearing TxProcessCount.

Change-Id: I80d69bf583d3eb3c9800c69d7917921aa959f866
CRs-Fixed: 991142
2016-04-20 15:48:31 -07:00
Rajeev Kumar
3537500cc0 qcacmn: Add new enums for QVIT mode
Add suport for QVIT mode in wlan driver.

Change-Id: I9014ac12e09495917f63f7b4b114363b24eeae1c
CRs-fixed: 987175
2016-04-20 15:48:28 -07:00
Rajeev Kumar
6f8012b2aa qcacmn: Remove QDF_FTM_MODE from runtime pm code
QDF_FTM_MODE is deprecated. QDF_GLOBAL_FTM_MODE is the enum for the
ftm driver mode now.

Change-Id: I8783fb2d3748ed08995b3b13eaf69a7a1c40c22b
CRs-Fixed: 991822
2016-04-20 15:48:23 -07:00
Rajeev Kumar
74f7764f61 qcacmn: Fix epping mode ce attribute table size
Adrastea code expects a host ce table the have 12 entries.

Change-Id: I22887495a9994df65b61315fa8ff87f2bb4bcf50
CRs-Fixed: 989695
2016-04-20 15:48:20 -07:00
Vishwajith Upendra
70efc7576c qcacmn: Use epping specific shadow register config table
Update shadow register configuration for epping.

Acked-by: Aravind Narasimhan <aravindn@qca.qualcomm.com>

Change-Id: Ia975d2a651a7ff4fb5fcd6081b62c574457b016f
CRs-Fixed: 989695
2016-04-20 15:46:00 -07:00