Commit Graph

5668 Commits

Author SHA1 Message Date
Agrawal Ashish
df8e43c507 qcacld-3.0: Populate correct txpower in RRM Link Measurement Request
qcacld-2.0 to qcacld-3.0 propagation

Currently, driver doesn't consider tx power which was negotiated
at the time of connection for max tx power for RRM Link Measurement
Request.
Fix this by not allowing tx power more than pSessionEntry->maxTxPower.

Change-Id: Idebe6d11e05da0b3b8186e2c84ff8ad4ac124fdc
CRs-Fixed: 2021835
2017-07-27 16:59:47 -07:00
Agrawal Ashish
c416da60c5 qcacld-3.0: Trigger pktlog as part of hb failure/kickout event
When Driver does disconnect as part of heartbeat failure
or kickout event, trigger fatal event to capture pktlog.

Change-Id: I43a486afeccc4acd4be542357b803d492afde9c0
CRs-Fixed: 2030718
2017-07-27 16:59:44 -07:00
snandini
faa688cedd Release 5.2.0.36
Release 5.2.0.36

Change-Id: Ief8c442d2009503255cab2df47a350d24ec980e6
CRs-Fixed: 774533
2017-07-27 16:59:42 -07:00
Ashish Kumar Dhanotiya
0f2ef95a2a qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_scan.c
Fix kernel checkpatch warnings in wlan_hdd_scan.c

Change-Id: Iadace9583f8396a11de64682b95e1f63073f67f6
CRs-Fixed: 2024274
2017-07-27 16:59:40 -07:00
Arunk Khandavalli
4e7afa658f qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_hostapd.h
Fix kernel checkpatch warnings in wlan_hdd_hostapd.h

Change-Id: Ibdde25dcff04d2515f591c3d235c0990f00708a4
CRs-Fixed: 2024274
2017-07-27 16:59:36 -07:00
Arunk Khandavalli
15664e4e9a qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_nan_datapath.c
Fix kernel checkpatch warnings in wlan_hdd_nan_datapath.c.

Change-Id: Iec8437dd8b5685a6889280f1f9858221e31a8fe8
CRs-Fixed: 2024274
2017-07-27 16:59:34 -07:00
Arunk Khandavalli
0ecf8c85ad qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_debugfs.c
Fix kernel checkpatch warnings in wlan_hdd_debugfs.c

Change-Id: Ifdd7b43720f75dab627310b66a398c22cbe55963
CRs-Fixed: 2024274
2017-07-27 16:59:31 -07:00
Ashish Kumar Dhanotiya
cf11bae9c0 qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_power.c
Fix kernel checkpatch warnings in wlan_hdd_power.c

Change-Id: I0a22c2c1ebc86ada69ff271cbd68f2166e08b541
CRs-Fixed: 2024274
2017-07-27 16:59:29 -07:00
Dustin Brown
8d8d9fe485 qcacld-3.0: Add enhanced multicast enable/disable APIs
Currently, a hard-coded enhanced multicast filter configuration is being
sent to firmware. Instead, create a set of enable/disable APIs, and
configure enhanced multicast filter based on advertised firmware
capability.

Change-Id: I488b4a921612e1081266be8831be098d755375f9
CRs-Fixed: 2078615
2017-07-27 16:59:26 -07:00
snandini
023e45ae64 Release 5.2.0.35Z
Release 5.2.0.35Z

Change-Id: I6d8ce847c3178f7e40cdc38583807c5629d65b7d
CRs-Fixed: 774533
2017-07-27 16:59:24 -07:00
Dustin Brown
c86d5368b0 qcacld-3.0: Do not wait for scan cancel during suspend
In the suspend path, the code waits for all active/pending scans to be
cancelled before continuing the suspend. Instead, for better power
savings, abort all active/pending scans during suspend and immediately
continue the suspend process.

Change-Id: I16a5429c00034fe58fb4c70a8dacda666ac54227
CRs-Fixed: 2073229
2017-07-27 16:59:22 -07:00
Krishna Kumaar Natarajan
9cc71e6783 qcacld-3.0: Fix incorrect processing of encrypted auth frame
Fix incorrect processing of encrypted auth frame by allocating
appropriate local buffer and using correct type for frame length.

