Commit Graph

3178 Commits

Author SHA1 Message Date
Jeff Johnson
f1ef13a9b4 qcacld-3.0: Properly export ol_tx.c APIs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in ol_tx.c which is generating warnings because
not all public APIs have prototypes defined. Define the missing
prototypes for:
	ol_tx_send_ipa_data_frame()
	ol_tx_non_std()
	ol_txrx_mgmt_tx_cb_set()
	ol_txrx_mgmt_send_ext()

In addition make the following private since they are now only called
internally to ol_tx.c:
	ol_tx_non_std_ll()
	ol_tx_non_std_hl()

Change-Id: I29f334de30ab492f2ef6c422352d11c059e40f1b
CRs-Fixed: 1104125
2017-01-05 12:06:42 -08:00
Jeff Johnson
bacec0978c qcacld-3.0: Properly export ol_cfg.c APIs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in ol_cfg.c which is generating warnings
because not all public APIs have prototypes defined. Define the
missing prototypes for the following:
	ol_pdev_cfg_attach()
	ol_set_cfg_rx_fwd_disabled()
	ol_set_cfg_packet_log_enabled()

Change-Id: I787d4d7954751cda2878229d1d8967e1c168f95c
CRs-Fixed: 1104124
2017-01-05 12:06:41 -08:00
Jeff Johnson
b9b4934cfe qcacld-3.0: Properly export QCA_COMPUTE_TX_DELAY APIs
Currently the qcacld-3.0 driver does not build cleanly when compiled
with the gcc -Wmissing-prototypes switch. One set of warnings is due
to the QCA_COMPUTE_TX_DELAY APIs not being exported properly.  Address
the warnings by properly exporting these functions.

Change-Id: Ib0f8a43a4575caf5714709e7fab659aa0b6f3009
CRs-Fixed: 1103659
2017-01-05 12:06:39 -08:00
Jeff Johnson
199e70113e qcacld-3.0: Remove obsolete ol_cfg_set_flow_control_parameters()
Function ol_cfg_set_flow_control_parameters() is unused, so remove it.

Change-Id: I3755aff011903423af0e2c31a90b9b701ba78a92
CRs-Fixed: 1103127
2017-01-05 12:06:38 -08:00
qcabuildsw
db577c2bc1 Release 5.2.0.4A
Release 5.2.0.4A

Change-Id: Ib7d7fd47f95c0e43de5c7178094233354fba680f
CRs-Fixed: 688141
2017-01-05 12:06:37 -08:00
Tushnim Bhattacharyya
53bcb93027 qcacld-3.0: Add support for new 3 port concurrency combinations
Update or add policy rules for new 3 port concurrency cases:
STA+STA+SAP
SAP+SAP+STA
SAP+SAP+SAP

Change-Id: I6ca605808f1de7f8d31ee9a2f05b88491319e6f2
CRs-Fixed: 1068000
2017-01-05 12:06:35 -08:00
qcabuildsw
34cca97fec Release 5.2.0.4
Release 5.2.0.4

Change-Id: I60b9e65fe50315761cfde181e229ac0a73bcb3d1
CRs-Fixed: 688141
2017-01-05 12:06:33 -08:00
Poddar, Siddarth
c01681adda qcacld-3.0: Extend Get wakelock stats
Extend the wakelock stats to include all wakeup
reason counters. Included counters are:
wow_rssi_breach_wake_up_count
wow_low_rssi_wake_up_count
wow_gscan_wake_up_count
wow_pno_complete_wake_up_count
wow_pno_match_wake_up_count

propagation from qcacld-2.0 to qcacld-3.0

CRs-Fixed: 1097267
Change-Id: I2b95e294aae21fcf1e11b6b95a083268daa1acbd
2017-01-05 12:06:32 -08:00
qcabuildsw
bff2797ffd Release 5.2.0.3Z
Release 5.2.0.3Z

Change-Id: I35dc26a06d85d97037cb94883c98f350f06ecf79
CRs-Fixed: 688141
2017-01-05 12:06:30 -08:00
Paul Zhang
3a210c54ed qcacld-3.0: North bound I/F for phase3 convergence
The init version code change per north bound I/F
framewrok. Each individual component is supposed
to define its cfg80211 callback function and it
will do the code change accordingly.

Change-Id: Ib66085b7de91fb478d74cfa716ac50f6fead34a6
CRs-Fixed: 1098688
2017-01-05 12:06:29 -08:00
qcabuildsw
8bb6cbc794 Release 5.2.0.3Y
Release 5.2.0.3Y

Change-Id: Idec5b66f36ca93386119633f40dd223fec116eac
CRs-Fixed: 688141
2017-01-05 12:06:27 -08:00
Paul Zhang
e79e7db224 qcacld-3.0: Drop Action frame in FW config by host
Propagation from qcacld-2.0 to qcacld-3.0.

