Commit Graph

4150 Commits

Author SHA1 Message Date
Service qcabuildsw
ad1ab5563f Merge "qcacld-3.0: WMA: Remove obsolete support for tCsrPerStaStatsInfo" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:35 -07:00
Service qcabuildsw
9fa70dbf79 Merge "qcacld-3.0: HDD: Remove obsolete support for SME_PER_STA_STATS" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:35 -07:00
Service qcabuildsw
c306ae5089 Merge "qcacld-3.0: Redesign wma_get_stats_rsp_buf() buffer length logic" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:34 -07:00
Service qcabuildsw
ac3d85a92a Merge "qcacld-3.0: Correlate SME STATS macros to underlying enumerations" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:34 -07:00
Service qcabuildsw
6b4522fdc2 Merge "Release 5.2.0.16K" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:33 -07:00
Service qcabuildsw
25b3ed108f Merge "qcacld-3.0: Send Deauth and delete all TDLS stations" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:33 -07:00
Service qcabuildsw
d8c9156a82 Merge "Release 5.2.0.16J" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:28 -07:00
Service qcabuildsw
b1430417d6 Merge "qcacld-3.0: Change WLAN_P2P_ENABLE to CONVERGED_P2P_ENABLE" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:28 -07:00
Service qcabuildsw
7389b3ad48 Merge "Release 5.2.0.16I" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:28 -07:00
Service qcabuildsw
537be67967 Merge "qcacld-3.0: MCL changes for WIFI Positioning component" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:27 -07:00
Jeff Johnson
72f47475ef qcacld-3.0: WMA: Remove obsolete support for tCsrPerStaStatsInfo
WMA currently has legacy code to support the tCsrPerStaStatsInfo data
structure. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I42ba6535ccfaed99df46d389cbb8ddd9d0f9261b
CRs-Fixed: 2020066
2017-03-21 09:47:59 -07:00
Jeff Johnson
dfe895154b qcacld-3.0: HDD: Remove obsolete support for SME_PER_STA_STATS
HDD currently requests SME_PER_STA_STATS in a few of its legacy ioctl
handlers. However these stats were specific to the WDI firmware API
used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I070685a0ca2b9c53b93c1f950eab97ea65f43f1e
CRs-Fixed: 2020065
2017-03-21 09:47:58 -07:00
Jeff Johnson
dfd360e0fa qcacld-3.0: Redesign wma_get_stats_rsp_buf() buffer length logic
Currently wma_get_stats_rsp_buf() uses a loop to determine which mask
bits are set, and based upon the loop iteration count it determines
the size of the associated buffer. This calculation is fragile,
however, in that it tightly couples the loop iteration count and
eCsrRoamStatsClassTypes enumeration values. Since code under
development will be removing some of the eCsrRoamStatsClassTypes
enumerations, update this logic to remove the tight coupling.

Change-Id: Ia6cda4c8181c44d25a9da27acffe6bd10ca3b4ed
CRs-Fixed: 2020056
2017-03-21 09:47:56 -07:00
Jeff Johnson
97fdfd0e1b qcacld-3.0: Correlate SME STATS macros to underlying enumerations
Currently SME exposes a set of SME_*_STATS macros to indicate which
stats are of interest in a call to sme_get_statistics().

What is not obvious is that the values of these macros are required to
be aligned with the eCsrRoamStatsClassTypes enumerated values. Update
the macros to make that alignment explicit.

Change-Id: Id992a8230a1aa4df941ea7666bc00a661a9ab68e
CRs-Fixed: 2020055
2017-03-21 09:47:54 -07:00
Sandeep Puligilla
78c80e3bfb Release 5.2.0.16K
Release 5.2.0.16K

Change-Id: Ib341d387cf0baba1c521173fe55defb2c6ba8de5
CRs-Fixed: 688141
2017-03-21 06:12:14 -07:00
Nitesh Shah
99dd95556b qcacld-3.0: Send Deauth and delete all TDLS stations
This change addresses sending Deauth to TDLS peers,
delete TDLS stations and clear hdd structures if
concurrency is detected.

Change-Id: Ia9f6724a9db20c6d9ebfc2fa735569305f35f084
CRs-Fixed: 2022489
2017-03-21 06:12:14 -07:00
Sandeep Puligilla
39a65ce005 Release 5.2.0.16J
Release 5.2.0.16J

