Commit graph

2,212 commits

Author SHA1 Message Date
Venkateswara Swamy Bandaru
3e5e077d52 qcacmn: Fix tx completion stats for mesh
Enabled tx completion stats for mesh vdev irrespective of process_tx_status
of soc.

Change-Id: I46b3550b6433b354ec89da3628668befe7e55f83
CRs-Fixed: 2003389
2017-03-06 02:57:48 -08:00
Venkateswara Swamy Bandaru
c64c862938 qcacmn: Add debug support for mesh
Added per packet prints for mesh both in tx and rx path for Mesh packets.

Change-Id: I4738cf682971962fe0b07cd9fb88f8586e123f89
CRs-Fixed: 2003389
2017-03-06 02:57:47 -08:00
qcabuildsw
556bf7fc15 Release 5.1.1.13D
Release 5.1.1.13D

Change-Id: I588af2140268c12e732c712457d2a01e80e633ef
CRs-Fixed: 688141
2017-03-06 00:36:47 -08:00
Sathish Kumar
53477c51c8 qcacmn: Add TLV implementations for WIN specific WMI CMDs
Converged FW has few left-over WIN specfic WMI CMDs that need to be
implemented in TLV method.

WMI CMDs implemented through this change -

WMI_GPIO_CONFIG_CMDID
WMI_GPIO_OUTPUT_CMDID
WMI_PDEV_DFS_DISABLE_CMDID
WMI_PDEV_DFS_ENABLE_CMDID
WMI_PDEV_GET_NFCAL_POWER_CMDID
WMI_PDEV_SET_HT_CAP_IE_CMDID
WMI_PDEV_SET_VHT_CAP_IE_CMDID

Change-Id: Iad5532b305fae12f4eb8265cf9a662578041d06e
CRs-Fixed: 1115239
2017-03-06 00:36:46 -08:00
Sathish Kumar
cf77948b31 qcacmn: Add TLV extraction APIs for WIN specific WMI events
Converged FW has few left-over WIN specfic WMI events that need to be
implemented in TLV method.

WMI Extraction APIs implemented through this change -

WMI_PDEV_CHANNEL_HOPPING_EVENTID
WMI_PDEV_TPC_EVENTID
WMI_WDS_PEER_EVENTID
WMI_PEER_STA_PS_STATECHG_EVENTID
WMI_INST_RSSI_STATS_EVENTID

Change-Id: I7d312e40023fb10f71953b34d16b10ddf2a82f9c
CRs-Fixed: 1115239
2017-03-06 00:36:44 -08:00
Sathish Kumar
c750ae1175 qcacmn: Add TLV implementations for WIN specific WMI CMDs
Converged FW has few left-over WIN specfic WMI CMDs that need to be
implemented in TLV method.

WMI CMDs implemented through this change -

WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID
WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID
WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID
WMI_PEER_ATF_REQUEST_CMDID
WMI_FWTEST_CMDID
WMI_QBOOST_CFG_CMDID

Change-Id: Ice617f7adf387d534edaefd24857c253c937de48
CRs-Fixed: 1115239
2017-03-06 00:36:42 -08:00
Sathish Kumar
d780035c34 qcacmn: Add TLV implementations for WIN specific WMI CMDs
Converged FW has few left-over WIN specfic WMI CMDs that need to be
implemented in TLV method.

WMI CMDs implemented through this change -

WMI_PDEV_SMART_ANT_ENABLE_CMDID
WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID
WMI_PDEV_SET_CTL_TABLE_CMDID
WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID
WMI_PDEV_GET_TPC_CMDID
WMI_VDEV_RATEMASK_CMDID
WMI_VDEV_SET_DSCP_TID_MAP_CMDID
WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID
WMI_PEER_UPDATE_WDS_ENTRY_CMDID
WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID

Change-Id: I6e59bcb948a7368729df35d19c3d5a03a0075a15
CRs-Fixed: 1115239
2017-03-06 00:36:39 -08:00
qcabuildsw
ebeac48e17 Release 5.1.1.13C
Release 5.1.1.13C

Change-Id: I3ea85567d9523b853e853d92794c5c926cce1c35
CRs-Fixed: 688141
2017-03-05 23:06:10 -08:00
Orhan K AKYILDIZ
e32150ba3e qcacmn: Replace HELIUMPLUS_PADDR64 with HTT_PADDR64
Replace HELIUMPLUS_PADDR64 preprocessor macro with already
existing preprocessor macro HTT_PADDR64.

