Wykres commitów

1184 Commity

Autor SHA1 Wiadomość Data
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
Vishwajith Upendra
9bf39423c5 Release 5.1.0.22A
Release 5.1.0.22A

Change-Id: I70159eb36ede6d9f874a07115e9336534aefeb25
CRs-Fixed: 688141
2016-07-14 13:27:04 -07:00
Varun Reddy Yeturu
f99241ec66 qcacmn: Fix incorrect channel list passed to the firmware
Fix the occupied channel list that is being passed from CSR to
WMA to WMI to firmware.There is a conversion happening in
WMA from channel number to frequency which is the root of the
issue.

Change-Id: I8a2f8c9d31897b38086df26ebd386ec59d0f3540
CRs-Fixed: 1039020
2016-07-14 12:36:11 -07:00
Yuanyuan Liu
26476b51eb qcacmn: Add workqueue APIs in QDF
Add qdf workqueue APIs for schedule_delayed_work, cancel_work_sync,
cancel_delayed_work_sync and flush_delayed_work

Change-Id: Idb4de3c30c9c8cfdeb9af5b92f40a6e3dc954a6d
CRs-Fixed: 1009560
2016-07-13 18:49:41 -07:00
Vishwajith Upendra
6452198406 Release 5.1.0.22
Release 5.1.0.22

Change-Id: Ice5e37370df20b8f639dce2cdea9933e814a2a58
CRs-Fixed: 688141
2016-07-13 14:02:40 -07:00
Nitesh Shah
26ca070efa qcacmn: CL 1534810 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Define WMI messages for per-AC rx reorder timeouts
and A-MPDU aggregation limits.

Change-Id: I19d96379a93e2d860cce249704834f06f271efb0
CRs-fixed: 865207
2016-07-12 22:57:51 -07:00
Pradeep Reddy POTTETI
7e42ae0c63 qcacmn: CL 1529540 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Tufello USB Wlan Adapter - Flash Read

Change-Id: Ib90306a871febe43a076ae8b104442bbc3a4960c
CRs-fixed: 865207
2016-07-12 22:57:49 -07:00
Pradeep Reddy POTTETI
df7dfefed6 qcacmn: CL 1527207 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add mcast filter set/delete command that can take multiple
filters in a list.
Fix HTT typos to make MACROS consistent with the field name.

Change-Id: I97ca72f102faecfc3d20409b0d4819a09968417c
CRs-fixed: 865207
2016-07-12 22:57:47 -07:00
Pradeep Reddy POTTETI
a364739a6d qcacmn: CL 1524945 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

New WMI command for reorder queue setup/removal

Change-Id: I31ad0432a0d5f49eed55603ae7d9eeedbdd19876
CRs-Fixed: 865207
2016-07-12 22:57:46 -07:00
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