Change-Id: I87d6f4c3c43dd332d5b1877ddf4b3b46a717468b
CRs-Fixed: 2081734
2017-07-27 16:59:20 -07:00
Sridhar Selvaraj
22943574b2 qcacld-3.0: Add bound check for numap to avoid integer overflow
Currently, numap is int and is assigned with a uint32 value from
fw which might lead to integer overflow. Also, when multiplying
the uint32 value with sizeof dest_ap could lead to int overflow
if the value of numap is close to uint32's maximum limit.

Fix/Modify numap to uint32 to be in sync with value from fw cmd.
Also add check to trim down numap value to max (10) if value is
greater than max (10).

Change-Id: I060f585c8c951807cd32b5eec75c1bad2e84a75b
CRs-Fixed: 2082665
2017-07-27 16:59:18 -07:00
snandini
349a52f0d3 Release 5.2.0.35Y
Release 5.2.0.35Y

Change-Id: Ifacbe655f70029f4665ad49592fcdb3b02e346fd
CRs-Fixed: 774533
2017-07-27 16:59:16 -07:00
Govind Singh
98b6255df6 qcacld-3.0: Remove QCA_WIFI_3_0_EMU flag from Kbuild
QCA_WIFI_3_0_EMU flag is introduced for IHelium emulation
platform, where wait/error timeouts are kept for larger values.
Remove this flag for production target.
Increase tx completion drain delay to 1sec from 500ms to avoid
unwanted suspend abort.

Change-Id: Ie0633b3a2bbc9e2237039311af7417952961aada
CRs-Fixed: 2047750
2017-07-27 16:59:14 -07:00
snandini
39ed073327 Release 5.2.0.35X
Release 5.2.0.35X

Change-Id: I79b53890ee6e84297e538c4a5300ac4c7ca9e7c1
CRs-Fixed: 774533
2017-07-27 16:59:12 -07:00
Liangwei Dong
ffd52d1f27 qcacld-3.0: Fix edca parameter issue
qcacld-2.0 to qcacld-3.0 propagation

Update EDCA parameter if the country is in European
Union based on new ETSI RED channel access parameters.

Change-Id: I08b1a0d7cd0ee1f6985cd0810c5c4c1108e582b4
CRs-Fixed: 2078985
2017-07-27 16:59:11 -07:00
Liangwei Dong
95d6c373bb qcacld-3.0: skip FW dump for SDIO SSR
Skip FW memory dump in SSR case for HL SDIO solution.
HL SDIO uses the diag read API to read by 4 bytes,
which is too slow to meet SSR time requirement.

Change-Id: Iacde90ab0ec84f29f3744bf4497ec8fd8517600a
CRs-Fixed: 2071329
2017-07-27 16:59:09 -07:00
snandini
3484fedf8f Release 5.2.0.35W
Release 5.2.0.35W

Change-Id: I603a95e59c24c6a50174c059224cfcd0c55fff07
CRs-Fixed: 774533
2017-07-27 16:59:07 -07:00
yeshwanth sriram guntuka
1413dfbf79 qcacld-3.0: Add ini to indicate OCE support to user space
Vendor features are used to indicate OCE support
from driver to user space which are set based on ini
params for STA and SAP.

Change-Id: I1b9039307d5477883a2fd23e972d20234908ee24
CRs-Fixed: 2031980
2017-07-27 16:59:06 -07:00
snandini
8b760bcacb Release 5.2.0.35V
Release 5.2.0.35V

Change-Id: Ibcfdeea8df5db3e43f777369a70be566e7490b0f
CRs-Fixed: 774533
2017-07-27 16:59:03 -07:00
Ravi Joshi
b398c85774 qcacld-3.0: Fix stability issue observed in set channel request
Fix array out-of-bounds access while populating the BSS rate set.
The issue was seen while populating the basic supported rate
and extended rate sets.

CRs-Fixed: 2081423
Change-Id: I8626399b7f9a04dc368daa582b6a09500a7ea015
2017-07-27 16:59:01 -07:00
Hanumanth Reddy Pothula
6310c77b23 qcacld-3.0: Process pno ioctl appropriately
propagation from qcacld-2.0 to qcacld-3.0.