Change-Id: I0d9a4c525aafd63308f3360ced2d45ab8f6b7b25
CRs-Fixed: 688141
2017-03-21 02:16:05 -07:00
Wu Gao
5491e524d1 qcacld-3.0: Change WLAN_P2P_ENABLE to CONVERGED_P2P_ENABLE
Change it since WLAN_P2P_ENABLE easily confused with existed macro
WLAN_FEATURE_P2P. This is the change in Kbuild.

Change-Id: I571cb4c6e8e2b2d185811e1103a8990eb9d4b01d
CRs-Fixed: 2021997
2017-03-21 02:16:04 -07:00
Sandeep Puligilla
784bc88288 Release 5.2.0.16I
Release 5.2.0.16I

Change-Id: I2ab2bd43dfb3f10cdc8c43c728787549611544ea
CRs-Fixed: 688141
2017-03-21 01:10:22 -07:00
Naveen Rawat
910726a844 qcacld-3.0: MCL changes for WIFI Positioning component
Implement MCL changes to use new WIFI POS component APIs

Change-Id: Ifccc7f6e9c614570de758fde3a23b63ee5f387d7
CRs-Fixed: 2003488
2017-03-21 01:10:21 -07:00
bings
297247160e qcacld-3.0: Fix invalid peer local id in sap start bss
qcacld-2.0 to qcacld-3.0 propagation
Currently when cac ends, it will trigger eSAP_START_BSS_EVENT
with peer local id 0. If there is no peer with 0 local id, sap
starts fails.

Actually valid peer local id should be saved in sap context,
so it can be used in sap_signal_hdd_event.

Change-Id: I3779cb181390650844475b1a2f18768cb5784cf2
CRs-Fixed: 1096534
2017-03-20 23:57:04 -07:00
Sandeep Puligilla
c3f5fec55e Release 5.2.0.16H
Release 5.2.0.16H

Change-Id: Ief48470f9435c29e174094f92b76008fd49837a6
CRs-Fixed: 688141
2017-03-20 23:57:03 -07:00
Sreelakshmi Konamki
17d15ff8eb qcacld-3.0: Add MTRACE parser script parse_mac_trace.cmm file
qcacld-2.0 to qcacld-3.0 propagation

The parse_mac_trace.cmm file will be maintained
under core/mac/src/sys/legacy/src/utils/src/.
This script helps to decode MTRACE logs when we get crash dumps.

Change-Id: I421b53edc18c49e737411d3723b0a1536e86bc58
CRs-fixed: 957900
2017-03-20 23:57:02 -07:00
Sandeep Puligilla
d5b3f06380 Release 5.2.0.16G
Release 5.2.0.16G

Change-Id: I3ba760f0397f0e767887421cc4fa70d420d4a9f9
CRs-Fixed: 688141
2017-03-20 23:57:01 -07:00
Sandeep Puligilla
927809c0bb Release 5.2.0.16F
Release 5.2.0.16F

Change-Id: Ieb8095adeec34d288d7a7513c78f8b2870de4cdf
CRs-Fixed: 688141
2017-03-20 23:57:00 -07:00
Jeff Johnson
b7a168b658 qcacld-3.0: Correctly handle update of scan IEs
Excessive logging of the following error message was observed:
__wlan_hdd_cfg80211_scan: Update scan IEs with default Scan IEs failed

This message was being printed because wlan_hdd_update_scan_ies()
returns an error code when no default scan IEs have been configured.
But this is a valid scenario, so modify wlan_hdd_update_scan_ies()
to return success (0) when no default IEs have been configured.

Change-Id: I4b9dc1d38d38d326861b7c95d13b891cb0d0c522
CRs-Fixed: 2013531
2017-03-20 23:56:59 -07:00
Sandeep Puligilla
cbd36c2e5d Release 5.2.0.16E
Release 5.2.0.16E

Change-Id: I3e66cd64f8d75ce618a5d772e3e093dee5285647
CRs-Fixed: 688141
2017-03-20 23:56:58 -07:00
Naveen Rawat
7df318650c qcacld-3.0: Introduce ini knob for wifi pos logging
Add ini param qdf_trace_enable_wifi_pos to control WIFI_POS logging
level from config.ini

Change-Id: I9baa59448b9badaae94193bd7367a104309d0a1a
CRs-Fixed: 2003488
2017-03-20 23:56:57 -07:00
Naveen Rawat
4e2c25682f qcacld-3.0: Kbuild changes to include WIFI POS src files
Add WIFI POS source files path to Kbuild and add compile time feature
macro.

