コミットグラフ

1617 コミット

作成者 SHA1 メッセージ 日付
Sathish Kumar
92c7904b41 qcacmn: Add wmi support for btcoex duty cycle command
A new iwpriv command has been added to configure the period
and wlan duration for a btcoex duty cycle.

As a part of this registring the wmi_service_btcoex_duty_cycle
for WMI_SERVICE_BTCOEX_DUTY_CYCLE.

Also send_btcoex_wlan_priority_cmd registrtaion for btcoex
duty cycle command in non_tlv_ops.

Change-Id: I7f3bfdfd9804566d6d0b7cce7025e99db57d0e23
Acked-by: Basamma Yakkanahalli <ybasamma@qti.qualcomm.com>
CRs-Fixed: 1064437
2016-11-30 12:40:43 -08:00
Nandha Kishore Easwaran
b408ac4481 qcacmn: Change DFS agile flag
Agile flag WMI_CHAN_FLAG_AGILE_MODE added. When this flag is set,
the primary VHT80 will not be affected when channel change is done.

Change-Id: Ie6bce12ec955c0c8a79246dda57092808611803d
CRs-Fixed: 1072504
2016-11-30 12:40:41 -08:00
Sathish Kumar
4f30c00e1c qcacmn: Add non-tlv APIs for new WMI commands and support for old commands
Implement following WMI commands and corresponding event extraction
APIs added for WIN release-
WMI_PEER_GID_USERPOS_LIST_CMDID
WMI_PEER_TX_MU_TXMIT_RSTCNT_CMDID
WMI_PEER_TX_MU_TXMIT_COUNT_CMDID
WMI_PDEV_CHECK_CAL_VERSION_CMDID
WMI_BTCOEX_CFG_CMDID

Additions to following existing WMI commands-
WMI_MU_CAL_START_CMDID
WMI_SET_LTEU_CONFIG_CMDID
WMI_PDEV_GET_TPC_CONFIG_CMDID
WMI_START_SCAN_CMDID

Change-Id: Ifd43addf196f2bc3cbff33671ef66202b8b0b487
CRs-Fixed: 1059400
2016-11-30 12:40:40 -08:00
qcabuildsw
3fb189b406 Release 5.1.1.4Z
Release 5.1.1.4Z

Change-Id: I875c99e0509d244c6aa93447eae8c1761f0a79f1
CRs-Fixed: 688141
2016-11-29 16:19:06 -08:00
Kiran Kumar Lokere
5bca4c6064 qcacmn: Fix the compilation issue
Fix compilation issues

Change-Id: I0551c023dbdb8aa40d6aa9a3f19dcf4f56f69dd6
CRs-Fixed: 1094633
2016-11-29 16:19:06 -08:00
qcabuildsw
fd75713d61 Release 5.1.1.4Y
Release 5.1.1.4Y

Change-Id: I5a8c81b83bc2884c39dcfa9108b98c4f016bb9b9
CRs-Fixed: 688141
2016-11-28 14:09:49 -08:00
Houston Hoffman
fec8ed1234 qcacmn: Remove cds from napi hot_plug_notifier functionality
Instead of using cds to get the hif context in the notifier callback
rely on the context_of semantics to traverse back to the hif context.

Change-Id: I7d57f9dcf8c09836c34ce16a4acaa8c3bc1624b9
CRs-Fixed: 1092842
2016-11-28 14:09:48 -08:00
Houston Hoffman
60af6759fb qcacmn: Stringify HW_VERSION value when HW UNKNOWN
When new hardware is not found in the lookup table
for human readable hardware names, print the hex
value of the hardware version info.

Change-Id: If821ba04c83f2d9b54587379d92bdc1918d7a094
CRs-Fixed: 1092353
2016-11-28 14:09:45 -08:00
Houston Hoffman
59fd245eae qcacmn: Add WCN3990_V2 to hw names
Print out hw name WCN3990_V2.2 when soc version is 0x40010001.

Change-Id: I78c8cf5cf8917174fe95b8a8eefe608363a49e49
CRs-Fixed: 1092353
2016-11-28 14:09:43 -08:00
qcabuildsw
9c1982ad21 Release 5.1.1.4X
Release 5.1.1.4X

Change-Id: I58d15b69bae41a3857012eafe0af56b3016941a0
CRs-Fixed: 688141
2016-11-28 11:42:59 -08:00
Dustin Brown
72e658b87a qcacmn: Pass WOW enable flags to FW
For WOW Enable, firmware accepts a bitmap of flags, but passing them
to firmware is not exposed by WMI. Modify WMI to allow passing WOW
Enable flags to firmware.

