Commit Graph

8039 Commits

Author SHA1 Message Date
Rajeev Kumar
8b33049b43 qcacld-3.0: Do not panic on fw ready timeout on non-debug builds
Currently WLAN host driver is triggering panic on fw ready time out
on all builds without checking if self recovery is enabled or not.
On end user builds WLAN self recovery is enabled which helps to avoid
rebooting the device in this case which is easily recoverable during
next WiFi turn on. Add self recovery enabled check on fw ready timeout
before calling qdf_bug.

Change-Id: I9c9ee3f4b87118679e79e646fb326cc4afdb1845
CRs-Fixed: 2141066
2017-11-09 22:07:53 -08:00
snandini
3edeb2c337 Release 5.2.0.53I
Release 5.2.0.53I

Change-Id: I446f00731161a99ec8f052b075a2fc66fb25cdec
CRs-Fixed: 774533
2017-11-09 11:46:42 -08:00
Rajeev Kumar
d1a7ac420b qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs
Rename pmo_ucfg_* APIs to ucfg_pmo_* to match existing
naming convention for component ucfg APIs.

Change-Id: I9fba71ee5d5cf6428f043c7d7782ef585951e059
CRs-Fixed: 2140474
2017-11-09 11:46:42 -08:00
Padma, Santhosh Kumar
8472cb885f qcacld-3.0: Avoid buffer overflow
Add max check for probe request length against max length of probe
request buffer to avoid buffer overflow.

Change-Id: Ie0fad7443b2c749c66bb9ad662625a16d3a840c3
CRs-Fixed: 2138555
2017-11-09 11:46:39 -08:00
snandini
ccd23a8f8c Release 5.2.0.53H
Release 5.2.0.53H

Change-Id: I9f9ae0c822bd1fd014b571a8966f8166d67dad4c
CRs-Fixed: 774533
2017-11-09 07:46:48 -08:00
Sandeep Puligilla
8d6011b588 qcacld-3.0: Remove legacy scan request handling
Remove legacy scan request handling from
SME.

Change-Id: Ibff2bb52ad16011d275457e970eb34420256efc4
CRs-Fixed: 2140795
2017-11-09 07:46:48 -08:00
snandini
0d175ae7af Release 5.2.0.53G
Release 5.2.0.53G

Change-Id: Iec4c5c40dba906ad2a03f3c37a71d2bbc7b631c7
CRs-Fixed: 774533
2017-11-08 21:57:23 -08:00
Abhishek Singh
02cb9e02f1 qcacld-3.0: Changes to support DPP AKM
Add changes to support and parse AKM required for DPP.

Change-Id: Ie38a6b78e94d3cd918c02c7314bcb5696f53db24
CRs-Fixed: 2137519
2017-11-08 21:57:22 -08:00
Abhishek Singh
86dc221bd6 qcacld-3.0: Fix logic to get nw type for BSS in roam sync indication
In lim_roam_fill_bss_descr the nw type for 11b AP is not filled and
thus network type remain 11a for 11b AP. Now this entry is added in
scan cache and when driver try to connect to this AP as the network
type is 11a, the preferred dot11mode is set to 11a for an 11g channel
in csr_get_phy_mode_from_bss.

Now while calculating phymode as channel is 11g and dot11mode is 11a
the phymode is not calculated properly, leading to firmware crash.

Fix the logic to calculate nw type properly in lim_roam_fill_bss_descr.

Change-Id: Ie076d0315a7ee5ec123a3cb9dbd22668648e7af4
CRs-Fixed: 2138824
2017-11-08 21:57:19 -08:00
snandini
5366589ffd Release 5.2.0.53F
Release 5.2.0.53F

Change-Id: I0ee5c3300d4a92e8bf5cfb1658964dc4944f0159
CRs-Fixed: 774533
2017-11-08 19:42:52 -08:00
Jeff Johnson
172237b859 qcacld-3.0: Replace typedef tCsrRoamInfo
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tCsrRoamInfo typedef does not
meet any of those criteria, and the underlying struct is already being
used in some places, so replace all remaining tCsrRoamInfo references
with a reference to the underlying struct.

Change-Id: I1da4b04ec92e176fe28b33d30ec7823828c35c8d
CRs-Fixed: 2140349
2017-11-08 19:42:51 -08:00
Jeff Johnson
174b6a4956 qcacld-3.0: Rename struct tagCsrRoamProfile
Per the Linux coding style "mixed-case names are frowned upon" so
rename struct tagCsrRoamProfile.

