提交图

5434 次代码提交

作者 SHA1 备注 提交日期
Tushnim Bhattacharyya
c827df30e3 qcacld-3.0: Release mutex before returning
Release remain_on_chan_ctx_lock mutex before returning to avoid thread
deadlock situation.
Change-Id: If5fb823ac2c042d34693abb8928dbc2159449a6e
CRs-Fixed: 2056611
2017-06-19 19:32:49 -07:00
Kiran Kumar Lokere
d0fad467ef qcacld-3.0: Process CSA IE only if CSA offload is not enabled
If CSA offload is enabled, FW send the CSA offload event for
the channel switch, so ignore the CSA IE check in beacon and
probe response frame processing.

Change-Id: I3f0d204317a4d26dc503c350307f4c144bf8672d
CRs-Fixed: 2060145
2017-06-19 19:32:47 -07:00
snandini
9737284a5e Release 5.2.0.30L
Release 5.2.0.30L

Change-Id: Iaaf24902c684a1cd826c032bdd8ad39880979097
CRs-Fixed: 774533
2017-06-19 15:40:33 -07:00
Krunal Soni
cebcc29de5 qcacld-3.0: Keep wake lock while HW mode is getting changed
Host should keep the wake lock from the time it sends set hw mode request to FW
till it receives the set hw mode response. This will avoid any fatal
crash condition.

Change-Id: I6ab1020811100be1adbb70b90a06285dc8bed88c
CRs-Fixed: 2060010
2017-06-19 15:40:32 -07:00
snandini
763d45b866 Release 5.2.0.30K
Release 5.2.0.30K

Change-Id: Ieffbec6908e480b700bc80fadaad28b1210daef5
CRs-Fixed: 774533
2017-06-19 12:43:47 -07:00
Manjunathappa Prakash
70ea728fe9 qcacld-3.0: iHelium: Increase RX_HTT_HDR_STATUS_LEN from 64 to 256bytes
Increase packet header bytes to 256, HL1.0 target offload features on
iHelium FW requires header bytes to be increased from 64 to 256bytes.
And round up the HTT_RX_BUF_SIZE to CACHE_LINE_SZ.

Change-Id: Iec45f5747956d0797411f76c2fec1368a13e7d6d
CRs-Fixed: 1039073
2017-06-19 12:43:47 -07:00
Nachiket Kukade
223ad8c2ce qcacld-3.0: Free the memory in ROC request queue during remove
During p2p find one or more remain on channel requests are queued
for execution. Memory leak is observed if module exit happens before
roc cancel is called.

Free the memory allocated in the ROC request queue nodes during exit.

Change-Id: I10d77266652f497f556a0a26b617856d81e982a7
CRs-fixed: 2032162
2017-06-19 12:43:43 -07:00
Dustin Brown
209124664c qcacld-3.0: Free psoc when hdd_wlan_startup fails
A psoc object is being created in hdd_wlan_startup, but not freed in
case of an error. Free any allocated psoc object in hdd_wlan_startup
as part of the existing error handling.

Change-Id: I6292188c4b92198ea157f6e2f1519b89fc991ad5
CRs-Fixed: 2059166
2017-06-19 12:43:41 -07:00
Rajeev Kumar
1c40f07442 qcacld-3.0: Add audit comment in cfg80211_conditional_chan_switch
Add audit comment in cfg80211_conditional_chan_switch to express the intent
why policy table is not used in this API.

Change-Id: Ia2e7dd4d92283794ce389d6c202d4a69338d89bd
CRs-Fixed: 2056564
2017-06-19 12:43:40 -07:00
snandini
0cb67ed674 Release 5.2.0.30J
Release 5.2.0.30J

Change-Id: I8dbfc2b7b6bd8ece9e3ef7670ceb84cba7775acd
CRs-Fixed: 774533
2017-06-19 00:06:57 -07:00
Ashish Kumar Dhanotiya
cc770eb720 qcacld-3.0: Validate vendor command do_acs
Currently attributes are not validated in __wlan_hdd_cfg80211_do_acs,
this can lead to a buffer overread.

To resolve this issue, Define an nla_policy and validate the
attributes.

CRs-Fixed: 2054685
Change-Id: Ic1bd5abbef09407f925625b709f10cf9cb7c3d7f
2017-06-19 00:06:56 -07:00
snandini
56f7b1d386 Release 5.2.0.30I
Release 5.2.0.30I

Change-Id: I60acc5fa627a2cd2735757df216e75b74f04e2ed
CRs-Fixed: 774533
2017-06-18 23:30:19 -07:00
Naveen Rawat
9ff3e249af qcacld-3.0: Skip an IE if found more its max times in a frame
Check if a IE has been encountered more than max possible for that IE
while parsing a frame.