Change-Id: I458b01bc6a4e5b14b2a1dfee928136daeb70ebe9
CRs-Fixed: 1092068
2016-11-28 11:42:58 -08:00
qcabuildsw
91cf3175bf Release 5.1.1.4W
Release 5.1.1.4W

Change-Id: I6ef2bc7854f3052ae8c2ad65e6349609640c4586
CRs-Fixed: 688141
2016-11-26 13:35:38 -08:00
Houston Hoffman
710af5a21e qcacmn: Use 9 copy engines for QCA6290
Reserve CE9-11 for the MHI driver.

Change-Id: If09c749293f98e9d0d97e73c3720eb5d8800070f
CRs-Fixed: 1093513
2016-11-26 13:35:38 -08:00
Dhanashri Atre
8abb9ee21a qcacmn: Change to set-up default TID queue
Set up default queue - use the same queue for BE and
non-qos traffic

CRs-Fixed: 1074199
Change-Id: I2e28ea1ee0a778d43a8d78005063a51776b48df0
2016-11-26 13:35:36 -08:00
Dhanashri Atre
6d90ef32d5 qcacmn: Separate peer object creation from other initialization
Seperate the dp peer object allocation from setting the peer's
default routing and default rx tid queues.

This change is to address a race condition where the HTT peer map
message arrives before the peer object is created.

Change-Id: Ibb0671d29ffac41fd06bb8a88476f37120d99ccb
CRs-Fixed: 1089662
2016-11-26 13:35:33 -08:00
Dhanashri Atre
10a93237e6 qcacmn: TQM bypass workaround
Enable the TQM bypass workaround.

CRs-Fixed: 1089685
Change-Id: I83859fdedd15ddd8784f9d6629d9a459a1d9c412
2016-11-26 13:35:32 -08:00
Ravi Joshi
05d9e677a8 qcacmn: Enable timer based polling for DP rings
Enable timer based polling of the UMAC rings for Tx completion
and Rx. (Interrupts are not yet ready on UMAC rings).
(DP_INTR_POLL_BASED is defined through Kbuild)
Also define the polling timer as 100 ms.

Change-Id: I243f94c3d49a80005ef9eec8a9a6f03abc81870c
CRs-Fixed: 1074199
2016-11-26 13:35:31 -08:00
qcabuildsw
7994eb827f Release 5.1.1.4V
Release 5.1.1.4V

Change-Id: I878d63556dcad971479860b1a50dde379630abbb
CRs-Fixed: 688141
2016-11-25 11:00:24 -08:00
Nandha Kishore Easwaran
cbff9c9090 qcacmn: Enable napi to re-enable interrupts
When NAPI is busy processing Rx, interrupt is not re-enabled
and this causes CE2 and other pipes to become full and target asserts.
This patch enables napi to return after processing half of the descriptors.

Change-Id: I2ba443c388f1a9d36331c632bfb2fbbbe876228f
Crs-fixed: 1094034
2016-11-25 11:00:24 -08:00
qcabuildsw
d1141c298f Release 5.1.1.4U
Release 5.1.1.4U

Change-Id: I48973bdda16d7baf84ad698b2c7b90bb45eae7f3
CRs-Fixed: 688141
2016-11-25 01:37:08 -08:00
Nandha Kishore Easwaran
46249e4f39 qcacmn: Add new defines for FW_STATS
Adding new defines for FW_STATS duration and FW_STATS
request. This will be used by ol_txrx_fw_stats function
for getting per_radio or per_vdev stats

Change-Id: I0a241172cd5b86aea0da99135ed574f6b1540c16
Crs-fixed: 1075597
2016-11-25 01:37:06 -08:00
qcabuildsw
230bf35ddd Release 5.1.1.4T
Release 5.1.1.4T

Change-Id: Ib350bd12fbfbeef1964eff90363325ba4617aa4d
CRs-Fixed: 688141
2016-11-24 20:21:11 -08:00
Kai Liu
62e4d70de3 qcacmn: Store tx desc id in sk_buff instead of skb head
qcacld-2.0 to qcacmn propagation

Store tx desc id in skb_buff.

