提交图

8667 次代码提交

作者 SHA1 备注 提交日期
Naveen Rawat
f939162569 qcacld-3.0: Avoid possible null pointer dereference
Check hdd_ctx, adapter and sta_ctx against null before dereferencing
them in wlan_hdd_nan_datapath.c

Change-Id: Ie81a359be4f03f4f7e411b56d583c12fa3bb03c0
CRs-Fixed: 2162244
2017-12-22 19:26:28 -08:00
snandini
9dae0a4488 Release 5.2.0.59H
Release 5.2.0.59H

Change-Id: If23d863e00f28d1357c3790b4b90adf9b73fe0b2
CRs-Fixed: 774533
2017-12-22 15:26:12 -08:00
Naveen Rawat
170420a953 qcacld-3.0: Change log level of debug message
Change log level of warning message to debug in functions:
__lim_process_operating_mode_action_frame
lim_is_robust_mgmt_action_frame

Change-Id: I8572dc9e6182767809df810fd6f74a307508e32a
CRs-Fixed: 2162961
2017-12-22 15:26:11 -08:00
Arif Hussain
21ad43430c qcacld-3.0: Add null pointer check and fix buffer overflow in sap
Add null pointer validation and fix possible buffer overflow issue
in sap module.

Change-Id: I314e07a31368dd3ca854b9aeab4a0bce0402a81b
CRs-Fixed: 2162246
2017-12-22 15:26:08 -08:00
Himanshu Agarwal
b956c03cb0 qcacld-3.0: Assign correct preamble type for OFDM packets
Presently, OFDM packets are assigned preamble type of
LONG_PREAMBLE when the type should be SHORT_PREAMBLE.

Assign the preamble type correctly.

Change-Id: Ie16936ba54cb8e1dfa5e96ccc52f3fc6693a5d48
CRs-Fixed: 2159511
2017-12-22 15:26:05 -08:00
snandini
61962a876c Release 5.2.0.59G
Release 5.2.0.59G

Change-Id: I36d1f4db20fb6de2ceb3fbc37582c191c5b45fb0
CRs-Fixed: 774533
2017-12-22 13:26:22 -08:00
gaurank kathpalia
90f83f081b qcacld-3.0: Change scores for QBSS/ESP load
Currently in the scoring logic the host has the same
score of 125 for the QBSS/ESP load between 50% to 75%
and 75% to 100% which sometimes may result in improper
scoring for cases where AP1 has air time fraction
127 which  convertes to 51% load and other AP2 has air
time fraction 13 which convertes to 95 % load.
But the score is same for both AP and the host selects
randomly any one of the AP instead of AP1

Fix is to change score for QBSS/ESP load to differentiate
between 50-75% and 75-100% load

Change-Id: I96d0d8a6a0a1854b2faca4435afa612336bc3caf
CRs-Fixed: 2161778
2017-12-22 13:26:22 -08:00
snandini
199108d6c8 Release 5.2.0.59F
Release 5.2.0.59F

Change-Id: I54c141604efa30591533733856dfad40bf970619
CRs-Fixed: 774533
2017-12-22 11:37:43 -08:00
Dustin Brown
db0c68806a qcacld-3.0: Remove FTM checks from memdump init/deinit
The transition to/from FTM happens after the memdump feature is
initialized. However, the memdump init/deinit functions bail out if the
driver is currently in FTM. This leads to situations were memdump is
initialized, but skips deinitialization when the driver is in FTM at the
time of unload. Since memdump is always initialized during driver probe
(the driver is never in FTM at that time), always deinitialize on driver
unload.

Change-Id: Ib3555a89f64912403d8858877086ab070ce24e35
CRs-Fixed: 2162241
2017-12-22 11:37:42 -08:00
snandini
996bb6f3cd Release 5.2.0.59E
Release 5.2.0.59E