Change-Id: If88fbb18cd521938105701d96173bae221be8de2
CRs-Fixed: 2140347
2017-11-08 19:42:46 -08:00
Jeff Johnson
e6bf719666 qcacld-3.0: Rename struct tagCsrDelStaParams
Per the Linux coding style "mixed-case names are frowned upon" so
rename struct tagCsrDelStaParams.

Change-Id: I60d6448f4bae15e604a8ea55e72a6070a6ebdfbe
CRs-Fixed: 2140346
2017-11-08 19:42:43 -08:00
Jeff Johnson
df66e3f0a6 qcacld-3.0: Rename struct tagCsrRoamInfo
Per the Linux coding style "mixed-case names are frowned upon" so
rename struct tagCsrRoamInfo.

Change-Id: I21e6c423408f74603e9b469cace00884274d2b61
CRs-Fixed: 2140345
2017-11-08 19:42:39 -08:00
Jeff Johnson
60cbd2db9c qcacld-3.0: Rename hdd_context enableSapSuspend field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field enableSapSuspend in struct hdd_context.

Change-Id: I8f5321fa57c01a36df72dec17499969d0848e3dd
CRs-Fixed: 2140344
2017-11-08 19:42:36 -08:00
Jeff Johnson
450d244335 qcacld-3.0: Fix style issues in hdd_skb_fill_gso_size()
The checkpatch script identified multiple style issues in
hdd_skb_fill_gso_size(), so fix them.

Change-Id: Ie628cd390d1c89d94b4687a6a56ebe7110f3a568
CRs-Fixed: 2140343
2017-11-08 19:42:32 -08:00
Jeff Johnson
81c00d057d qcacld-3.0: Fix whitespace in hdd_update_scan_config()
Change "qcacld-3.0: Add knobs to configure the scan paramters"
(Change-Id: I65a3734d8080d8adfe3e9ffa26905e6adc196197) introduced two
instances of "space prohibited before semicolon" flagged by
checkpatch, so fix these issues.

Change-Id: I5bce6d38d9ef0910f9dd6112971c90bbb3f2496f
CRs-Fixed: 2140342
2017-11-08 19:42:28 -08:00
Mukul Sharma
b10c8c7370 qcacld-3.0: Move to target_resource_config from wmi_resource_config
Currently, host is using the wmi_resource_config instead
target_resource_config. There are two INIT command
method is exposed by WMI, hence to converge on one
use target_resource_config and perform cleanup
for other.

Change-Id: Ic50b1c644ce1e61568c2079627727cad766e02c8
CRs-Fixed: 2138506
2017-11-08 19:42:25 -08:00
Dustin Brown
24d91177c2 qcacld-3.0: Use qdf_cpuhp APIs for CDS
Abstract CDS's use of CPU hotplug events by using the new QDF CPU
hotplug APIs.

Change-Id: Id37ef9028f710a55938539c8e00bb63ffeb86495
CRs-Fixed: 2139720
2017-11-08 19:42:21 -08:00
snandini
82671c41ae Release 5.2.0.53E
Release 5.2.0.53E

Change-Id: I9b64cae698af2fc634f667916c78101df4678bf8
CRs-Fixed: 774533
2017-11-08 13:49:24 -08:00
Naveen Rawat
95eb4063a3 qcacld-3.0: Fix peer_mac addr for NDI in hdd_roam_deregister_sta
In function NDI peer is not considered leading to peer_mac address being
NULL and API failing for NDI peer. Fix the condition to include NDI
device mode and add handling of NDI vdev in hdd_objmgr_add_peer_object.

Change-Id: I34b467fdab4a92696d6377306a775f06fadfc1a9
CRs-Fixed: 2137423
2017-11-08 13:49:24 -08:00
snandini
b7c701d27c Release 5.2.0.53D
Release 5.2.0.53D

Change-Id: Iea35624c6e630708a68634cae899d06c0eb2d794
CRs-Fixed: 774533
2017-11-08 07:41:19 -08:00
Will Huang
ac3fd9a04c qcacld-3.0: Fix sap_num_connected_sta leak
When SAP stop and ref-STA reconnect event hit together, the reconnect
IPA client connect event add sap_num_connected_sta but SAP stop process
clear client STA without send IPA client disconnect event.

Fix it by moving hdd_ipa_wlan_evt into hdd_softap_deregister_sta which
will also been called when sap stopped.

Change-Id: I7abe53e8e395c01df5471697f3370d8b5ae792fb
CRs-Fixed: 2136199
2017-11-08 07:41:18 -08:00
snandini
465b2d7543 Release 5.2.0.53C
Release 5.2.0.53C