Change-Id: I1054c7df18780469849be55fc4343f09ac502a49
CRs-Fixed: 2058261
2017-06-18 23:30:18 -07:00
snandini
8565edc294 Release 5.2.0.30H
Release 5.2.0.30H

Change-Id: Ic7d6a3cfb6f116a88d25ea496963aa418b368097
CRs-Fixed: 774533
2017-06-18 17:36:58 -07:00
Govind Singh
4ff22580dc qcacld-3.0: Use converged beacon template WMI cmd
WMI beacon template wmi cmd is converged in WMI layer.
Use converged beacon template WMI cmd and legacy cmd
is removed.

Change-Id: Ia76ec059489d9faa7b5420a8eb88c89ffe0807dc
CRs-Fixed: 2038284
2017-06-18 17:36:57 -07:00
snandini
fadeb650ef Release 5.2.0.30G
Release 5.2.0.30G

Change-Id: I41d21361eca2cd51d2dba0c235224a1a8a3188d5
CRs-Fixed: 774533
2017-06-18 16:55:32 -07:00
Kabilan Kannan
0e9b029973 qcacld-3.0: Reduce log level in TDLS functions
Some of the TDLS functions have info level logs and it
causes kernel log buffer overeflow and triggers
WD bite.
Reduce the log level from info to debug.

Change-Id: I2878a617f4e06eea6c3aaafd218e0cbbdd999070
CRs-Fixed: 2043718
2017-06-18 16:55:32 -07:00
snandini
0442e53174 Release 5.2.0.30F
Release 5.2.0.30F

Change-Id: I32c56f526943728d6e62064f6b0b1ca4815227a8
CRs-Fixed: 774533
2017-06-18 16:11:05 -07:00
Deepak Dhamdhere
d42ab7c3dc qcacld-3.0: Ignore peer_unmap_timer_handler during recovery
If the driver recovery is in progress, unmap events may not come
from firmware. Ignore the peer_unmap timeout in such case.

CRs-Fixed: 2033452
Change-Id: I284c57530a477953247ad325dfaddff72767aecf
2017-06-18 16:11:04 -07:00
Deepak Dhamdhere
2b283c6543 qcacld-3.0: Use qdf_timer_sync_cancel to stop peer_unmap_timer
Peer may get deleted between the time peer_unmap_timer fires and
the handler gets executed in mc thread context, causing memory
access error. Use qdf_timer_sync_cancel() to wait for the handler
to finish its job before freeing the peer object.

CRs-Fixed: 2026393
Change-Id: Ie60b5c300be529d529f7e836adc0e3be917fe2e8
2017-06-18 16:11:03 -07:00
Deepak Dhamdhere
fe55836608 qcacld-3.0: Initialize peer_unmap_timer during peer attach
Initialize peer_unmap_timer during peer attach instead of at the
time of peer detach. Then ol_txrx_unref_delete can destroy
the timer without peer detach getting called earlier.

CRs-Fixed: 2014183
Change-Id: Icebec27d5562350871a89b5cf71ae99f096feee8
2017-06-18 16:11:01 -07:00
Deepak Dhamdhere
e1c2e21a3d qcacld-3.0: Add peer unmap timeout handler
Add a timeout handler that fires off 6000 ms after peer detach
operation is initiated. Used for debugging the scenario of missing
peer unmap events after deleting a STA type peer.

CRs-Fixed: 1109867
Change-Id: Iad18f374ba3c1458c5214befd1d5c1517a7bdedf
2017-06-18 16:10:59 -07:00
snandini
058d514b1d Release 5.2.0.30E
Release 5.2.0.30E

Change-Id: I1c608166a9270d9afd3c70687c167f3769205a8b
CRs-Fixed: 774533
2017-06-18 15:27:52 -07:00
Rajeev Kumar
ef3a336f3f qcacld-3.0: Fix rx wake lock getting acquired for bcast/mcast frames
RX wake lock is only required for:
1) Unicast data packets
2) Local ARP data packet

Fix logic in hdd_is_arp_local() such that RX wake lock is only
acquired for above 2 data packet types.

Change-Id: I38899ed19f3481396663ba316abab0965e2cec56
CRs-Fixed: 2044288
2017-06-18 15:27:51 -07:00
snandini
7aa33ca833 Release 5.2.0.30D
Release 5.2.0.30D