Change-Id: I4da1e61f9937fe9f90cd6dc1b2a023f9aace0d97
CRs-Fixed: 774533
2017-12-22 09:26:09 -08:00
hqu
5e6b9866fd qcacld-3.0: Move log level to info high if tx hits invalid station id
For sns test in some scenarios when tx hits invalid station id it will
print massive log so that it will lead to WD bark issue.

Move log level to lower info high from info if tx hits invalid station
id, also align with cld3.1 code.

Change-Id: I965033fc8232c8ead15ef06d26aa0d1d2b468e8a
CRs-Fixed: 2159529
2017-12-22 09:26:09 -08:00
Vignesh Viswanathan
117c2031ee qcacld-3.0: Add suppport to forward GAS action frames to supplicant
Add changes identify and forward GAS public action frames to
supplicant in lim_process_action_frame_no_session.

Change-Id: Id872e2b0b8b7a203b472e0bd152f25f63c873b4f
CRs-Fixed: 2161785
2017-12-22 09:26:06 -08:00
snandini
4aade6ed56 Release 5.2.0.59D
Release 5.2.0.59D

Change-Id: I759824ca7c638ac3d391ca6b9d191727495a9340
CRs-Fixed: 774533
2017-12-22 01:27:30 -08:00
Vignesh Viswanathan
448573185e qcacld-3.0: Fix min IE length for FILS indication IE
FILS indication IE minimum length should be 4 bytes (2 bytes for tag and
length) + (2 bytes for realm hash). However current mininum is set to
5 bytes.
Usually AP sends cache identifier also in the FILS indication IE, which
is optional and causes the ie length to be greater than min of 5.
If the AP does not send Cache Identifier and sends only realm hash,
the IE length would be 4, which causes the IE to be skipped in parsing
thereby failing FILS connection.

Fix min IE length to 4 bytes in the frame parser for FILS Indication IE

Change-Id: I07f2b724f5840f9ba8ec663e0b303d8fc86663da
CRs-Fixed: 2161241
2017-12-22 01:27:28 -08:00
snandini
577128f1f3 Release 5.2.0.59C
Release 5.2.0.59C

Change-Id: I5177c3ddea7e1cf060496fe4ad337c657a19e455
CRs-Fixed: 774533
2017-12-21 23:37:49 -08:00
Vignesh Viswanathan
93b7f70f80 qcacld-3.0: Add WiderBWChanSwitchAnn IE to ext_chan_switch_ann action frame
Add the WiderBWChanSwitchAnn to ext_chan_switch_ann action frame
as optional IE. Currently WiderBWChanSwitchAnn is added only in
beacon frames.

Change-Id: I4f76479bdb2befa93fcb83238590007a555af210
CRs-Fixed: 2141529
2017-12-21 23:37:48 -08:00
snandini
9fb9f5cf77 Release 5.2.0.59B
Release 5.2.0.59B

Change-Id: Ifa002dd7db2347291b92cc97d6207be8ca463777
CRs-Fixed: 774533
2017-12-21 17:39:47 -08:00
Rajeev Kumar
5d17dd531f qcacld-3.0: Avoid qdf_mem_cpy when source pointer is null
During SAP SSR scan default ie data pointer is cleared and
set to null hence avoid unnecessary qdf_mem_cpy when source
pointer is null.

Change-Id: I75960c69804144abee5b1978b43002110b0d0be4
CRs-Fixed: 2161056
2017-12-21 17:39:46 -08:00
snandini
3f6a15ac26 Release 5.2.0.59A
Release 5.2.0.59A

Change-Id: I3c0375e9504555c47db5c76cfc42e39c7760eb5b
CRs-Fixed: 774533
2017-12-21 11:32:32 -08:00
Himanshu Agarwal
75c8d796d9 qcacld-3.0: Set high priority as false for stop bss sme command
When stop AP command is received from hostapd, all the stations
are deauthenticated and then stop bss is called. But stop bss is
called with high priority as true and so gets queued on the top
of the list while del sta commands are queued at the tail as high
priority is set to false for those. This leads to desynchronization
as the commands are not serialized.