Change-Id: Ife90479ac90fe60893946510d240761a34a4ec30
CRs-Fixed: 774533
2017-11-08 06:08:18 -08:00
lifeng
74c9a6d5ee qcacld-3.0: Get rx aggregation statistics in HL mode
qcacld-2.0 to qcacld-3.0 propagation

Get rx aggregation statistics in HL mode

Change-Id: Ic91bb7f10e46ab70046d7c687a64cd5b29b64d0a
CRs-fixed: 2140073
2017-11-08 06:08:17 -08:00
snandini
16012fc9e8 Release 5.2.0.53B
Release 5.2.0.53B

Change-Id: I2cd7c240f4f80e3b0f4a76b79f8d60a03823f5e5
CRs-Fixed: 774533
2017-11-08 04:08:15 -08:00
Sourav Mohapatra
9bc6711eab qcacld-3.0: Remove error logging issue during successful SAP creation
Successful starting of SAP interface has logging
issue and even in case SAP is restarted successfully
it logs error message. Return after mutex unload
during success path and do not log the error message.

Change-Id: Iaf888a2de2bfcc5d52ce8f57e888699eb66ab8ac
CRs-fixed: 2137675
2017-11-08 04:08:14 -08:00
snandini
99470b6cc8 Release 5.2.0.53A
Release 5.2.0.53A

Change-Id: I4c5b1803c21b09fd3fca4d6a9dd52ac755325168
CRs-Fixed: 774533
2017-11-08 03:01:20 -08:00
Mukul Sharma
0c1c379514 qcacld-3.0: Add wow user pattern support in PMO
Add wow user pattern support in PMO.

Change-Id: I186e650e3a165ea0aeaada4bba880005c5be8b5f
CRs-Fixed: 2135644
2017-11-08 03:01:19 -08:00
snandini
29b81c20aa Release 5.2.0.53
Release 5.2.0.53

Change-Id: Ib103ebbf27c5bb1615a38e52d22adbb6e2629ba3
CRs-Fixed: 774533
2017-11-07 22:56:30 -08:00
Krunal Soni
8afae9b62d qcacld-3.0: Fix to propagate key-receiver-sequence-counter to WMA
SME module propagates KeyRSC to MAC/PE module but MAC/PE doesn't
pass this counter to WMA and due to which WMA is not able pass to
next module.

Add a fix to propagate KeyRSC field from MAC to WMA module and further
down in stack.

CRs-Fixed: 2130761
Change-Id: I157a44610e184b5e10d838fbc5d6b810e3efd6db
2017-11-07 22:56:29 -08:00
snandini
4d28291685 Release 5.2.0.52Z
Release 5.2.0.52Z

Change-Id: I5dc877a92c581f53ea868eab3be3d7ebcc92972f
CRs-Fixed: 774533
2017-11-07 21:42:59 -08:00
Sandeep Puligilla
2e233c6a1e qcacld-3.0: Purge scan list in failure scenario
Scan list memory is leaked when get
scan results failed.

Purge the scan list in failure scenario
as part of diag scan complete processing.

Change-Id: I3705dc3f8ffeb586ba745c46a5215bd3578f75e1
CRs-Fixed: 2137957
2017-11-07 21:42:58 -08:00
snandini
04fdea2917 Release 5.2.0.52Y
Release 5.2.0.52Y

Change-Id: I34ce54859eb22128ed13dd9553b4c7fb3d0311b9
CRs-Fixed: 774533
2017-11-07 19:49:23 -08:00
Krunal Soni
7d78708d38 qcacld-3.0: Fix memory leaks while handling few error cases in PE
Memory leaks have been noted in protocol stack in few of the error
handling cases.

Fix following APIs through releasing the memory in error cases.
lim_process_mlm_auth_req()
lim_process_mlm_set_keys_req()

CRs-Fixed: 2139571
Change-Id: Ie28861dab49ab93d90fde5ebc5fd260d1c1c4eee
2017-11-07 19:49:22 -08:00
snandini
f28c82b314 Release 5.2.0.52X
Release 5.2.0.52X

Change-Id: I328b2cde985a564d0118fae393ad12d954d72643
CRs-Fixed: 774533
2017-11-07 17:43:25 -08:00
Dustin Brown
792513d865 qcacld-3.0: Release PDEV in wlan startup error path
In hdd_wlan_startup, an object manager pdev is created, but never
released when startup fails. Release the pdev object as appropriate
under error conditions to close the leak.

Change-Id: I9bfd927e5614d7d8b5c8a2238084c3387db60fd8
CRs-Fixed: 2139597
2017-11-07 17:43:25 -08:00
snandini
5c36e9d2d6 Release 5.2.0.52W
Release 5.2.0.52W

