Commit graph

2,212 commits

Author SHA1 Message Date
Vishwajith Upendra
10add765f0 Release 5.1.0.21
Release 5.1.0.21

Change-Id: I2eef9fba6b77670aa4465c48436d412d3c7581a1
CRs-Fixed: 688141
2016-07-12 13:25:06 -07:00
Vishwajith Upendra
218accfb37 Release 5.1.0.20
Release 5.1.0.20

Change-Id: Ied052a49b3a969c4aaa051d01bfd321f4c3b2676
CRs-Fixed: 688141
2016-07-11 14:33:33 -07:00
Sandeep Puligilla
ac71f152d4 qcacmn: Enhance MGMT frame logging in WMI
More detailed logging needed for mgmt frames

Add vdev_id, frame type, subtype, and channel to logs by defining wrapper
function around logging macro and calling it from send_mgmt_cmd_tlv

Change-Id: I0c8c26e3194d97be7d903f64c5c5909c2d4b9799
CRs-Fixed: 1011346
2016-07-08 18:59:51 -07:00
Vishwajith Upendra
c968be6f73 Release 5.1.0.19
Release 5.1.0.19

Change-Id: Idcb1c3790bce212735baf2ea2c651a494305617a
CRs-Fixed: 688141
2016-07-08 14:00:09 -07:00
Govind Singh
051a8c4457 qcacmn: Remove duplicate definition from hif layer
FW common files needs to be in sync with host and fw.
There are duplicate definition of target attach API when
latest copy of fw common files are used.
Remove duplicate definition of target attach from hif layer.

Change-Id: Ie4a80ba07bc3ec2d9d1466c32062c373c9759a94
CRs-Fixed: 1012542
2016-07-08 06:12:14 -07:00
Vishwajith Upendra
084e541d60 Release 5.1.0.18
Release 5.1.0.18

Change-Id: I11e41be70ec95d11bdf5347fa45249f8f884d2fe
CRs-Fixed: 688141
2016-07-06 21:11:42 -07:00
Vishwajith Upendra
d83def39c7 Release 5.1.0.17
Release 5.1.0.17

Change-Id: I633f3d9849384391f0d7873d6290fd427e6d8bd1
CRs-Fixed: 688141
2016-07-05 16:53:36 -07:00
Arif Hussain
0b6da577e8 qcacmn: SAP DFS: Fix dfs_phyerr_filter_offload
Correct the logic based on phyerr filter offload INI value.

Change-Id: Ie4722eba7d7476fc7c445e9e9a026827231552eb
CRs-Fixed: 1036629
2016-07-01 16:19:14 -07:00
Himanshu Agarwal
2a92459208 qcacmn: Add NULL checks before dereferencing
Add NULL checks before dereferencing in:
1) HIF layer
2) WMI layer.

Change-Id: I47c5d18ae7841826d958d742283edb0bd6d246b7
CRs-Fixed: 1036390
2016-07-01 10:36:19 -07:00
Houston Hoffman
c2611a2c80 qcacmn: Remove references to cnss_pm_runtime_request
cnss_pm_runtime_request is deprecated.

Change-Id: I620065d8d0eae6a6830eeb003a29575c5352cb93
CRs-Fixed: 1035562
2016-07-01 05:41:23 -07:00
Houston Hoffman
4ede3494a7 qcacmn: Fix RUNTIME_PM wrt. runtime_pm_delay
Refer to runtime_pm_delay inside the config_info structure.
The member was moved inside a config_info structure to cleanup
hif_softc.

Change-Id: I45b54ef2323eb635bb110ece381d5c806a0a4627
CRs-Fixed: 1035562
2016-07-01 05:41:14 -07:00
Yuanyuan Liu
3f0973bd16 qcacmn: Add PLD stub file for WIN
Add PLD stub file for WIN.

CRs-Fixed: 1010692
Change-Id: Iff526bdc6b7765ca843ec9d6d805415101d750bb
2016-06-30 16:29:21 -07:00
Vishwajith Upendra
c40413e315 Release 5.1.0.16
Release 5.1.0.16

Change-Id: I94a16faa3c28ba5f41e3801486ddb3ed852e55cf
CRs-Fixed: 688141
2016-06-30 15:44:30 -07:00
Dhanashri Atre
d11e25c3a7 qcacmn: Add new fields to radiostats and OL_PARAMS
Integrating ToT changes from WIN Bokchoy branch.
These changes have been added as part of Bokchoy FRs implementation