Set high priority as false for stop bss sme command to serialize all
the commands.

Change-Id: I9c80032c418e05d3b5591bb3cfd70f8285f27fe8
CRs-Fixed: 2161257
2017-12-21 11:32:32 -08:00
wadesong
f13dbd60e9 qcacld-3.0: Suppress verbose WMA debug printing
The eGAP status update event handler is exhibiting a too verbose
debug printing.

Supress the eGAP status update by increasing the debug level.

Change-Id: I85e290abfe03d488ab770a3a403871d984ee8df9
CRs-Fixed: 2161713
2017-12-21 11:32:29 -08:00
snandini
e4ee084f0a Release 5.2.0.59
Release 5.2.0.59

Change-Id: I12dbca198663792d9b8dbc2340d80a30dbae52df
CRs-Fixed: 774533
2017-12-21 09:21:47 -08:00
Ashish Kumar Dhanotiya
a60c1754b3 qcacld-3.0: Possible buffer overwrite in vendor scan request
In api "__wlan_hdd_cfg80211_vendor_scan", the ssid length is u8,
when memcpy is done for ssid, the length is not validated and
nla_len(attr) is used directly in memcpy which can result in buffer
overwrite.

Add a check to validate the max length of scan ssid against
SIR_MAC_MAX_SSID_LENGTH.

Change-Id: If4c25710973ee50094c5d52410269962f552ac3f
CRs-Fixed: 2153326
2017-12-21 09:21:46 -08:00
snandini
19fd6ba846 Release 5.2.0.58Z
Release 5.2.0.58Z

Change-Id: I190092f4cfe1338458e5f3e76ae9af6120317fc9
CRs-Fixed: 774533
2017-12-21 05:26:43 -08:00
Yeshwanth Sriram Guntuka
9b9eb43d00 qcacld-3.0: Set passive dwell time
Set passive dwell time to 28msecs for active
scan when bt a2dp is enabled and hw is not dbs
capable and when sta is connected on 2G band.

Change-Id: I44f2e3d98f2d7ddc52e4902ba989131c256da4ef
CRs-Fixed: 2146311
2017-12-21 05:26:42 -08:00
snandini
8841c95cf1 Release 5.2.0.58Y
Release 5.2.0.58Y

Change-Id: Iefda078904b76b7f986dfe9effc9a71d8ee9bbfa
CRs-Fixed: 774533
2017-12-21 01:39:12 -08:00
Naveen Rawat
2f13193c4a qcacld-3.0: Fix handler for operating mode action frame
Do not drop operating mode action frame if channel bonding is disabled.
Process NSS change if requested by frame.

Change-Id: Id342c5399a70be8ea1b3d6c9878983a75ca456ad
CRs-Fixed: 2157167
2017-12-21 01:39:11 -08:00
snandini
d0f8724f02 Release 5.2.0.58X
Release 5.2.0.58X

Change-Id: I33debbe901ff3ff4b4b9a90c1ec8ae5324ca0c0f
CRs-Fixed: 774533
2017-12-20 21:27:56 -08:00
Poddar, Siddarth
61fbc93f6e qcacld-3.0: Enable pktlog after SSR/PDR if previously enabled
Implement a flag in hdd context to track the state of
pktlog events. Pktlog will be enabled/disabled after SSR/PDR,
depending upon the state of Pktlog events just before SSR/PDR
is triggered.

Change-Id: I18999d7fcf3677a86c21559d7d443ba1cd086528
CRs-Fixed: 2151296
2017-12-20 21:27:56 -08:00
snandini
3228756801 Release 5.2.0.58W
Release 5.2.0.58W