Change-Id: I2329d3ee9d945123221c3196ab241d22731520cd
CRs-Fixed: 774533
2017-11-07 13:42:37 -08:00
Dustin Brown
a2dcb5fb94 qcacld-3.0: Enable QDF cpu hotplug APIs
Enable the new QDF CPU hotplug APIs in Kbuild when CONFIG_SMP is
enabled.

Change-Id: Ib3e1e1fe840f0aae662cd6d32527b174a9c2895c
CRs-Fixed: 2133375
2017-11-07 13:42:37 -08:00
Krunal Soni
f7387bda9c qcacld-3.0: Fix memory leak while handling deauth req's error case
When caller calls lim_process_mlm_deauth_req() API, it checks for
session's validity before passing it forward. If session is found
to be invalid then it is returning immediately without releasing the
memory. Caller is expecting this API to release the memory in any
error cases.

Release the memory before returning to caller in error case.

CRs-Fixed: 2138983
Change-Id: I800d717cd22a6e2731ef211743e4844852a132a3
2017-11-07 13:42:35 -08:00
snandini
fe64b47ae8 Release 5.2.0.52V
Release 5.2.0.52V

Change-Id: I3fcd8f8757847fb8f728f8ee9d74e3948e8f1b16
CRs-Fixed: 774533
2017-11-07 07:58:27 -08:00
Himanshu Agarwal
12445c16c2 qcacld-3.0: Remove local variable str[] to print ssid
Remove local variable str[] to print ssid as str[] is
used only for printing ssid.

Change-Id: I9a4af0637df0d24a5d52a43be5947d74f622801f
CRs-Fixed: 2139375
2017-11-07 07:58:26 -08:00
snandini
a37945fa4e Release 5.2.0.52U
Release 5.2.0.52U

Change-Id: I537329c9eaf9acb68a838a3cdb0039b87c9f9f15
CRs-Fixed: 774533
2017-11-07 03:49:53 -08:00
Poddar, Siddarth
b4b7479acf qcacld-3.0: Reduce the log spam in kmsg
Move the logs to appropriate log levels to avoid excessive
logging in kmsg.

Change-Id: I7b3b1001192706508e159522119e2254075aaee3
CRs-Fixed: 2138541
2017-11-07 03:49:53 -08:00
Arif Hussain
380cfc7084 qcacld-3.0: Fix check to avoid multiple vdev for same session
In function ol_txrx_vdev_handle wma_vdev_attach, along with
vdev_active check for is_vdev_valid to find if vdev already
present or not.

Change-Id: I39cc6d27037a8fec29cd6114067b2dab9a964ab0
CRs-Fixed: 2135737
2017-11-07 03:49:50 -08:00
snandini
bb85c40396 Release 5.2.0.52T
Release 5.2.0.52T

Change-Id: I59a748e72aea61ba5d88c03598fc229e23ddab4c
CRs-Fixed: 774533
2017-11-07 01:13:19 -08:00
lifeng
7c607dd603 qcacld-3.0: Add a timer to reduce and resume beacon interval
qcacld-2.0 to qcacld-3.0 propagation

Reduce the beacon interval just before the channel switch.
This would help in reducing the downtime on the STA side which
is waiting for beacons from the AP to resume back transmission.

Switch back the beacon_interval to its original value after
the channel switch based on the timeout. This would ensure
there are atleast some beacons sent with increased frequency.

Change-Id: I37db52713d9e2c78abbb97a7cd0274d9da35bfd2
CRs-Fixed: 1094958
2017-11-07 01:13:18 -08:00
lifeng
1c16b6b0ac qcacld-3.0: Enhance dfs beacon tx
qcacld-2.0 to qcacld-3.0 propagation

Send one action frame along with each beacon tx to reduce failure
of channel switching on sta side.

Change-Id: Idbbe1a4bcb4976101680974214fe85d9886ba7d1
CRs-Fixed: 1094958
2017-11-07 01:13:15 -08:00
snandini
feec299571 Release 5.2.0.52S
Release 5.2.0.52S

Change-Id: I0bbcaba0f89cba41adfdef4f606df4ed7de086da
CRs-Fixed: 774533
2017-11-06 21:52:09 -08:00
Naveen Rawat
f4ada15ad4 qcacld-3.0: Do not start unmap timer if send cmd to FW fails
Do not start unmap timer if peer delete couldn't be sent to
firmware.

Change-Id: Ie746bde046b76d8e136ebb4fd0b60088bf516d42
CRs-Fixed: 2104849
2017-11-06 21:52:09 -08:00