Commit graph

1,344 commits

Author SHA1 Message Date
Service qcabuildsw
e6148d6dc8 Merge "qcacld-3.0: Add NULL check before dereferencing pdev" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:47 -07:00
Service qcabuildsw
62fced3f52 Merge "qcacld-3.0: Check inputs during vdev register" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:45 -07:00
Service qcabuildsw
23f28aca26 Merge "qcacld-3.0: Remove unused macros from Kbuild" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:42 -07:00
Service qcabuildsw
0f82efc9b9 Merge "qcacld-3.0: Fix null pointer dereference in wlan_hdd_nan_datapath.c" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:40 -07:00
Service qcabuildsw
0ddd1e68b4 Merge "qcacld-3.0: Remove IBSS from MAX_IBSS_PEERS macro" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:37 -07:00
Service qcabuildsw
444380d071 Merge "qcacld-3.0: Use hdd_err and hdd_info instead of legacy hddLog api" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:35 -07:00
Service qcabuildsw
9512ba12c4 Merge "qcacld-3.0: Fix vendor ID for P2P listen offload" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:32 -07:00
Service qcabuildsw
b5706392e7 Merge "Release 5.1.0.20" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:30 -07:00
Service qcabuildsw
30cd33d895 Merge "qcacld-3.0: Revert [qca-cld]Fix for UDP-UL data-stall on ROME3.1" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:27 -07:00
Service qcabuildsw
1b3fb824e5 Merge "qcacld-3.0: Fix compilation error on disabling MCC to SCC switch feature" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:24 -07:00
Service qcabuildsw
a5f36ac024 Merge "qcacld-3.0: Move NULL check before dereferencing pdev" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:21 -07:00
Service qcabuildsw
befb64dca2 Merge "qcacld-3.0: Add validation to avoid buffer overflow" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:19 -07:00
Service qcabuildsw
aeec51e0d5 Merge "Release 5.1.0.19" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:17 -07:00
Service qcabuildsw
bdfd84d893 Merge "qcacld-3.0: update fw common interface files(part-2)" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:14 -07:00
Service qcabuildsw
f6bcb1de8d Merge "qcacld-3.0: Add host changes for latest fw common changes" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:12 -07:00
Service qcabuildsw
2ea922dbc9 Merge "qcacld-3.0: Correct fw common references in dp layer" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:10 -07:00
Service qcabuildsw
e8d9431b15 Merge "qcacld-3.0: update FW common interface files" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:07 -07:00
Service qcabuildsw
a58b6df0a9 Merge "qcacld-3.0: Add support for WMI_PDEV_WAL_POWER_DEBUG_CMD" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:04 -07:00
Service qcabuildsw
bd74b26639 Merge "qcacld-3.0: Use interval field provided by DRIVER command P2P_SET_NOA" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:02 -07:00
Service qcabuildsw
98b90c4ca1 Merge "qcacld-3.0: Update log level related to PNO" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:00 -07:00
Himanshu Agarwal
10415ce039 qcacld-3.0: Add NULL check before dereferencing pdev
Add NULL check before dereferencing pdev in wma_mgmt_tx_completion_handler.

Change-Id: If7e06e2e46436f96a18d6c6b9ad6fc6afd7a4d8b
CRs-fixed: 1034746
2016-07-12 07:06:01 -07:00
Dhanashri Atre
41c0d28570 qcacld-3.0: Check inputs during vdev register
Change to ensure that the vdev and txrx operations passed to
data path during vdev registration are valid.

Change-Id: I912194184ae65229ddd7243afa58c56f4579959a
CRs-Fixed: 1035414
2016-07-11 19:27:44 -07:00
Sandeep Puligilla
e438cd1f6e qcacld-3.0: Remove unused macros from Kbuild
Kbuild contains several macros in CDEFINES that are no longer used

Removed these macros from Kbuild file

Change-Id: Ib34ada0b2a07b9d428e9b29ad13ce5fe0302d461
CRs-Fixed: 1023225
2016-07-11 18:11:24 -07:00
Naveen Rawat
e21103f6f2 qcacld-3.0: Fix null pointer dereference in wlan_hdd_nan_datapath.c
Fix null pointer dereference in wlan_hdd_nan_datapath.c

Change-Id: Ic968e441411033c3eeb9ec39aff4fc308b80bce8
CRs-Fixed: 962367
2016-07-11 17:34:04 -07:00
Naveen Rawat
c45d162627 qcacld-3.0: Remove IBSS from MAX_IBSS_PEERS macro
Remove IBSS from MAX_IBSS_PEERS, since this is a generic macro.