Change-Id: I0637e3ffcbc49ce05aac20baa2da2940dfa6d77c
CRs-Fixed:1031703
2016-06-30 12:50:41 -07:00
Nirav Shah
b70bd731ec qcacmn: Add per CPU interrupt statistics
Add per CPU per copy engine interrupt statistics.

Change-Id: I1619f0db3314ae3d915284459f2b191f31fc2190
CRs-Fixed: 1017437
2016-06-30 03:11:34 -07:00
Anurag Chouhan
8f7d421854 qcacmn: Fix qdf_wait_single_event api to wait for infinite timeout
qdf_wait_single_event have contradicting impelmentation
when timeout value is set to 0.
The fix provides an implementation that works when timeout is
to zero aswell.

Change-Id: I1f03bd79227988b76fc9eb0fe9db3cf41542bd71
CRs-Fixed: 1035161
2016-06-29 21:02:49 -07:00
Deepak Dhamdhere
987c1fa61b qcacmn: Add messaging interface to support NAN data path
This is qcacmn portion of qcacld-2.0 to qcacld-3.0 propagation
Add commonly used definitions for NAN datapath, like QDF_NDI_MODE.

CRs-Fixed: 962367
Change-Id: I1f42c8dab17b3a300db61756c29fc02d3d3bc504
2016-06-29 19:42:14 -07:00
Aravind Narasimhan
e79befadca qcacmn: Fix for AR9887/AR9888 chips bringup
With the converged code swfit has issues in bringup.
Below changes are done to make it work.
1 Target type checks for AR9887/AR9888 corrected.
2 Added new reg write to wake the chip after enabling
  interrupts

Change-Id: Ib17d03cb4f0699d8d2270340b2c8a4002f0b31d0
CRs-Fixed: 1035003
2016-06-29 13:51:47 -07:00
Aravind Narasimhan
c7620c1fa8 qcacmn: Fix for performence issue on beeliner
For AP based chisets made host to taget HTT
ce descriptos to be allocated as 4098

Change-Id: I3f74aef9fc99e383481c1a8c3e7710761d9cf106
CRs-Fixed: 1035019
2016-06-29 13:51:46 -07:00
Vishwajith Upendra
18e5115160 Release 5.1.0.15
Release 5.1.0.15

Change-Id: I759dccdfad7c98c6bff99cd7f9beffb4608f3747
CRs-Fixed: 688141
2016-06-29 12:17:41 -07:00
Govind Singh
921fb0059e qcacmn: Remove WMA header file dependency to fix WIN compilation
Remove dependency of WMA header files in common wmi layer.

Change-Id: I705e3b8cbe048f846c819dc028667061a0ce3ce2
CRs-Fixed: 1008872
2016-06-29 12:17:36 -07:00
Vishwajith Upendra
525504d12c Release 5.1.0.14
Release 5.1.0.14

Change-Id: I1cd8aecc07bf7b489847046134857d8e5fa177c0
CRs-Fixed: 688141
2016-06-28 10:45:31 -07:00
Anurag Chouhan
2d2a380688 qcacmn: Add WIN Driver Kbuild
Add Kbuild file into qdf, fix for win driver .

Change-Id: I9d1e1b5be5c6669f9e0327c2727c59284790c9d0
CRs-Fixed: 1012511
2016-06-28 10:45:20 -07:00
Anurag Chouhan
ced2345f71 qcacmn: Define qdf_mempool_t for non kernel users
Fix implicit declaration error when qdf_mem.h is included from userspace

Change-Id: I88ccec9c53abb8d5844f42984af3f8693c1d3000
CRs-Fixed: 1012511
2016-06-28 10:45:01 -07:00
Manishekar Chandrasekaran
be11624671 qcacmn: Use mandatory channel list during SAP operation
Ensure that the SAP operations make use of the mandatory
channel list during SAP channel selection and update the
INI option 'gWlanMccToSccSwitchMode' to include the value
of '4' which will make use of the mandatory channel list
while trying to avoid MCC scenario .

Change-Id: Ia43ee1d2c598c81a5ef0add9246c400577f6f694
CRs-Fixed: 1014128
2016-06-28 10:43:36 -07:00
Vishwajith Upendra
f4cbd50d79 Release 5.1.0.13
Release 5.1.0.13