Several Action frame categories are not processed in host and they
are not forwarded to supplicant either, but they are dropped in host.
These unprocessed action frames are forwarded to host by FW and
wake up host unnecessarily which leads to battery drain. With this fix,
host conveys FW the disallowed action frames list at HDD startup
so that the remaining frames can be dropped in FW itself thereafter
when under WoW mode.

Change-Id: I40b49d42df94085784c8f1d8321de0ee61473ae0
CRs-Fixed: 999114
2017-01-05 12:06:25 -08:00
Rajeev Kumar
3e5ef0da16 qcacld-3.0: Remove obsolete MC thread message buffers from cds
After control path scheduler componentization CDS message buffers,
and message wrappers are no longer used hence remove them.

Change-Id: If6e915ffe27775511cb359adb704fa9e03653420
CRs-Fixed: 1107094
2017-01-04 17:39:44 -08:00
Rajeev Kumar
52333410ab qcacld-3.0: Remove obsolete cds_is_mq_empty API
After control path scheduler componentization cds_is_mq_empty
API is no longer used hence remove it.

Change-Id: I6b90d185d4faad7a02fca1b784dfea9b08213005
CRs-Fixed: 1106123
2017-01-04 17:39:43 -08:00
Rajeev Kumar
08ef0d620a qcacld-3.0: Remove obsolete cds_core_return_msg API
After control path scheduler componentization cds_core_return_msg
API is no longer used hence remove it.

Change-Id: I66122b918f0b27236b2b5ca454e52b0de20b16ee
CRs-Fixed: 1106115
2017-01-04 17:39:42 -08:00
qcabuildsw
8c17f24dc8 Release 5.2.0.3X
Release 5.2.0.3X

Change-Id: I88cf2c72486f8e17c52b13dd1fbc2099499b3a9a
CRs-Fixed: 688141
2016-12-28 21:28:30 -08:00
Rajeev Kumar
f4390fad6e qcacld-3.0: Remove obsolete ioctls to dump AGC address space
Host driver does not have access to agc register address space
and any attempt to read it leads to SNOC error. Remove AGC dump
related sub ioctls support.

Change-Id: I65d2152d5f03001e8473b365bd287cc71f3e5ffe
CRs-Fixed: 1104738
2016-12-28 21:28:29 -08:00
qcabuildsw
8636012f23 Release 5.2.0.3W
Release 5.2.0.3W

Change-Id: I3d7541aa424f60f18b2bde7239e4b30e58ead465
CRs-Fixed: 688141
2016-12-27 16:37:41 -08:00
Rajeev Kumar
ebb0a73519 qcacld-3.0: Rename control path scheduler from sch to scheduler
Legacy protocol engine already has a module name 'sch' rename
control path scheduler from sch to scheduler to avoid naming
conflict with protocol sch.

Change-Id: I94ce9aa5037aa75319aaad2287116462444c03f4
CRs-Fixed: 1105115
2016-12-27 16:37:40 -08:00
qcabuildsw
e7889545da Release 5.2.0.3V
Release 5.2.0.3V

Change-Id: I339ca98c1aee2ce472434de3e96e50890fc3237f
CRs-Fixed: 688141
2016-12-26 06:30:41 -08:00
Nitesh Shah
428e70d1e9 qcacld-3.0: Add INI template for DBS feature
Add INI template for DBS feature for documentation.

Change-Id: Ic107a6b4045b9e1367388098ac311916a41b145c
CRs-Fixed: 1097842
2016-12-26 06:30:40 -08:00
qcabuildsw
a6341f49fe Release 5.2.0.3U
Release 5.2.0.3U

Change-Id: Ic2e68b7ce07f4acb50605b050c031a7be7111376
CRs-Fixed: 688141
2016-12-25 10:13:35 -08:00
Nitesh Shah
5dfb99e491 qcacld-3.0: Add IOCTL template for TDLS feature
Add IOCTL template for TDLS feature for documentation.

Change-Id: Ibfd04a22c75cd6f907e3c9d897a82146a4bfa3d6
CRs-Fixed: 1098818
2016-12-25 10:13:34 -08:00
qcabuildsw
c3b484faf0 Release 5.2.0.3T
Release 5.2.0.3T

Change-Id: Id2d3098d804d3f884c6fd24bf39f3d4b932565ad
CRs-Fixed: 688141
2016-12-24 15:25:38 -08:00
Houston Hoffman
be58cc5b8b qcacld-3.0: do cdp_soc_detach in cds_close
Without doing cdp_soc_detach, datapth interrupts
would fire after the driver is unloaded and the
handlers have been removed from memory.