Change-Id: Ic50205e84890e6a3bda603ad0f54bebfb2a727ea
CRs-Fixed: 1039559
2016-07-11 16:59:53 -07:00
Naveen Rawat
ba4f661f6a qcacld-3.0: Use hdd_err and hdd_info instead of legacy hddLog api
Remove use of hddLog api calls and use newer hdd logging apis:
hdd_err and hdd_info

Change-Id: Ic9a9dbe393a9a7582a31aa613fb812034819a821
CRs-Fixed: 962367
2016-07-11 16:15:24 -07:00
Peng Xu
82e4e64c6d qcacld-3.0: Fix vendor ID for P2P listen offload
Correct vendor ID used for P2P listen offload start and stop commands.

Change-Id: I63ad3268e56aa143818ca691634d0edae45ae61f
CRs-fixed: 1040150
2016-07-11 15:38:40 -07:00
Vishwajith Upendra
cfc4bd0439 Release 5.1.0.20
Release 5.1.0.20

Change-Id: I0286ed7be3f9b420fc0beaa98fafc537a2033c17
CRs-Fixed: 688141
2016-07-11 14:33:31 -07:00
Mohit Khanna
b477e0ba22 qcacld-3.0: Revert [qca-cld]Fix for UDP-UL data-stall on ROME3.1
qcacld-2.0 to qcacld-3.0 propagation

This reverts change Id461e72919911dff2f93ea7210cb41f643a19b33

The existing code is checking for headroom in the skb coming to HDD from
TCP/IP stack and ends up allocating a new skb and skb->data in case there
is not enough headroom. Headroom is not needed to process outgoing TX
packets in qca_cld3.0 converged code for ROME and ihelium.
Besides a CPU hit, the re-allocation is also causing ROME based products
to use bounce buffers when the new skb(data) is mapped for DMA, since the API
for headroom allocation does not use GFP_DMA flag.

Remove the skb headroom/re-alloc logic to fix the issue.

Keep the existing skb_unshare code as it affects TCP TX for ihelium.
Needs further analysis.

Change-Id: I4980e047aa158c5de0f4f2a557c83f4555bca840
CRs-Fixed: 851524
2016-07-11 13:34:37 -07:00
Chandrasekaran Manishekar
54521c86b2 qcacld-3.0: Fix compilation error on disabling MCC to SCC switch feature
Fix compilation error on disabling the MCC to SCC switch feature flag
FEATURE_WLAN_MCC_TO_SCC_SWITCH.

Change-Id: Id741f86d2e514c5dc5bfa8164ff37f56cd1ca630
CRs-Fixed: 1037396
2016-07-11 06:37:51 -07:00
Poddar, Siddarth
21e7bf0a3a qcacld-3.0: Move NULL check before dereferencing pdev
Move NULL check before dereferencing pdev in ol_tx_create_flow_pool

Change-Id: I42398c9473690a0a8f70f35cc7d5aac87c4ec7e7
CRs-fixed: 1034748
2016-07-11 04:59:47 -07:00
Kabilan Kannan
44f6586a20 qcacld-3.0: Add validation to avoid buffer overflow
Buffer overflow condition is not validated correctly in function
sme_update_tdls_peer_state(). This may result in erratic program
behavior.
Add buffer over flow validation to avoid memory access errors,
incorrect results, a crash, or a breach of system security.

Change-Id: I793bd056b32924b484ce7cb264b22c74c8c4cca4
CRs-Fixed: 1035656
2016-07-08 17:26:54 -07:00
Vishwajith Upendra
07f95f3098 Release 5.1.0.19
Release 5.1.0.19

Change-Id: I2e8b08920704cb243886aefd8a8029823783232b
CRs-Fixed: 688141
2016-07-08 14:00:06 -07:00
Govind Singh
805ac5b24a qcacld-3.0: update fw common interface files(part-2)
FW common files needs to be in sync with host and fw.
Update host fw common interface files with latest version
of FW interface files.

Change-Id: I28dcdabb5b141d00ad0ce482fec74775b22ace85
CRs-Fixed: 1012542
2016-07-08 06:12:11 -07:00
Govind Singh
5b48620c03 qcacld-3.0: Add host changes for latest fw common changes
FW common files needs to be in sync with host and fw.
Add changes to compile successfully with latest version
of FW interface file.

Change-Id: I487a18185c406da5c2fb07e2a95cafe4793578aa
CRs-Fixed: 1012542
2016-07-08 06:12:10 -07:00
Govind Singh
8c46db9759 qcacld-3.0: Correct fw common references in dp layer
FW common files needs to be in sync with host and fw.
Correct fw common references in dp layer with latest copy
of fw common files.

Change-Id: I194c25045ca978634027a94bc74f22253b1afc86
CRs-Fixed: 1012542
2016-07-08 06:12:06 -07:00
Govind Singh
55b8dafb91 qcacld-3.0: update FW common interface files
FW common files needs to be in sync with host and fw.
Update host fw common interface files with latest version
of FW interface files.