Change-Id: I21ae25f0ada369275c945cf3e0fd9f376ccc4646
CRs-Fixed: 774533
2017-12-20 19:27:31 -08:00
gaurank kathpalia
0efbb56f81 qcacld-3.0: Change default value of g_is_bssid_hint_priority to 0
Change default value of g_is_bssid_hint_priority to 0, as the driver
scoring logic will take care of the beat AP to select from the candidate
AP and the host can ignore the hint.

Change-Id: Ia372e3e0f580047eae33cc0b68b0a0d1460ebfc2
CRs-Fixed: 2160591
2017-12-20 19:27:30 -08:00
Dustin Brown
4c5b990170 qcacld-3.0: Add hdd_check_for_leaks function docs
In cases where memory allocated at runtime is release during module
unload, it is tempting to label these memory leaks as false positives.
Add documentation to hdd_check_for_leaks explaining why these are real
memory leaks. This helps reduce confusion, and helps to dissuade
developers from "fixing" the runtime memory leak logic, instead of
fixing the memory leak.

Change-Id: I2f7574e7465630d2d9f96280ecf8180a51b41e0f
CRs-Fixed: 2161394
2017-12-20 19:27:27 -08:00
Yuanyuan Liu
23a8eecd28 qcacld-3.0: remove struct sps_iovc reference
Since struct sps_iovc is obsolete in the latest kernel,
use a local macro instead of sizeof() . It should be
updated with the correct IPA size macro once it is
avaiable in the latest kernel.

CRs-Fixed: 2160658
Change-Id: Ifc2926d5182c96e07de6b4ddd50156764b7ad51e
2017-12-20 19:27:24 -08:00
gaurank kathpalia
16a721a680 qcacld-3.0: Fix memory leak issue of ch_list in sap_get_channel_list
In the api sap_get_channel_list, list is allocated memory to store the
channel list to be sent for scan request. This api is called by
sap_goto_channel_sel which initializes scan_request.ChannelInfo.ChannelList
to channel_list, without any prior NULL check of channel_list.
Also in scan callback wlansap_scan_callback, if the state machine structure
is in disconnected state , the host returns without freeing the memory
allocated to the channel list in sap_ctx .

Fix is to free the memory allocated to the channel list
and make the sap_ctx->channellist, sap_ctx->num_of_channel
as NULL and zero respectively in both the instances.

Change-Id: Ia54287d6e77e206c717bd3c205ebe57510ea801c
CRs-Fixed: 2159489
2017-12-20 19:27:21 -08:00
snandini
a3726d9963 Release 5.2.0.58V
Release 5.2.0.58V

Change-Id: Ie916f23741b2b4e4df2e72cfbbe37ff96bfb89df
CRs-Fixed: 774533
2017-12-20 15:26:55 -08:00
gaurank kathpalia
addd8a0b0d qcacld-3.0: Change default value of pcl_weightage to 0
Change default value of pcl_weightage to 0, as pcl
weightage logic need some changes in algo to be used in LFR3.

Change-Id: I21559f7aaa8a19388cf399dee684c00c7905cfae
CRs-Fixed: 2160589
2017-12-20 15:26:54 -08:00
snandini
573d5d914f Release 5.2.0.58U
Release 5.2.0.58U

Change-Id: I5fcc1557ecc1a35798e204fdb043a0c971fbfe30
CRs-Fixed: 774533
2017-12-20 14:10:32 -08:00
Naveen Rawat
a015a2f712 qcacld-3.0: Support HE dual band by default
Add support for dual band in HE caps by:
1) Setting default value of HE dual_band support to 1.
2) Checking advertised FW MAC cap for support of both bands.

Change-Id: I978e4082364b832dc3f49f13a00ef9159f269f72
CRs-Fixed: 2160792
2017-12-20 14:10:31 -08:00
psimha
deea0a130c qcacld-3.0: Add fixes to prevent NULL pdev access on module stop
- Change the order of the deinit code of pktlog
- Change the order of the deinit code of runtime pm