Change-Id: Ifad17059fa6f4b5957533defccc3126c15e55360
CRs-Fixed: 1103147
2016-12-24 15:25:37 -08:00
qcabuildsw
5195c1b0d6 Release 5.2.0.3S
Release 5.2.0.3S

Change-Id: I82bd5ff0a3b1cef05cbfbbecb0362a8532a88406
CRs-Fixed: 688141
2016-12-23 07:51:38 -08:00
Nitesh Shah
f9503ddabd qcacld-3.0: Add IOCTL template for DBS feature
Add IOCTL template for DBS feature for documentation.

Change-Id: Iee53ec1f861b93bd61727b712f268318e807c0f5
CRs-Fixed: 1097842
2016-12-23 07:51:37 -08:00
qcabuildsw
95c7bfdae8 Release 5.2.0.3R
Release 5.2.0.3R

Change-Id: I20b29e6f3dedf303a2d3ddc625e684942f936014
CRs-Fixed: 688141
2016-12-23 02:30:57 -08:00
Nitesh Shah
9966256dbc qcacld-3.0: Add diag_event template for TDLS feature
Add diag_event template for TDLS feature for documentation.

Change-Id: I70acd10daeea676ab5f04687522e8a0ed30be2fb
CRs-Fixed: 1098818
2016-12-23 02:30:56 -08:00
qcabuildsw
3fd59615ea Release 5.2.0.3Q
Release 5.2.0.3Q

Change-Id: I4de9075f7706fd169e094b35b02bd7d134af6778
CRs-Fixed: 688141
2016-12-23 01:21:05 -08:00
Rajeev Kumar
c303e1084d qcacld-3.0: Remove obsolete credit check from wma suspend
WMI internally has flow control based on credit availability.
Remove redundant credit check from wma wow enable API as WMI
internally takes care for command queueing and draining based
on available credits.

Change-Id: I143270032175f0d0d3c2946ae46a97482a406869
CRs-Fixed: 1104182
2016-12-23 01:21:04 -08:00
qcabuildsw
b5bb44a321 Release 5.2.0.3P
Release 5.2.0.3P

Change-Id: I88ec88e2d313666f0cb9974494dc37d43a863103
CRs-Fixed: 688141
2016-12-22 10:58:07 -08:00
Krunal Soni
b37bb35ad3 qcacld-3.0: Fix to handle error conditions when pre-cac adapter fails
Currently, driver has following errors while handling pre-cac adapter
1) If SAP start operation fails in upper mac layers like PE or WMA then
   without checking status of operation, SAP/HDD layer notifies policy
   manager to add the connection to its table.
2) Driver is doing hardware mode change first and then it does pre-cac
   adapter open operation followed by starting the bss. If pre-cac
   adapter open operation fails then nobody is reverting original
   hardware mode change.
3) While doing CAC wait, If radar gets detected then driver is not
   releasing interfaces mac address due to which sub sequent adapter
   doesn't get valid mac address as driver has limited pool of mac
   addresses.
4) LIM layer is populating some garbage SME session id as it is
   releasing the memory before it access in case of any failure.

Add safety checks to avoid all above conditions.

CRs-Fixed: 1103673
Change-Id: Ie94af7783527e6c55490801b52898ec0c3208503
2016-12-22 10:58:06 -08:00
Krunal Soni
8f8507cc5b qcacld-3.0: Ignore rates from hostapd when doing SAP channel switch
When softap mode comes up, hostapd provides OFDM/CCK supported rates
based on hardware mode and channel. If same softap changes channel
from 2G to 5G or 5G to 2G then provided hostapd rates become invalid.

To avoid above condition, use basic rates generated within driver while
doing softap channel switch operation.

Ignore hostapd rates when pre-cac adapter is generated to handle radar
detection as pre-cap adapter is temporary & its not actual adapter.

CRs-Fixed: 1103673
Change-Id: Iec4b79ad848dec560b8a44cbaaa320416be62cb1
2016-12-22 10:58:04 -08:00
qcabuildsw
9ef3295576 Release 5.2.0.3O
Release 5.2.0.3O

Change-Id: Ib11c6157d81790589495f934e3a9e80220cba175
CRs-Fixed: 688141
2016-12-22 10:23:25 -08:00
Krunal Soni
66c113f3e7 qcacld-3.0: change CDS_MQ_ID to QDF_MODULE_ID
As a common driver design, CDS_MQ_ID has to be replaced with
QDF_MODULE_ID

CRs-Fixed: 1104147
Change-Id: Id47770f24a6afa2dbd6b976122948b09a8873b77
2016-12-22 10:23:23 -08:00
qcabuildsw
c1d9c584ab Release 5.2.0.3N
Release 5.2.0.3N