While processing setpno ioctl, input arguments are not validated
and also while parsing arguments, there is a possibility of Host
accessing memory beyond memory allocated as there is no check
whether is Host is accessing valid memory or not.
Validate input arguments and make sure Host won't access invalid
memory, while processing setpno ioctl.

Change-Id: Ica9ea56283d55282cff3ccd349e4bc1c08b80e70
CRs-Fixed: 1097868
2017-07-27 16:58:59 -07:00
Govind Singh
9ad8414613 qcacld-3.0: Prevent rx hashlist access after rx hash deinit
Rx hash deinit sets hash_table to NULL, at the same time
there can be active tasklet context accessing the rx hash list.
Prevent rx hashlist access after rx hash deinit and set the netbuf
to NULL once netbuff is popped out of the list.

Change-Id: I4e30dd69ece33c3cc768842274d5307c0bf29a37
CRs-Fixed: 2049121
2017-07-27 16:58:57 -07:00
snandini
66d7b4731e Release 5.2.0.35U
Release 5.2.0.35U

Change-Id: I8f06b2306ec1c040292ba9b685a194f4c9d340da
CRs-Fixed: 774533
2017-07-27 16:58:55 -07:00
Hanumanth Reddy Pothula
ffc2d4866e qcacld-3.0: Rename ini param name sap_restart_on_ch_avoid
sap_restart_on_ch_avoid ini parameter holds good for both SAP and GO.
So to make it generic, rename to ignore_restart_on_chan_avoid_event.

Change-Id: Ic68014a71b36e00c268da50528bf5e14fd87d007
CRs-Fixed: 2027436
2017-07-27 16:58:53 -07:00
snandini
be61cdab89 Release 5.2.0.35T
Release 5.2.0.35T

Change-Id: Ifc1c1f8425c6ea199e141fe8e2b07dc34ce22d7c
CRs-Fixed: 774533
2017-07-27 16:58:52 -07:00
Ganesh Kondabattini
acaf8a9c4c qcacld-3.0: Change the min and default values of gTDLSEnableDeferTime
Driver is disabling the tdls for 5s from the last p2p-listen request
received. This is leading to tdls connection failure even after p2p
find has been stopped.

So reducing the min and default timer values 500ms and 2s respectively.

CRs-Fixed: 2078933
Change-Id: Id1ab3945d029de8154aede403b354aec99f4cd79
2017-07-27 16:58:50 -07:00
snandini
2d6a2272a6 Release 5.2.0.35S
Release 5.2.0.35S

Change-Id: I6fc460d4791e6af115f1a0fc0284dbacae3cf935
CRs-Fixed: 774533
2017-07-27 16:58:49 -07:00
Mohit Khanna
c19888f4c5 qcacld-3.0: Fix compilation error due to htt_display_rx_buf_debug
The function is not present as inline in the non debug build, which will
cause a compilation error.
Fix issue by having an empty inline function in the header file.
Some counters need to be defined outside of DEBUG_RX_RING_BUFFER.

Change-Id: I755616aa55c2f38bca017137e91cc469de7fbdcf
CRs-Fixed: 2004927
2017-07-27 16:58:47 -07:00
snandini
7e89acef2b Release 5.2.0.35R
Release 5.2.0.35R

Change-Id: I57b4e114c4ce1500b63e5b46a35286bd71151eb2
CRs-Fixed: 774533
2017-07-27 16:58:45 -07:00
Arif Hussain
0c81692edf qcacld-3.0: Fix null pointer access in lim_send_assoc_rsp_mgmt_frame
Make sure sta is not null before dereferencing in
lim_send_assoc_rsp_mgmt_frame function.

