Commit Graph

3898 Commits

Author SHA1 Message Date
Service qcabuildsw
b92b0284e1 Merge "qcacld-3.0: Indicate roc expire event to supplicant" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:10 -07:00
Linux Build Service Account
f70db24c5c Merge "Release 5.2.0.16O" 2017-03-22 04:10:44 -07:00
Ganesh Kondabattini
2da6ac02a6 qcacld-3.0: Indicate roc expire event to supplicant
qcacld-2.0 to qcacld-3.0 propagation

When extending the RoC for off channel tx, the cookie of of the RoC
is changed to action cookie so that RoC request and off channel tx
mapped to same tx frame. Indicate roc expire event to the supplicant
for the RoC request before updating the RoC cookie with action cookie.

Change-Id: I66896dd1e98d83b92d4f1e60c7057acd80743929
CRs-Fixed: 2002054
2017-03-21 23:19:29 -07:00
Service qcabuildsw
11ebed34a2 Merge "Release 5.2.0.16N" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:40 -07:00
Service qcabuildsw
fb3b44e1e5 Merge "qcacld-3.0: Pass proper values to bit manipulation methods to avoid panic" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:39 -07:00
Service qcabuildsw
e4f3c5de2e Merge "Release 5.2.0.16M" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:39 -07:00
Service qcabuildsw
66764e5e81 Merge "qcacld-3.0: Fix SBS is set to true by policy manager in SCC mode" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:38 -07:00
Service qcabuildsw
debea2ff87 Merge "Release 5.2.0.16L" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:36 -07:00
Service qcabuildsw
513adda982 Merge "qcacld-3.0: SME: Remove obsolete support for tCsrPerStaStatsInfo" into wlan-cld3.driver.lnx.2.0-dev 2017-03-21 18:48:36 -07:00
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
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
Sandeep Puligilla
f0ee944b3e Release 5.2.0.16O
Release 5.2.0.16O

Change-Id: I3267c47231b14b7d57c03318963feb95b934edf3
CRs-Fixed: 688141
2017-03-21 16:15:13 -07:00
Sreelakshmi Konamki
075431a9f8 qcacld-3.0: Remove redundant MTRACE logs
This change includes to remove redundant MRACE logs
which are seen very frequent in MTRACE dumps and
remove multiple definition of WMA_SET_TX_POWER_REQ.

Change-Id: Ic5ac780ba3d31a8f2c6e4c10f7af5051864e7f3e
CRs-Fixed: 2020491
2017-03-21 16:15:12 -07:00
Sandeep Puligilla
8c8651e43c Release 5.2.0.16N
Release 5.2.0.16N

Change-Id: I3ebf9dfddc27906a0238f9d5f872f9d58ede2cd2
CRs-Fixed: 688141
2017-03-21 13:25:07 -07:00
Manjeet Singh
1a376cea13 qcacld-3.0: Pass proper values to bit manipulation methods to avoid panic
qcacld-2.0 to qcacld-3.0 propagation

Observed kernel panic due to improper arguments passed to kernel bit
manipulation functions (like set_bit, clear_bit etc.) i.e these
functions expects bit positions as its first argument but bit mask
values are being passed.

To fix these issues ensure below points:
   - Pass bit position as a first argument to bit manipulation
     functions.
   - Re-define MACROs which gives false impression of bit mask values
     with their naming convention.

Change-Id: Ief8cd83b05f01a0926f91c0e9fb461ddd498e05e
CRs-Fixed: 981050
2017-03-21 13:25:06 -07:00
Sandeep Puligilla
0a4d0786fd Release 5.2.0.16M
Release 5.2.0.16M

Change-Id: Idfce036a6ffd92f520bbf5fe336936ec936877db
CRs-Fixed: 688141
2017-03-21 12:31:13 -07:00
Archana Ramachandran
92b4bf1196 qcacld-3.0: Fix SBS is set to true by policy manager in SCC mode
SBS is always set to true by the policy manager. so for the second
connection, if the mode is not DBS, then SBS HW mode is selected.
Since SBS is not supported the second connection fails with invalid
HW mode error.

Change-Id: I817e83cbac194cdfde73a586491d645631692f12
CRs-Fixed: 2021512
2017-03-21 12:31:12 -07:00
Sandeep Puligilla
0695335768 Release 5.2.0.16L
Release 5.2.0.16L

Change-Id: I562e1dec8ee89193f4b3513c055153a77fa2fba9
CRs-Fixed: 688141
2017-03-21 09:48:02 -07:00
Jeff Johnson
60be8a9f44 qcacld-3.0: SME: Remove obsolete support for tCsrPerStaStatsInfo
SME 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 SME.

Change-Id: Ibab7f94764c68933633c46da497613add0824ff1
CRs-Fixed: 2020067
2017-03-21 09:48:01 -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
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
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