Change-Id: Ibaa697238292f7ddc2a6982f1d84cab94f673951
CRs-Fixed: 688141
2016-12-22 04:06:26 -08:00
Rajeev Kumar
969d1b1ef5 qcacld-3.0: Handle various new wake up reasons properly
Host is not handling new wake up reasons. Add changes to handle
various new wake up reasons and log them properly.

Change-Id: Ic4fa176be887971a5f2c18f39b22914814c5e08c
CRs-Fixed: 1103897
2016-12-22 04:06:25 -08:00
qcabuildsw
b80f5534ce Release 5.2.0.3M
Release 5.2.0.3M

Change-Id: I7eb62ec91f6fad46505a922a4605e6c3e3ee320f
CRs-Fixed: 688141
2016-12-21 17:50:07 -08:00
Jeff Johnson
04e96411b3 qcacld-3.0: Fix -Wmissing-prototypes in nan_datapath.c
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in nan_datapath.c that is generating warnings.
Fix these warnings by making the following functions static:
	lim_ndp_delete_peer_by_addr()
	lim_process_sme_ndp_initiator_req()
	lim_process_sme_ndp_data_end_req()

Change-Id: I47d4d0801c9642c79edeb0298f3bd1ffcab38667
CRs-Fixed: 1103662
2016-12-21 17:50:06 -08:00
Jeff Johnson
ffa9afc941 qcacld-3.0: Properly export ol_tx_set_flow_control_parameters()
Currently the qcacld-3.0 driver does not build cleanly when compiled
with the gcc -Wmissing-prototypes switch. One set of warnings is due
to ol_tx_set_flow_control_parameters() not being exported properly.
Address the warnings by properly exporting this function.

Change-Id: Iec79c1684c74312fa121349c1d7f721666bf904a
CRs-Fixed: 1103127
2016-12-21 12:10:02 -08:00
qcabuildsw
75f16f5280 Release 5.2.0.3L
Release 5.2.0.3L

Change-Id: I780e371e274cdb7d73ebad68611af8160eee2375
CRs-Fixed: 688141
2016-12-21 03:12:37 -08:00
Frank Liu
65b17d9609 qcacld-3.0: Support southbound interface
Attach southbound interface. Each individual component is supposed
to define tx_ops and rx_ops function to attach with southbound.

Change-Id: I622a53ab76bc3bab3774e90569af53ad49b95053
CRs-Fixed: 1096553
2016-12-21 03:12:35 -08:00
qcabuildsw
32cd2a4a30 Release 5.2.0.3K
Release 5.2.0.3K

Change-Id: Ie42b90eaad86962f62c12e34f8eb212af4ca2d86
CRs-Fixed: 688141
2016-12-20 19:47:27 -08:00
Nitesh Shah
757435ed38 qcacld-3.0: Input validation for RSSI Delta for TDLS Config
Validating input for RSSI Delta for TDLS configuration in
the function wlan_hdd_tdls_check_config().

Change-Id: I74c00db19dc28f363fe4e349b2bd94440bfc9238
CRs-Fixed: 1102929
2016-12-20 19:47:26 -08:00
qcabuildsw
d612e4988c Release 5.2.0.3J
Release 5.2.0.3J

Change-Id: Ib7ad93e773eb7a15fc7b7b015e5c3a2c1401f925
CRs-Fixed: 688141
2016-12-20 13:17:38 -08:00
Arunk Khandavalli
649c009002 qcacld-3.0: Do not invoke pld_power_off during the module exit
Platform driver takes care of power off sequence during the module
exit.
Do not invoke the pld_power_off during the unload sequence.

Change-Id: Ib6d2e192849076acb60e0e6ebbbb9e5ed5938c2b
CRs-Fixed: 1093190
2016-12-20 13:17:37 -08:00
qcabuildsw
66f937362a Release 5.2.0.3I
Release 5.2.0.3I

Change-Id: I78adff926d02659871e61a55a3de8b9f775d9bdd
CRs-Fixed: 688141
2016-12-20 12:15:29 -08:00
Nitesh Shah
03161d1276 qcacld-3.0: Add INI template for concurrency feature
Add INI template for concurrency feature for documentation.

Change-Id: Idf6331a0b1c0d359058876bf256fc929175a0c9f
CRs-Fixed: 1097839
2016-12-20 12:15:27 -08:00
qcabuildsw
525c1d78b0 Release 5.2.0.3H
Release 5.2.0.3H

Change-Id: I72b47d6f30c4486b51f7523b2a5710f0165d7c0d
CRs-Fixed: 688141
2016-12-20 06:24:27 -08:00