Change-Id: I553ebe10581851f77afa9458de2f43728f527156
CRs-Fixed: 2003488
2017-03-20 23:56:56 -07:00
Naveen Rawat
dd76180765 qcacld-3.0: Remove nl_srv_ucast_oem from wlan_hdd_oemdata.c
This API is moved to qcacmn as part of WIFI_POS convergence.
Remove this API from MCL code include necessary header file
for API.

Change-Id: I8622d0bbfd90c7aee5630aaa3e6e3540dfc9df9b
CRs-Fixed: 2003488
2017-03-20 11:38:13 -07:00
Sandeep Puligilla
1db28e1959 Release 5.2.0.16D
Release 5.2.0.16D

Change-Id: Ib1fcb4a6380953369f5e9c2b732bf2c86f0fa491
CRs-Fixed: 688141
2017-03-20 07:47:44 -07:00
Poddar, Siddarth
28014e9769 qcacld-3.0: Handle error condition when dma map fail
Change the return type to QDF_STATUS of htt_tx_desc_init function
to handle dma map and other error condition.
Free the tx descriptor if this function returns error.

CRs-Fixed: 2021634
Change-Id: Ib9154de308154c43c202ad8a88ecdfff04be47a2
2017-03-20 07:47:44 -07:00
Sandeep Puligilla
7b043b3501 Release 5.2.0.16C
Release 5.2.0.16C

Change-Id: I5eddda0ec9e1f1a05f7786534d373ca098d3aeb9
CRs-Fixed: 688141
2017-03-20 07:05:21 -07:00
Padma, Santhosh Kumar
8392fb49c6 qcacld-3.0: Invoke sme_dhcp_done_ind in all states
Currently driver drops RRM request before completion of DHCP.
Driver uses global variable dhcp_done to check completion of DHCP.
In static IP case, there is a chance that sme_dhcp_done_ind be
invoked before connection. Hence there is a chance that global
variable dhcp_done may not be set. This can cause driver to drop
RRM requests forever in static IP scenarios.

Invoke sme_dhcp_done_ind in all states to allow processing of
RRM requests in static IP scenarios as well.

Change-Id: I20e07eea7a66e7f3336dd783b9533ff642721209
CRs-Fixed: 2021041
2017-03-20 07:05:20 -07:00
Sandeep Puligilla
0e7cf24c43 Release 5.2.0.16B
Release 5.2.0.16B

Change-Id: I0e5ebabb3e10349327ed0174f4ae94dca0c79c69
CRs-Fixed: 688141
2017-03-20 02:47:44 -07:00
Poddar, Siddarth
d6b2fd232e qcacld-3.0: Add a flag in skb->cb for packet tracking
When a packet is generated internally, host adds a debug
node entry to the table and deletes the entry once received
tx completion for that packet by calling qdf_nbuf_free.
But when a packet is coming from network stack, host doesn’t
add any debug entry to the table and on receiving tx completion,
it calls qdf_nbuf_tx_free which will simply free the skb.

In case of P2P GO mode where packets are forwarded internally,
host creates a private copy of skb and add debug node entry in
the table. But when receiving a tx completion for the same packet
host calls qdf_nbuf_tx_free which will free the skb but will not
remove this node entry from the table. Currently, this api is common
for all data tx completion packets.

Add an extra flag in control block to differentiate whether skb is
generated by driver or come from network stack. If flag is true,
that means generated internally and need to remove the entry from
debug node table.

CRs-Fixed: 2021277
Change-Id: I07c12b5bf134a3e56d13005dbe03778781cdf176
2017-03-20 02:47:43 -07:00
Sandeep Puligilla
7cd0b291f4 Release 5.2.0.16A
Release 5.2.0.16A

Change-Id: I96d08713ac2b7dc9cdd15d9554d031100f878bc1
CRs-Fixed: 688141
2017-03-18 16:00:06 -07:00
Krishna Kumaar Natarajan
ed1efd9653 qcacld-3.0: [11AX] Add support in HDD to update HE Capabilities
Add support in HDD to update 11ax - High Efficiency(HE) Capabilities
received as part of the target configuration.

Add support for new WNI_CFG global config parameters to be
used for implementing 11AX standard.