Change-Id: I5ae03c77a66d5b285ce8fda0723a55128b8adafe
CRs-Fixed: 2013399
2017-03-05 23:06:08 -08:00
qcabuildsw
8f5f8fce67 Release 5.1.1.13B
Release 5.1.1.13B

Change-Id: I5eaa0a4cc366a73a1dfce1d485af2a8089e9602d
CRs-Fixed: 688141
2017-03-05 21:53:15 -08:00
Kiran Venkatappa
161654aefa qcacmn: Convert wireless modes from target to host define
Convert wireless modes recieved in extended service ready to host
defines.

Change-Id: Iaabac651f5c0f6e781f26d31ff352d94742c2d90
CRs-Fixed: 1061096
2017-03-05 21:53:14 -08:00
qcabuildsw
fb2ead4abd Release 5.1.1.13A
Release 5.1.1.13A

Change-Id: Ia46263bb3af517f9c5573e4c5c5a390da853c397
CRs-Fixed: 688141
2017-03-05 19:28:09 -08:00
Kiran Venkatappa
5dba3a3f9a qcacmn: Fix init failure and DP detach crash
Skip free of nbuf with physical address less than 0x50000000. This will
ensure that same buffer is not getting allocated again resulting longer
DP init time and affecting WMI init sequence. And use correct pointer
in pdev detach function.

Change-Id: Iaab70c92adef741d5f20115cba164bcd7718886b
CRs-Fixed: 2013500
2017-03-05 21:38:40 +05:30
qcabuildsw
04d9944cba Release 5.1.1.13
Release 5.1.1.13

Change-Id: I9eb7427846398f2efabe3d4511d178db0a9c46a4
CRs-Fixed: 688141
2017-03-04 10:35:20 -08:00
Tushnim Bhattacharyya
99554a349f qcacmn: Save user configurations in psoc
object manager psoc structure to carry the user configurations.
These configurations will be referred by other umac components.

Change-Id: I532f42dd1bed4a1040b0d81a499cb002444f27ea
CRs-Fixed: 2003447
2017-03-04 10:35:19 -08:00
qcabuildsw
97678cf806 Release 5.1.1.12Z
Release 5.1.1.12Z

Change-Id: I45f7c64c1b371e981e4a47119b64a18b7cf0a676
CRs-Fixed: 688141
2017-03-04 09:02:57 -08:00
Venkateswara Swamy Bandaru
c14b1b6f66 qcacmn: Add support for Mesh RX stats
Added suport to extract per packet rx stats from tlv headers and to send
them to upper layers in predfined format.

Change-Id: If8aea2038939162a11ab869b585a0b203a396d71
CRs-Fixed: 2003389
2017-03-04 09:02:56 -08:00
qcabuildsw
d3600859be Release 5.1.1.12Y
Release 5.1.1.12Y

Change-Id: I56a0272999abd6955b90331ada32385627090f73
CRs-Fixed: 688141
2017-03-04 08:13:43 -08:00
Nishank Aggarwal
7aad6f68c7 qcacmn: Change default firmware log levels
Change default log level for all firmware modules and
also per module with a specific log level.

Change-Id: I33275f2737e0e56daea4e2edd8debca8016f1ed0
CRs-Fixed: 2013439
2017-03-04 16:57:13 +05:30
qcabuildsw
d9a2bf3fc5 Release 5.1.1.12X
Release 5.1.1.12X

Change-Id: Ic66307f615d3b2ecd9cdd9b49869784c90c5dfee
CRs-Fixed: 688141
2017-03-03 11:37:10 -08:00
Venkateswara Swamy Bandaru
3f62370e23 qcacmn: Add support for Mesh Tx path
Added mesh specific data path changes. Extract mesh meta header in the
packet and pass it to firmware. Fill tx completion stats and call upper layer
call back function incase external tx completion is registered.

Change-Id: Ic3c1c37b2f59b1a35e3cf00a4498342dc20427d2
CRs-Fixed: 2003389
2017-03-03 11:37:09 -08:00
qcabuildsw
5a8903b5f0 Release 5.1.1.12W
Release 5.1.1.12W

Change-Id: Ie3a8e4e6367233fecc67950b81f3820fc6ceb8de
CRs-Fixed: 688141
2017-03-03 08:14:17 -08:00
Ishank Jain
2bf04b40c0 qcacmn: Add support for WDS source port learning
Add or update WDS peer entry whenever source address of the
received pkt does not match with the peer table entries.