Change-Id: Ifb7c4a3b1e02297906bfa1b7908c27929682cf28
CRs-Fixed: 2030304
2017-07-27 16:58:43 -07:00
Linux Build Service Account
5833b7c944 Merge "qcacld-3.0: Add ecsa capability record" 2017-07-26 15:44:22 -07:00
CNSS_WLAN Service
6bdac3e6bf Merge "Release 5.2.0.35Q" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 14:02:56 -07:00
CNSS_WLAN Service
246b8faa88 Merge "qcacld-3.0: Set the driver_type in the mac during the mac_open" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 14:02:54 -07:00
CNSS_WLAN Service
8c451f8dda Merge "qcacld-3.0: Assign listen interval based on INI setting" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 14:02:52 -07:00
CNSS_WLAN Service
1499fbb8af Merge "Release 5.2.0.35P" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 00:38:57 -07:00
CNSS_WLAN Service
cb71bc09ed Merge "qcacld-3.0: Set final bmiss count to 20 from 10" into wlan-cld3.driver.lnx.2.0-dev 2017-07-26 00:38:56 -07:00
CNSS_WLAN Service
db56436b78 Merge changes I98019171,I69fb67a4 into wlan-cld3.driver.lnx.2.0-dev
* changes:
  Release 5.2.0.35O
  qcacld-3.0: Fix peer poison overwritten issue
2017-07-25 21:20:46 -07:00
Linux Build Service Account
75463cca73 Merge "qcacld-3.0: Add phymode parameter in hdd_chan_change_notify" 2017-07-25 21:17:11 -07:00
gaolez
7bb1e74744 qcacld-3.0: Add ecsa capability record
qcacld-2.0 to qcacld-3.0 propagation

Add eCSA capability record of STAs which associated to SAP.

Change-Id: I1d7892bb1dc4e490a587e8372a4bdc7f419e8b36
CRs-Fixed: 1094958
2017-07-25 15:44:06 -07:00
snandini
1bcfbdec22 Release 5.2.0.35Q
Release 5.2.0.35Q

Change-Id: Ifb82fa5436ff67cc1fa79a83181c09def6ff87ad
CRs-Fixed: 774533
2017-07-25 14:23:59 -07:00
Arunk Khandavalli
66f9169b50 qcacld-3.0: Set the driver_type in the mac during the mac_open
Presently during the mac open the globalmac context is memset to
zero and the based on the driver_type pe sessions will be created.

During the switch from the FTM to mission mode, pe checks the
driver mode from the mac context and tries to access the invalid
lim sessions which are not created for FTM mode.

To mitigate the issue set the driver_type in the mac context during
mac_open

CRs-Fixed: 2017035
Change-Id: Iddefd2f74afb71197c3830a51f107d86736745f1
2017-07-25 14:23:59 -07:00
Krunal Soni
b3f4542d3e qcacld-3.0: Assign listen interval based on INI setting
Current driver is assigning listening interval based on beacon interval
value which is incorrect.

Listen interval should be taken based on INI value.

CRs-Fixed: 2080042
Change-Id: I0ad52a8042589604d51fc632fe3ce31547a26628
2017-07-25 14:23:57 -07:00
snandini
1f389a9d65 Release 5.2.0.35P
Release 5.2.0.35P

Change-Id: I311005a540671406894ea8b30adf4f1605a4ef3c
CRs-Fixed: 774533
2017-07-25 09:53:29 -07:00
CNSS_WLAN Service
bc38804145 Merge "qcacld-3.0: Correct dev name in logs" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:48 -07:00
CNSS_WLAN Service
e3889e3e28 Merge "Release 5.2.0.35N" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:47 -07:00
CNSS_WLAN Service
0a40c2ac36 Merge "qcacld-3.0: Add new ini param for min rest time during roaming scan" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:46 -07:00
Mukul Sharma
9e8395ec44 qcacld-3.0: Set final bmiss count to 20 from 10
Due to multiple beacon miss issues observed in firmware,
Host is changing final bmiss count to 20 from 10.
Hence firmware can receive beacon in noisy environment.

Change-Id: I87e4a6eaec016f36ca22a057e0d9812c0b8696ff
CRs-Fixed: 2082088
2017-07-25 18:02:53 +05:30
snandini
b0cf09f839 Release 5.2.0.35O
Release 5.2.0.35O

Change-Id: I98019171133cdd8c0f861f164ae4bfc5054b02c0
CRs-Fixed: 774533
2017-07-25 03:45:27 -07:00