Change-Id: Id4585fbbfaeba186075ecc54b35024315d6e0b68
CRs-Fixed: 1012542
2016-07-08 06:12:04 -07:00
Manjeet Singh
f82ed071d0 qcacld-3.0: Add support for WMI_PDEV_WAL_POWER_DEBUG_CMD
Add support for WMI POWER DEBUG command to control mac_core power features
for run time debugging.

Change-Id: I77ad747843cae31de1705b7ce8fa80e18c9ca53e
CRs-Fixed: 1007598
2016-07-08 05:14:42 -07:00
Manishekar Chandrasekaran
371e5af0bd qcacld-3.0: Use interval field provided by DRIVER command P2P_SET_NOA
Ensure that the interval field provided by the DRIVER command
P2P_SET_NOA is used while populating the NoA parameters. Make sure
that the interval and duration fields are in TU units.

Change-Id: I9e1e60a0019e90deab36df5d8ba7822dfa4dcae0
CRs-Fixed: 1036494
2016-07-07 22:15:24 -07:00
Sandeep Puligilla
707386ec00 qcacld-3.0: Update log level related to PNO
PNO kernel debug logs are too frequent.

Reduced the log level of PNO messages from error to info

Change-Id: I27166f542889e0d5071ae8c558e0227c51064c5f
CRs-Fixed: 1022820
2016-07-07 22:15:23 -07:00
Service qcabuildsw
c273af22e1 Merge "Release 5.1.0.18" into wlan-cld3.driver.lnx.1.1-dev 2016-07-07 12:39:33 -07:00
Service qcabuildsw
13deb3fd8b Merge "qcacld-3.0: Add NULL check for ol_ctx in bmi_download_firmware" into wlan-cld3.driver.lnx.1.1-dev 2016-07-07 12:39:31 -07:00
Service qcabuildsw
80b98532e8 Merge "qcacld-3.0: Fix NULL pointer dereferencing in p2p TX MGMT" into wlan-cld3.driver.lnx.1.1-dev 2016-07-07 12:39:29 -07:00
Vishwajith Upendra
54963e5289 Release 5.1.0.18
Release 5.1.0.18

Change-Id: I86ea662a598263979f62f5b9882e8e95269b2b98
CRs-Fixed: 688141
2016-07-06 23:30:03 -07:00
Yuanyuan Liu
8052806008 qcacld-3.0: Add NULL check for ol_ctx in bmi_download_firmware
ol_ctx is NULL by default if NO_BMI is defined. Hence, add NULL
check for ol_ctx in bmi_download_firmware so that this NULL pointer
could be handled properly in BMI and NO_BMI cases.

Change-Id: I17b6a7e266e41b1f9135bb81bf4329c1ae460862
CRs-Fixed: 1038414
2016-07-06 22:44:40 -07:00
Archana Ramachandran
dc7f2c9c2f qcacld-3.0: Fix NULL pointer dereferencing in p2p TX MGMT
Fix dereferencing channel struct pointer without verifying the
validity.

CRs-Fixed: 1034743
Change-Id: I7a49467c3fdbe85c7255fcce7f135e53658eef63
2016-07-06 14:42:58 -07:00
Archana Ramachandran
98f6df1aaf qcacld-3.0: Fix NULL pointer dereferencing in wlan_hdd_Scan
The absence of handler logic when only some of the scan request
parameters are invalid would lead to NULL pointer dereferencing.

CRs-Fixed: 1034158
Change-Id: I2f9b35449e2a39d381f29df1c280e1301526f1c6
2016-07-06 14:40:36 -07:00
Varun Reddy Yeturu
e20ffc05d0 qcacld-3.0: Enable early stop scan by default
Enable the early stop scan feature by default and also
modify the default values as per the request from the
firmware

CRs-Fixed:  1036474
Change-Id: I0f2596633084ea97e64fb2c7d9975052d1ac98fb
2016-07-06 13:35:43 -07:00
Varun Reddy Yeturu
83ccb9b38b qcacld-3.0: Fix the invalid SNR value in Host
qcacld-2.0 to qcacld-3.0 propagation

Firmware sends 0x127 as the invalid snr value when it is in a
state of unable to get it from either a beacon or data packet

CRs-Fixed: 939255
Change-Id: Ia45a8c4acd6a54ff3e56b192c11cea0df97eadaf
2016-07-06 13:34:48 -07:00
Vishwajith Upendra
2a9318a7e9 Release 5.1.0.17
Release 5.1.0.17

Change-Id: I3b342d728cc280e434833a07b6d8ed6d1d19b98d
CRs-Fixed: 688141
2016-07-06 13:33:12 -07:00