Change-Id: I7798a5b795777451f534be7d25d5f9b930f5c305
CRs-Fixed: 1117405
2017-03-03 08:14:16 -08:00
qcabuildsw
f23af78c43 Release 5.1.1.12V
Release 5.1.1.12V

Change-Id: I2e6917a67ef1577939bcec2e91932988b3ef7793
CRs-Fixed: 688141
2017-03-03 05:42:14 -08:00
Tallapragada Kalyan
aae8c4177e qcacmn: modify RX path to support multi-radio
replenish buffers to the respective RXDMA pool.

Change-Id: Ib9e366efa098482419a4eac4579786bd0eb13946
CRs-Fixed: 2008301
2017-03-03 05:42:13 -08:00
qcabuildsw
4a1d49dfb2 Release 5.1.1.12U
Release 5.1.1.12U

Change-Id: Ifdc6cc95d76a280d5541d8506e664dd5dc9c954f
CRs-Fixed: 688141
2017-03-03 04:20:33 -08:00
Rajeev Kumar
d7673a3c08 qcacmn: Remove duplicate (ext)service ready structures from WMI
Object manager psoc service ready api provides host (ext)service ready
data structures hence remove duplicate copy from wmi_unified_param.h
and change WMI to use psoc service ready data structures.

Change-Id: Iaec20e9b818077ed1ca58754c4b1bc6deaedd761
CRs-Fixed: 2002016
2017-03-03 04:20:32 -08:00
qcabuildsw
4e965a23cc Release 5.1.1.12T
Release 5.1.1.12T

Change-Id: I05248c8dc8c18b889d66b5c828a80eb3a8b8f029
CRs-Fixed: 688141
2017-03-02 22:49:28 -08:00
Tushnim Bhattacharyya
6e4f13348b qcacmn: restructure policy manager component
Initial changes to move policy manager to host common. Also
restructure the functionalities.

CRs-Fixed: 2009818
Change-Id: I163fe1f92be07dc4bc6380d889e26ce5d75e5671
2017-03-02 22:49:27 -08:00
qcabuildsw
148efadebe Release 5.1.1.12S
Release 5.1.1.12S

Change-Id: Ic02bb7f2123b14bf91048bd1ccfe51eea3490887
CRs-Fixed: 688141
2017-03-02 19:58:51 -08:00
Yingying Tang
75b776a7cf qcacmn: Fix unknown symbol error when FEATURE_TSO is disabled
__qdf_nbuf_get_tso_num_seg is defined under FEATURE_TSO but declared in header
file without FEATURE_TSO. Compilation can be successful when FEATURE_TSO is
disabled but there is unknown symbol error in driver loading.
Add fix to resolve this issue.

Change-Id: Ie01875405d65a0f43221cbfd42940747de0df916
CRs-Fixed: 2007179
2017-03-02 19:58:50 -08:00
qcabuildsw
1b6713eb15 Release 5.1.1.12R
Release 5.1.1.12R

Change-Id: Iffa3dcdd0b23611ca58ab2751b97a654ac86631a
CRs-Fixed: 688141
2017-03-02 13:41:30 -08:00
Vivek
0f86c40b01 qcacmn: Populate service ready data in PSOC
WIN side chanegs to populate service ready data in PSOC is now
yet ready hence  call PSOC object populate API.

Change-Id: Ib8d41fb94108447b8f10cf2d1cd5bf08f43863c6
CRs-Fixed: 2012638
2017-03-02 13:41:29 -08:00
qcabuildsw
0364cc80ba Release 5.1.1.12Q
Release 5.1.1.12Q

Change-Id: I2610b81971d0bb77f1ee31d0cd13e0155920d2e7
CRs-Fixed: 688141
2017-03-02 10:43:47 -08:00
Sandeep Puligilla
7acd31fa33 qcacmn: Add cfg80211 scan start and stop command
Add cfg80211 scan start and scan stop commands.

Change-Id: I20b6c7743496ae82cc3a93befb5b68812047ec1a
CRs-Fixed: 1095299
2017-03-02 16:11:46 +05:30
qcabuildsw
6a1c821afd Release 5.1.1.12P
Release 5.1.1.12P

Change-Id: I027edd908406710338f357255c64c74b9ca7066d
CRs-Fixed: 688141
2017-03-01 22:06:01 -08:00
Abhishek Singh
37bf2e0dca qcacmn: Add changes to get/flush scan results
Add changes to get/flush scan results. Also add support to
filter results depending on the filter passed.