Change-Id: I3092e0d955aa3ef6384c0fca27d659a2242b4134
CRs-Fixed: 688141
2016-06-24 16:48:21 -07:00
Kiran Kumar Lokere
edabc98fad qcacmn: Add support for NSS configurability
qcacld-2.0 to qcacld-3.0 propagation

Add support for NSS configurability per vdev type.
- Configure the 2g and 5g NSS with the INI value of
each vdev type
- Program the HT and VHT IE to FW for 1x1 and 2x2 mode,
FW will include them in scan probe request frames

Change-Id: I5cbf17a14ab6becad6cf5765ae5039fc284dc309
CRs-Fixed: 869026
2016-06-24 16:48:20 -07:00
Houston Hoffman
004ec91c3d qcacmn: Populate target_type in target_info for snoc
The target type is queried through the target_info structure.

Change-Id: I0c4323f83098f607584f7a8d9b1929257172b5be
CRs-Fixed: 1025074
2016-06-24 16:48:20 -07:00
Aravind Narasimhan
a1c7d6dd1d qcacmn: Fix implicit declaration warnings
Implicit declarion warnings are errors in MCL builds.
WIN uses the AHB bus and warnings are not errors in WIN.
This change fixes the warnings associated with AHB bus

Change-Id: I6bd7dba4267c9dad77535b8cb28d15e230773fa5
CRs-Fixed: 1033493
2016-06-24 16:48:20 -07:00
Nirav Shah
cede289aad qcacmn: Enhance data path related statistics
Enhance data path related statistics.
- Add per reason pause time
- Enahnce TSO stats
- clear DPTRACE buffer

Change-Id: Ic884e5a2ba9da34651f524a5b099c20d3b7f83a1
CRs-Fixed: 1017437
2016-06-24 16:48:07 -07:00
Vishwajith Upendra
c7ec8b37a5 Release 5.1.0.12
Release 5.1.0.12

Change-Id: I155ce7ae756584405714274afb805ed18c98b368
CRs-Fixed: 688141
2016-06-23 12:33:16 -07:00
Houston Hoffman
aa8b2366ee qcacmn: Reduce logging for wmi messaging
Stop logging wmi message send and completion data to kernel log.

Change-Id: Ie61e6984f0f97e595ff5c4d2a34aa5b9eb2e9a9a
CRs-Fixed: 1026520
2016-06-23 12:33:14 -07:00
Houston Hoffman
fb274b8013 qcacmn: Stop printing credit reports
Credit reports are logged to memory.
Root causing credit report issues requires
memory dumps, so having them in the dmesg
gives little additional value.

Change-Id: Ia84adb156b8af49867116d367613264008fcc750
CRs-Fixed: 1026520
2016-06-23 12:33:12 -07:00
Houston Hoffman
c50572b27a qcacmn: Reduce Shadow Register Logging
Change the log level to info. Remove repeated log messages.
Remove extra \n from many hif log prints

Change-Id: Ie3d254888f0a0d37e0bc0c81c6186cb172e882c8
CRs-Fixed: 1026520
2016-06-23 12:33:10 -07:00
Houston Hoffman
e8a9500c7d qcacmn: Use qtimer for descriptor history timestamp
Syncronizes the timestamps between firmware and host.

Change-Id: Ibcd1805a513d7f7bd249113dca4f8d7773f59f7f
CRs-Fixed: 1028192
2016-06-23 12:33:08 -07:00
Poddar, Siddarth
1f21bbbd68 qcacmn: Add wma apis for High Latency systems (Part 4 - HL Datapath)
Initialize bad peer tx control data structure in WMA,
send down the initial configuration info to fw and
configure the peer status update setting in the tx_rx module.

CRs-Fixed: 975526
Change-Id: Ib380e10a0b343b6a8f9c2c0bf6d6dd602d2601c5
2016-06-23 12:33:06 -07:00
Poddar, Siddarth
df030095a3 qcacmn: Add new apis for High Latency systems (Part 3 - HL Datapath)
Add two new apis of dump bundle stats and clear bundle stats
for debug logging support.

CRs-Fixed: 975526
Change-Id: If8e3bc2bc5e5a4f1b2e180d7d5c4ce0695e933ee
2016-06-23 12:33:03 -07:00
Himanshu Agarwal
0f1038d24d qcacmn: CL 1519524 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

P2P listed offload WMI messages