Change-Id: I570b20b247b7892f9bba82f3d3a58aff9af09105
CRs-Fixed: 2160794
2017-12-20 14:10:28 -08:00
snandini
dfe8f777e3 Release 5.2.0.58T
Release 5.2.0.58T

Change-Id: I2139644bedeaed60f06d34c6582871c58236057a
CRs-Fixed: 774533
2017-12-20 07:26:07 -08:00
Paul Zhang
72697bdc04 qcacld-3.0: Add ini hostscan_adaptive_dwell_mode_no_conn
This ini will set the algo used in dwell time optimization
during host scan without connection.

Change-Id: Ie81636d32b6c42651aa9b5de52889970c17f6aca
CRs-Fixed: 2159656
2017-12-20 07:26:06 -08:00
snandini
75f57b9cc4 Release 5.2.0.58S
Release 5.2.0.58S

Change-Id: I67386963967b0cffe12bb688d226bf9d16b38dca
CRs-Fixed: 774533
2017-12-20 05:38:38 -08:00
Kiran Kumar Lokere
4aa08a5c14 qcacld-3.0: Add configuration support for he dynamic fragmentation
Add user configuration for HE dynamic fragmentation capability
support

Change-Id: I94a18b5102b1ee303ccbf832e67c37930f523bec
CRs-Fixed: 2159864
2017-12-20 05:38:38 -08:00
snandini
82348f5aa4 Release 5.2.0.58R
Release 5.2.0.58R

Change-Id: Ic553857324b7ebc286135c34962b167f1d2f8cb3
CRs-Fixed: 774533
2017-12-20 02:26:58 -08:00
Amar Singhal
6c0c0d9f2b qcacld-3.0: Change the name of the sysfs path
Use string "wifi" instead of "wlan" in sysfs path for version string.
This is to avoid warning for same string name in the path.

Change-Id: Ifadabdb3e89d9a6564bbda58241f3ff38eeb4eb1
CRs-Fixed: 2153885
2017-12-20 02:26:58 -08:00
Amar Singhal
0928b19abe qcacld-3.0: Add sysfs interface for retrieving version information
User-space needs sysfs interface for retrieving version
information for both firmware and driver. Add this new
sysfs interface.

Change-Id: I666aff1868f4d1d954773fae1ae85c1ebd0fdc87
CRs-Fixed: 2153885
2017-12-20 02:26:54 -08:00
snandini
b98b8b0849 Release 5.2.0.58Q
Release 5.2.0.58Q

Change-Id: I2f472f4d401098b4e3baf37e5a3e984728763c72
CRs-Fixed: 774533
2017-12-20 01:38:52 -08:00
gaurank kathpalia
2690098b55 qcacld-3.0: Fix condition to ignore security in scan filter
In api csr_prepare_scan_filter,If bWPSAssociation is set or
bOSENAssociation is set, the security check  while filtering
scan results need to be skipped.

Fix is to check for both bWPSAssociation and bOSENAssociation
to set the ignore security flag in converged scan filter

Change-Id: I1e850581ab1cd3b313e681bfd110280765fa6a2a
CRs-Fixed: 2161103
2017-12-20 01:38:51 -08:00
Poddar, Siddarth
d021751ded qcacld-3.0: Fix to get correct 64-bit htt rx address
Fix is to get correct 64-bit htt rx in order address
when ENABLE_DEBUG_ADDRESS_MARKING is disabled.

Change-Id: I479ed4a2dd5cee3427f9a3714cda4ed50afa271a
CRs-Fixed: 2161207
2017-12-20 01:38:48 -08:00
Wu Gao
9c01ec4ae5 qcacld-3.0: Update channel width and set channel for SAP
It does not set channel width and set channel for HT40 mode SAP, which
causes SAP start at HT20 mode by default.

Change-Id: Ia29c44d897384569249149bccf8d3e0516cce0ce
CRs-Fixed: 2158079
2017-12-20 01:38:45 -08:00