Change-Id: Iefb297ef19058299fa26b9bb61202e902e5fd465
CRs-Fixed: 1095299
2017-03-01 22:06:00 -08:00
qcabuildsw
8f87b9515a Release 5.1.1.12O
Release 5.1.1.12O

Change-Id: Ia2ddb2f6c20bf5e416f1cf0dea0feef6152d91f8
CRs-Fixed: 688141
2017-03-01 21:17:54 -08:00
Krishna Kumaar Natarajan
3064cd6aab qcacmn: Fix incorrect status initialization
Initialize status to QDF_STATUS_SUCCESS in populate_hw_mode_capability
and populate_phy_reg_capability and update both functions to return
qdf_status_to_os_return(status). This will ensure in non-failure scenario
function always returns SUCCESS.

Change-Id: Ie3a44baad9e9f52b74e1bd78802c54b0371a22ed
CRs-Fixed: 2013723
2017-03-01 21:17:54 -08:00
qcabuildsw
6ff102fdad Release 5.1.1.12N
Release 5.1.1.12N

Change-Id: I4e328ab9f1c15d4c38999127ac9921fe30d7875b
CRs-Fixed: 688141
2017-03-01 20:35:13 -08:00
Kiran Venkatappa
c18657199f qcacmn: Add extract APIs for qvit event
Add extarct API to get QVIT event data.

Change-Id: I7777946a34f176dabb96f98ab3062222bc02b202
CRs-Fixed: 2003898
2017-03-01 20:35:13 -08:00
Kiran Venkatappa
ba56a96c1f qcacmn: Add pdev_id in utf event
pdev_id is used to derive pdev object.

Change-Id: I4ba4854587cb578cf630664f6ede922c9e4fa36b
CRs-Fixed: 2003898
2017-03-01 20:35:11 -08:00
qcabuildsw
86ff51aa72 Release 5.1.1.12M
Release 5.1.1.12M

Change-Id: Id7f50362cf354e48c8fde3e2e8f7420dbe323f6e
CRs-Fixed: 688141
2017-03-01 19:01:51 -08:00
Ravi Joshi
af9ace8358 qcacmn: Fix wlan_cfg file inclusion and remove duplicate static API
Due to issues in Kbuild wlan_cfg was included using relative path.
Also getting rid of a duplicate static function definition in
dp_peer.c.

Change-Id: Ie0883340a9143b739119f18c8871b4baa9787980
CRs-Fixed: 2005582
2017-03-01 19:01:51 -08:00
qcabuildsw
11d4f50003 Release 5.1.1.12L
Release 5.1.1.12L

Change-Id: Ib58e094f05ff280086b71573c4debfecaff89ec5
CRs-Fixed: 688141
2017-03-01 16:47:24 -08:00
Varun Reddy Yeturu
5f3eea41fb qcacmn: Rename serialization files
Rename wlan_serialization_legacy_mcl_api to
wlan_serialization_legacy_api for both header and c files

Change-Id: I94ed98c790a1f8f829fbc2de676dd3a0e9382b9d
CRs-Fixed: 2012863
2017-03-01 16:47:23 -08:00
qcabuildsw
72de3d95c8 Release 5.1.1.12K
Release 5.1.1.12K

Change-Id: I8dce4a58d87fde39444e614635fd527f2b3847a6
CRs-Fixed: 688141
2017-02-28 16:21:28 -08:00
Mukul Sharma
cb5bf77dc6 qcacmn: Refactor the wmi code for PMO component adaption
Currently, Host maintain multiple data structure at different
layers for offload related features like arp/ns/gtk etc.
Instead of using many structure use single data structure across
all layers for offload related feature (arp/ns/gtk) which is now
exposed by PMO. Hence to include PMO header's in WMI, refactor the
WMI code for PMO component by carving out PMO specific functionality
separatley.

Change-Id: I8314d5ece49bf6972fbe706d635385ae22d11b2e
CRs-Fixed: 2004523
2017-02-28 16:21:27 -08:00
Mukul Sharma
890dbd2774 qcacmn: Register PMO component RX OPS in Global lmac_if
Register PMO component RX OPS in Global lmac_if.

Change-Id: I034cee6f9190af49d75ee535a0109ee6dd44a8e2
CRs-Fixed: 2003433
2017-02-28 16:21:26 -08:00
Mukul Sharma
33f335ad4a qcacmn: Add PMO functionality in target interface
Add PMO functionality in target interface

Change-Id: I49d2a8cf2f6e416fce6c5360ea5e6686574bfe88
CRs-Fixed: 2002388
2017-02-28 16:21:24 -08:00