Change-Id: I52dc38d9efd9a80448bb1282a1116256cb3ab140
CRs-Fixed: 774533
2017-06-18 14:36:59 -07:00
Rajeev Kumar
67f5b87203 qcacld-3.0: Fix buffer overread & overflow in P2P LO handler
Currently in __wlan_hdd_cfg80211_p2p_lo_start() there are multiple
issues with the incoming cfg80211 vendor command handling:
1) A policy is not supplied when invoking nla_parse() which prevents
   basic sanity of the incoming attribute stream.
2) The length of attribute QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_DEVICE_TYPES
   is not properly validated.
3) The length of attribute QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_VENDOR_IE
   is not properly validated.

To address these issues:
1) Create an appropriate nla_policy and specify this policy when
   invoking nla_parse().
2) Validate the length of QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_DEVICE_TYPES
   properly to prevent potential over read.
3) Validate the length of QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_VENDOR_IE
   properly to prevent potential over read.

Change-Id: I0a76dad8cccc6158f7ef3da293a6462acd839bfb
CRs-Fixed: 2054755
2017-06-18 14:36:59 -07:00
Krunal Soni
90ba954419 qcacld-3.0: Fix sub type of association response
Current driver sends association response when it receives reassociation
request which creates the IoT issue.

Fix the sub type.

Change-Id: Id86966794cf45e4596473fb68e9b400489bc7041
CRs-Fixed: 2014103
2017-06-18 14:36:57 -07:00
snandini
3c15227de4 Release 5.2.0.30C
Release 5.2.0.30C

Change-Id: I129e3f7201e3ece40fdd180a081166192d554df9
CRs-Fixed: 774533
2017-06-16 09:49:26 -07:00
Dustin Brown
0f8dc3d7b2 qcacld-3.0: Use refactored unit-test suspend APIs
The HIF portion of Unit-Test suspend has been refactored. Update HDD to
use the updated Unit-Test Suspend APIs.

Change-Id: Id10f6f5811e836844980b929f2747b1238bcf95d
CRs-Fixed: 2055332
2017-06-16 09:49:26 -07:00
snandini
cbd60d91a6 Release 5.2.0.30B
Release 5.2.0.30B

Change-Id: Ie0875e6d22045c18882c1d23ff964458af49fff6
CRs-Fixed: 774533
2017-06-16 05:26:11 -07:00
Arif Hussain
8cc9d8407b qcacld-3.0: Fix sap context memory leak
Make sure to decrement sap context ref count in wlansap_roam_callback
for failure case also, else this will prevent freeing sap context memory
in during driver unload in wlansap_close().

Change-Id: I07bd8a254196e2fc38018b738b20a9f6746d6b92
CRs-Fixed: 2012433
2017-06-16 05:26:11 -07:00
snandini
7d6d36059e Release 5.2.0.30A
Release 5.2.0.30A

Change-Id: I900b23eaed25bca0b4fe32a429fc6c374b82198f
CRs-Fixed: 774533
2017-06-16 03:28:15 -07:00
Naveen Rawat
6417668a2e qcacld-3.0: Always support MCS 0-7 for HT connection
In case HT peer rates are malformed and MCS 0-7 are not supported
set them forcefuly because as per spec, a 11n connection must support
MCS 0-7

Change-Id: If599c1478b9d3231da589576ef5ba9236b58ce4c
CRs-Fixed: 2059506
2017-06-16 03:28:14 -07:00
snandini
43710452d0 Release 5.2.0.30
Release 5.2.0.30

Change-Id: I829d0013cb562ffdbb18a85a3ea4f8fe2779e50c
CRs-Fixed: 774533
2017-06-16 00:41:35 -07:00
Ashish Kumar Dhanotiya
bfe639fc93 qcacld-3.0: Buffer overflow while parsing setrmcrate command
There is a buffer overflow while using sscanf.
To resolve this, use sscanf according to buffer length.

Change-Id: Ida2444b42ef6b73ea6f55735166df941158a6e50
CRs-Fixed: 2059779
2017-06-16 00:41:34 -07:00
snandini
6b4e49fe1f Release 5.2.0.29Z
Release 5.2.0.29Z

Change-Id: Iaf055f25044807bf596f4a0ebe7a2b7a864aeb77
CRs-Fixed: 774533
2017-06-15 17:18:50 -07:00
Arif Hussain
7631afa88d qcacld-3.0: Refactor code use to search vdev using MAC address
In LIM, move functionality to find session for a given MAC address in
separate function so that this code can be reused by other functions
if needed.

In HDD, remove logic added to find adaptor for a given MAC, instead use
existing function hdd_get_adapter_by_macaddr.

Change-Id: I989f09ffcbee3a717c22c267a01dafd1b404da64
CRs-Fixed: 2004223
2017-06-15 17:18:49 -07:00
snandini
45912ad723 Release 5.2.0.29Y
Release 5.2.0.29Y