Change-Id: I2186a06ad3ec929683292c4c052904a18427cc64
CRs-Fixed: 951208
2016-11-24 20:21:10 -08:00
qcabuildsw
96f9305456 Release 5.1.1.4S
Release 5.1.1.4S

Change-Id: I6eed703ea0b451c7d96051df19ce9540e5e3d217
CRs-Fixed: 688141
2016-11-23 23:14:31 -08:00
Kiran Venkatappa
1f27ef32c5 qcacmn: Fix implicit declaration error for TLV helper APIs
Include TLV helper header file to fix implict function decration warning
treated as error. These APIs are required only for TLV target, hence
put it under TLV compilation flag.

Change-Id: I50f3629b3f69c3cdb46e2384e47d2559c803cd4c
CRs-Fixed: 1090087
2016-11-23 23:14:29 -08:00
qcabuildsw
2c734ee5ee Release 5.1.1.4R
Release 5.1.1.4R

Change-Id: Ifa1fbfa8b5e83c138917310efd6eb5c3d01b6766
CRs-Fixed: 688141
2016-11-23 14:44:55 -08:00
Jeff Johnson
589ca0919d qcacmn: Fix -Wmissing-prototypes in WMI
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wmi.

Change-Id: I2452ffa4e9fa1de8a7bd75d04dd4a0f94d7cf55c
CRs-Fixed: 1093298
2016-11-23 14:44:54 -08:00
Jeff Johnson
c66399a1ce qcacmn: Fix -Wmissing-prototypes in Host Transport layer
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in the Host Transport layer.

Change-Id: Ic9c7f920883f41176d89419de25b7e02df0b895e
CRs-Fixed: 1093231
2016-11-23 14:44:53 -08:00
Jeff Johnson
6950fdbedd qcacmn: Fix -Wmissing-prototypes in HIF
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in hif.

Change-Id: I342360f48f73a1e5ef42ebc4ca38366669eea0e0
CRs-Fixed: 1091702
2016-11-23 14:44:52 -08:00
qcabuildsw
255a3fb042 Release 5.1.1.4Q
Release 5.1.1.4Q

Change-Id: I678f404b1d7d34e77af57a4a18752f261966f59a
CRs-Fixed: 688141
2016-11-21 17:22:55 -08:00
Venkateswara Swamy Bandaru
ae41b9e0ae qcacmn: Add support for asynchronous Host to Target connection
Add support for asynchronous Host to Target connection connection in
whcih packets can be queued in both interrrupt and process context.

Change-Id: I52f0f972b938a558e4ef3c13cf4d76aa3a63d58f
CRs-Fixed: 1092518
2016-11-21 17:22:54 -08:00
qcabuildsw
1dd971bf7f Release 5.1.1.4P
Release 5.1.1.4P

Change-Id: Ib935e5add926afda9a8a373894ab6ef457a70e52
CRs-Fixed: 688141
2016-11-21 15:20:04 -08:00
Dhanashri Atre
57e420d642 qcacmn: Pass the device to memory allocation and free
Pass the device instance to the QDF memory allocation and
free functions.

Change-Id: Ia6297e311cdca708b96c72fb50f8961cddc95d83
CRs-Fixed: 1087538
2016-11-21 15:20:03 -08:00
Ankit Gupta
7ee2ab073b qcacmn: Increase timeout values for napier emu
Increase the timeout duration for protocol events
for napier emulation platform.

Change-Id: I358259801018dc7ce48bd85f35594dec44704017
CRs-Fixed: 1089638
2016-11-21 15:20:02 -08:00
qcabuildsw
d5b4fa8eea Release 5.1.1.4O
Release 5.1.1.4O

Change-Id: If9c2f33c2d0d7c411ab3bc7e85af4c382651577a
CRs-Fixed: 688141
2016-11-21 13:07:32 -08:00
Nandha Kishore Easwaran
fd7832e906 qcacmn: Change CDP layer to include build flags
Making changes in cdp layer to include proper compilation
flags

Change-Id: I6d325386f2a6a2b01a900d0c525c7f30aa128e47
Crs-fixed: 1075597
2016-11-21 13:07:31 -08:00
qcabuildsw
a4a0a3d008 Release 5.1.1.4N
Release 5.1.1.4N

Change-Id: I6769d8dcc0c5b490ba93bbd2b240c708bc0278c0
CRs-Fixed: 688141
2016-11-20 22:33:05 -08:00
Sarada Prasanna Garnayak
8d9eba1470 qcacmn: Fix compilation error for msmcobalt_32
In hnc_link_clusters function, few local variables left
uninitialized. Initialize them with zero as they will get
overwritten during the processing of the cluster for first time.