Change-Id: I0f591f9a620587ef77be09e3714c7156d4189172
CRs-Fixed: 865207
2016-06-23 12:33:01 -07:00
Govind Singh
8f788f4491 qcacmn: Fix compilation issue for WMI Recording feature
Fix compilation issues when WMI_INTERFACE_EVENT_LOGGING
feature is disabled.

Change-Id: I30e9b96cc8d387a7fbe94ae786f9d36ea58b8c21
CRs-Fixed: 1019979
2016-06-23 12:32:58 -07:00
Himanshu Agarwal
8134019bae qcacmn: CL 1507516 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add dbglog IDs for ARP and DHCP packets
WMI CMDID for dbglog time stamp sync
Move reason code from wmi to nan_msg.h

Change-Id: I2e6e837fade375ef86c0c4247490b44ec502be1b
CRs-Fixed: 865207
2016-06-23 12:32:54 -07:00
Himanshu Agarwal
bb9f83ec61 qcacmn: CL 1506155 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

WMI bandwidth fairness peer configuration command message
definition.

Change-Id: I8023e8a4f9758d6003a3f666cc45c1e98265c01a
CRs-Fixed: 865207
2016-06-23 12:32:52 -07:00
Abhishek Singh
06c3f0a7a8 qcacmn: Reduce the info level logs in STA/SAP
qcacld-2.0 to qcacmn propagation

Reduce the info level logs in STA/SAP

Change-Id: I5918ea8e9dd2f7654e5a994ad366f92d2ca3cd77
CRs-Fixed: 988195
2016-06-23 12:32:50 -07:00
Gupta, Kapil
86ab171ae4 qcacmn: Add support for adaptive dwell scan time
Dwell time can be modify based on channel congestion per scan
request.
Add changes to enable firmware to use scan control flag and select
dwell time optimization algorithm based on ini values.

Change-Id: Iea3de57c1b7d087442e4b8984b4184d24bb8c930
CRs-Fixed: 994443
2016-06-23 12:32:48 -07:00
Vishwajith Upendra
11b22d3b7e Release 5.1.0.11
Release 5.1.0.11

Change-Id: I48bd67b5e29e324d7b8233974ecd04b8a9af1b66
CRs-Fixed: 688141
2016-06-21 14:35:37 -07:00
Nirav Shah
4cc0ba809c qcacmn: Fix to avoid redefination error in AP code
Fix to avoid redefination error in AP code.

Change-Id: Ib57e7e2936aefe6abf0945b249ae1cd44e50aceb
CRs-Fixed: 1008087
2016-06-15 11:26:39 -07:00
Govind Singh
d5320a9658 Revert "qcacmn: Remove WMA header file dependency to fix WIN compilation"
This change reverts Change-Id: I48978e51ca6bd4416420ee66746d5bfe7adae3c9

Change-Id: I8113e233b3477c7b35a5c35a1a1c6f5f32936d8c
CRs-Fixed: 1008872
2016-06-14 13:48:46 -07:00
Manikandan Mohan
8330485de6 qcacmn: Fix compilation error in 4.4v Kernel
Fix compilation errors in Kernel 4.4 version. seq_printf function
syntax is changed in v4.4 Linux kernel

Change-Id: I013171e5bbd4e5641c1a74d22003271c88c63232
CRs-fixed: 1026152
2016-06-14 13:48:44 -07:00
Nirav Shah
da0881a68f qcacmn: Datapath changes for WiSA specification
Datapath changes for WiSA specification.
 - Multicast packets with 50000 as destination
   port should go at 6Mbps.
 - Multicast packets with 50001 as destination
   port should go at 24Mbps.

Change-Id: I582b13fd85e2bdc0e49739a1c6f8d8a3b295902f
CRs-Fixed: 1010412
2016-06-14 13:48:41 -07:00
Nirav Shah
31d694b25a qcacmn: Remove PROTO_TRACE feature
Remove PROTO_TRACE feature and add MGMT packet
logging in DPTRACE

Change-Id: I0437a2100554628607c561b0e815c0009f1c5606
CRs-Fixed: 1008087
2016-06-14 13:48:39 -07:00
Nirav Shah
29beae0ab5 qcacmn: Enhance DPTRACE to support RX path
Enhance DPTRACE framework to support RX path.

Change-Id: I34594911aeb89cf36d87a7753f1e5c7261b4ceb9
CRs-Fixed: 1008087
2016-06-14 13:48:37 -07:00