Change-Id: Ia65e184378f89ebaa3b6ee5533de277b546b075f
CRs-Fixed: 774533
2017-06-15 12:56:03 -07:00
Kiran Kumar Lokere
26d0548b73 qcacld-3.0: Disable MU beamformee in master mode operation
Do not advertise MU beamformee capability in SAP, P2P GO and IBSS
operating modes.

Change-Id: Iee6ecaaddef374c9954c5144107bcce9da48c001
CRs-Fixed: 2048653
2017-06-15 12:56:03 -07:00
snandini
f44b062804 Release 5.2.0.29X
Release 5.2.0.29X

Change-Id: Icc6f5c45f68c68342ce634d5e8a1c463968ae6e9
CRs-Fixed: 774533
2017-06-14 23:21:37 -07:00
Nitesh Shah
e410b80979 qcacld-3.0: Release mutex properly when TDLS peer not found
Mutex is not released properly in the loop when the TDLS
peer is not found in the function wlan_hdd_tdls_disable_
offchan_and_teardown_links(), that can cause crash.

This change releases the mutex properly in the function
wlan_hdd_tdls_disable_offchan_and_teardown_links() when
TDLS peer is not found, and going for the next loop.

Change-Id: Ia226c71e91e0e5995dd86557e0135508f32d8bef
CRs-Fixed: 2058784
2017-06-14 23:21:36 -07:00
snandini
28b297c547 Release 5.2.0.29W
Release 5.2.0.29W

Change-Id: I4704dcd03af3f18f1d528c98b2d3d6699b5fb7e0
CRs-Fixed: 774533
2017-06-14 19:26:43 -07:00
Manikandan Mohan
3dad1a4869 qcacld-3.0: Fix mem leak in SAP SSR
Fix a memory leak observed if SAP restart fails after SSR.

Change-Id: I868b20972e4b78b6f6c89a26fc41ad10161c239c
CRs-fixed: 2060614
2017-06-14 19:26:43 -07:00
Dustin Brown
ab482ac2b4 qcacld-3.0: Print build timestamp with driver version
As part of driver init, the version string gets printed. To help in
debugging, also print a timestamp from when the driver was compiled.

Change-Id: Icf064af6a0d84434d239b54603092bf2276df596
CRs-Fixed: 2059303
2017-06-14 19:26:41 -07:00
snandini
f2600fb70b Release 5.2.0.29V
Release 5.2.0.29V

Change-Id: I686cf60817891811990c089ab120f37e2d644881
CRs-Fixed: 774533
2017-06-14 15:53:46 -07:00
Sandeep Puligilla
f587adff92 qcacld-3.0: Serialize IPA stats command in low priority queue
Currently IPA stats command request gets scheduled at every
100ms and posts message to WMA queue which can cause MC
thread to prioritize these request messages over other
messages in pe queue. This can cause delayed processing of
association related messages in pe queue in noisy environement.

To avoid this serialize IPA stats cmd to lower priority SME queue.

Change-Id: I1f8257b869dacd65a61e52e34f001ee24c108c4a
CRs-Fixed: 2040579
2017-06-14 15:53:45 -07:00
Dustin Brown
ceed67eebf qcacld-3.0: Hold wake lock for connection attempt
Hold a short wake lock when a connection attempt is made to help ensure
the device does not power collapse in the middle.

Change-Id: Ia9e20df5481340224fa4c272b58152eec27790a9
CRs-Fixed: 2053126
2017-06-14 15:53:44 -07:00
snandini
3c5b58c412 Release 5.2.0.29U
Release 5.2.0.29U

Change-Id: I3f451281f47587a540f51ec5dc1b00bef03e50ad
CRs-Fixed: 774533
2017-06-14 13:01:19 -07:00
Dustin Brown
498b11a4a1 qcacld-3.0: Specify policy for txpower_scale_decr_db
__wlan_hdd_cfg80211_txpower_scale_decr_db() calls nla_parse without
specifying a policy. Specify an nla policy with the expected attribute
information when calling nla_parse in
__wlan_hdd_cfg80211_txpower_scale_decr_db().

Change-Id: I219190726ccb19cb8849177888bca859da1c76db
CRs-Fixed: 2054752
2017-06-14 13:01:18 -07:00
snandini
f2dbc2e5eb Release 5.2.0.29T
Release 5.2.0.29T

Change-Id: Ic0488423bc9d5f3a33048e0f910a99becfa8a82d
CRs-Fixed: 774533
2017-06-14 11:56:37 -07:00