Change-Id: I3f0d3af2369157c657ac59676a434dc794f84b19
CRs-Fixed: 1073481
2017-03-18 16:00:05 -07:00
Krishna Kumaar Natarajan
d0bbb3c52f qcacld-3.0: [11AX] Add support in WMA to receive HE Capabilities
Add support in WMA to receive and store HE capabilities coming
from extended service ready event.

Add support to receive HE capabilities, convert into OTA type of
internal host structure and pass it to the uppper layer as target
config. Add utility funciton for the conversion as well.

Change-Id: If0ceeb3db74be6cf6893b8e74c710863bab8b41b
CRs-Fixed: 1073481
2017-03-18 16:00:03 -07:00
Krishna Kumaar Natarajan
7ee45235ca qcacld-3.0: [11AX] Add 11ax related IEs in dot11f.frms
Add 11ax related IEs in dot11f.frms file.

Add new IEs to support 11ax/High Efficiency(HE). HE capabilities and
HE Operation are the two new IEs added and the IE definition is based on
the 11ax D1.0 specification.

Change-Id: Iab4219a7c068faca0337f70f921ec178f7170952
CRs-Fixed: 1073481
2017-03-18 16:00:00 -07:00
Krishna Kumaar Natarajan
639c6ffd72 qcacld-3.0: [11AX] Add feature flag for 11AX
Add feature flag for 11AX and enable the feature only for
QCA6290 chipset.

Change-Id: I342601304f73b68f39a1cd1a3d6c890df877e88e
CRs-Fixed: 1073481
2017-03-18 15:59:57 -07:00
Sandeep Puligilla
0a8be68224 Release 5.2.0.16
Release 5.2.0.16

Change-Id: I9da1ecba00d4e27fd9c3408359410ed8937f20df
CRs-Fixed: 688141
2017-03-17 16:58:03 -07:00
Tushnim Bhattacharyya
026fc2de84 qcacld-3.0: Add WLAN_POLICY_MGR_ENABLE in build file
Add WLAN_POLICY_MGR_ENABLE in build file to conditionally enable
Policy Manager code in host common

Change-Id: I879b6a223bed5d77d20a878667308aeb1071e609
CRs-Fixed: 2009818
2017-03-17 16:58:02 -07:00
Sandeep Puligilla
095acd9a3d Release 5.2.0.15Z
Release 5.2.0.15Z

Change-Id: I2b8dc807bc08b25304dabd587b8420257ab5078f
CRs-Fixed: 688141
2017-03-17 16:19:41 -07:00
Arif Hussain
405587c313 qcacld-3.0: Remove unnecessary log from wlansap_roam_callback
wlansap_roam_callback function logging an error message if
roam_status is not handled, in default case of switch, but same
information is logged before switch. So remove this log.

Change-Id: Id53eb392929d9328f959c7e54d7f0a5dd77b0739
CRs-Fixed: 2007415
2017-03-17 16:19:41 -07:00
Sandeep Puligilla
cfa8a4d50d Release 5.2.0.15Y
Release 5.2.0.15Y

Change-Id: I0d660d372b9de2c98e7e52230a3399c7834fcb0f
CRs-Fixed: 688141
2017-03-17 15:39:18 -07:00
Tushnim Bhattacharyya
6796d8df5e qcacld-3.0: Enable Policy Manager logging
Enable logging from new policy manager component.

Change-Id: I538b70d7261573a1673386a3984f6a5a821c70f2
CRs-Fixed: 2009818
2017-03-17 15:39:17 -07:00
Sandeep Puligilla
d616db2710 Release 5.2.0.15X
Release 5.2.0.15X

Change-Id: I117d932fc0db9d5cb43ef9f0cf5087de029a0eee
CRs-Fixed: 688141
2017-03-17 14:49:32 -07:00
Naveen Rawat
222b2e9b58 qcacld-3.0: Set Band Capability ini config to PSOC user config
Set Band Capability ini config to PSOC user config. This can later
be used in UMAC component.

Change-Id: I9044cec35cdb478881b827101ee79bcf87084d73
CRs-Fixed: 2003488
2017-03-17 14:49:32 -07:00
Sandeep Puligilla
a1156ed567 Release 5.2.0.15W
Release 5.2.0.15W

Change-Id: Id9398297da41d2176788c4453f30368d68a719d8
CRs-Fixed: 688141
2017-03-17 11:11:09 -07:00