CRs-Fixed: 1085510
Change-Id: I04af509bdc1a63eeb215c5ec854b55a8bc45aba9
2016-11-20 22:33:04 -08:00
qcabuildsw
5ce8af883b Release 5.1.1.4M
Release 5.1.1.4M

Change-Id: Ife936e41b4f4001f20604c6a7d8d9867b410967b
CRs-Fixed: 688141
2016-11-19 19:32:15 -08:00
Houston Hoffman
6fe6059965 qcacmn: Dummy hif_hal_attach when hal not supported
If hal_api.h is not available do not use its api's.
Avoid "implicit declaration of function" compilation error.

Change-Id: I8458bde4ce862adeeda5c8d3892ce439be068c06
CRs-Fixed: 1089874
2016-11-19 19:32:14 -08:00
Houston Hoffman
b522bdc3cc qcacmn: sync qca6290def.c with fw_common
Use UMAC_CE_COMMON_CE_HOST_IE_0 instead of
UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_0

Change-Id: I70e92ca4b86329b562e84261d8911f52f7d64cd0
CRs-Fixed: 1089874
2016-11-19 19:32:13 -08:00
Houston Hoffman
2d8ee28971 qcacmn: changes in pcie path to bypass for emulation builds
Changes include skipping of legacy interrupt routing,
target probe and target sleep state adjust

Change-Id: I36b7f627e7ca6970a73ffbc85b7f0e7a6ce40325
CRs-Fixed: 1089874
2016-11-19 19:32:12 -08:00
Houston Hoffman
74109127d0 qcacmn: write DEST_MAX_LENGTH for CE rings
Change that allows configuration of max buffer
size for SRNG rings in the receive direction

Change-Id: Ib857f1fdf43c849078f9470ec029fe627379fcb4
CRs-Fixed: 1089874
2016-11-19 19:32:11 -08:00
Houston Hoffman
f7bc308404 qcacmn: use my_io_remap to map 13MB for pcie space
This remap is needed temporarily for emulation builds

Change-Id: I6662eeba32dc5847aac730928ed72db77ff1d42c
CRs-Fixed: 1089874
2016-11-19 19:32:10 -08:00
Houston Hoffman
202425d1a5 qcacmn: Set intr_timer_thres_us to 0
intr_timer_thres_us minimum step size is 8us. So anything
less than 8 will not enable the hardware timer.  Set the
value to 0 to avoid confusion.  A strong warning message
should also be added.

Change-Id: I9286d2988930df8577e46e5a753cc6f68c71d180
CRs-Fixed: 1089874
2016-11-19 19:32:09 -08:00
Houston Hoffman
e1961b6e84 qcacmn: supply dev to qdf_mem_alloc_consistent
Required by newer kernels.

Change-Id: I891a6f86fcd8566deb4988a13259325be37e1fda
CRs-Fixed: 1089874
2016-11-19 06:49:42 -08:00
Houston Hoffman
6b3047aa2b qcacmn: Do msi init first and write to PRODUCER_INT_SETUP
PRODUCER_INT_SETUP register write was missed.
MSI init should be done before configuring interrupt
triggers.

Change-Id: Idf356b889ba2aa9d1269e0c07dcad02cc9c63a6a
CRs-Fixed: 1089874
2016-11-19 06:49:00 -08:00
Houston Hoffman
9a1b391970 qcacmn: Add direction to srng DPTRACE call
DPTRACE has been enhanced to record send and recive packets.
Update the missed call site

Change-Id: If1554b31add1df00f98b6d3eed8e5f752ca4722c
CRs-Fixed: 1089874
2016-11-19 06:48:38 -08:00
Houston Hoffman
6c0c3f95fa qcacmn: skip bmi for srng based chips
SRNG based chips will use MHI based firmware download

Change-Id: I4125578a33315011075677a0ea7e4b48c914037f
CRs-Fixed: 1089874
2016-11-19 06:48:13 -08:00
Houston Hoffman
31b25ecbea qcacmn: Support QCA6290 target type
Add device id for QCA6290 emulation platform.
Add target def support for QCA6290
Needs HIF_TYPE_QCA6290 defined

Change-Id: I4edd5a5b600007ebe7416195648815d80025e768
CRs-Fixed: 1089874
2016-11-19 06:47:36 -08:00