Commit Graph

8011 Commits

Author SHA1 Message Date
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
snandini
b3564ef4c0 Release 5.2.0.52R
Release 5.2.0.52R

Change-Id: Ic9a8ec10eeadf51adfc59c9274c425a540e31fa1
CRs-Fixed: 774533
2017-11-06 19:21:19 -08:00
Poddar, Siddarth
4b3f731265 qcacld-3.0: Support for vendor issuing Enable/Disable LRO command
Add support for Enable/Disable LRO at run time through vendor
command. In case of USB tethering with WLAN0 as upstream,
vendor command will be issued to disable LRO. On reception
driver will disable LRO and enable tcpdelack.

Change-Id: If64da28c040868d5b42af202c647251db1a684c0
CRs-Fixed: 2060320
2017-11-06 19:21:18 -08:00
snandini
657b3a24d6 Release 5.2.0.52Q
Release 5.2.0.52Q

Change-Id: I6ed2d712a077672ae0093241278a56169a3c56ec
CRs-Fixed: 774533
2017-11-06 18:30:00 -08:00
Jeff Johnson
9268e097cc qcacld-3.0: Fix hdd_string_to_u8_array() prototype
Currently the prototype for hdd_string_to_u8_array() doesn't exactly
match the signature of the implementation, so fix the prototype to
match. In addition relocate the documentation to the header file.

Change-Id: Idd2cb27dddddd14f12d0e11119131ecacdc369bb
CRs-Fixed: 2138017
2017-11-06 18:30:00 -08:00
Jeff Johnson
1ad3fbd339 qcacld-3.0: Rename sendDeauthBeforeCon
The Linux Coding Style frowns upon mixed-case names, so rename all
instances of sendDeauthBeforeCon to align with the Coding Style.

Change-Id: Iac2ed0dbaa9c4d2bfb103813d63ab0d7a79ff868
CRs-Fixed: 2138016
2017-11-06 18:29:57 -08:00
Jeff Johnson
5505db8b3c qcacld-3.0: Rename pWlanDev
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pWlanDev to align with the Coding Style.

Change-Id: I4fcceec19e1bca130f224b4350d40b5e8be69f28
CRs-Fixed: 2138015
2017-11-06 18:29:54 -08:00
Jeff Johnson
59b19312d3 qcacld-3.0: Rename hdd_context btCoexModeSet field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field btCoexModeSet in struct hdd_context.

Change-Id: I3db356fca8fb1fe0022fdddcddb05d709b64d870
CRs-Fixed: 2138014
2017-11-06 18:29:51 -08:00
Jeff Johnson
acbdb1c174 qcacld-3.0: Rename p2pDeviceAddress
Per the Linux coding style "mixed-case names are frowned upon" so
rename field p2pDeviceAddress in struct hdd_context as well as the
local variable of the same name in __wlan_hdd_add_virtual_intf().

Change-Id: I5604066e115630786afe381ee61433ed516e3248
CRs-Fixed: 2138013
2017-11-06 18:29:49 -08:00
Jeff Johnson
6b51b6a6c8 qcacld-3.0: Rename hddWmmDscpToUpMap
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddWmmDscpToUpMap in struct hdd_adapter as well as the
local variable of the same name in hdd_wmm_init().

Change-Id: I9ce70c28f492850c0e4aa4245403d06f4128c9e8
CRs-Fixed: 2138012
2017-11-06 18:29:46 -08:00
snandini
70995ec0ad Release 5.2.0.52P
Release 5.2.0.52P

Change-Id: I29b827a5b7d628c11666c5381f7026276724184c
CRs-Fixed: 774533
2017-11-05 00:08:33 -07:00
Sandeep Puligilla
5f86d9986b qcacld-3.0: Cleanup mscanpending flag
cleanup mscanpending flag and replace it
with scan component API's to get the
status of pending scans.

Change-Id: I87c3d18f4da35800d1c2a323bdd5be88a71bccca
CRs-Fixed: 2136149
2017-11-05 00:08:32 -07:00
Sandeep Puligilla
999ba33342 qcacld-3.0: cleanup legacy scan request processing
Cleanup legacy scan request processing
from HDD and SME api to process the same.

Change-Id: Ic160dfafcfa015eb42a226304260b1be3dddc6f0
CRs-Fixed: 2136149
2017-11-05 00:08:30 -07:00
snandini
7855452db0 Release 5.2.0.52O
Release 5.2.0.52O

Change-Id: Ifa4f61e66490040b2141ba5021e0957155992ea7
CRs-Fixed: 774533
2017-11-04 06:59:44 -07:00
Tushnim Bhattacharyya
8629489f02 qcacld-3.0: Stop the opportunistic timer when hdd stop happens
Stop the opportunistic timer & take action if needed when hdd stop
happens. Also, take action when set_hw_mode request to FW times out.

Change-Id: I32f1e38e93a5805e0d85b800cc4e070cd6f79669
CRs-Fixed: 2133388
2017-11-04 06:59:44 -07:00
Rajeev Kumar
6c46dd8335 qcacld-3.0: Remove duplicate PNO scan update logic from legacy HDD
PNO is moved to scan component and logic to update PNO scan result
has also moved to SCM hence remove the duplciate logic from HDD.

Change-Id: I85c601fef72021a053e1d73cc3a295cffb010fbe
CRs-Fixed: 2138067
2017-11-04 06:59:41 -07:00
snandini
73404973b3 Release 5.2.0.52N
Release 5.2.0.52N

Change-Id: Ibe30ac6680b7ba2fdbf28c4a0246fe5b0a80388d
CRs-Fixed: 774533
2017-11-03 15:58:46 -07:00
Sandeep Puligilla
8fa28fd26f qcacld-3.0: Clear the HDD scan list during exit
HDD scan list is not cleared as part of
wlan driver exit if the driver state is
closed.

Clear the HDD scan list irrespective of the driver
status but send scan abort to firmware only when
firmware is active. It mean don't send abort when
driver is in closed state.

Change-Id: Ib1b52203aafafd3e7af50224e5d245c80c45efad
CRs-Fixed: 2137288
2017-11-03 15:58:45 -07:00
snandini
21e2f8eb1f Release 5.2.0.52M
Release 5.2.0.52M

Change-Id: I3a6646bda9acbd72c150b1f44472329d4b6a9991
CRs-Fixed: 774533
2017-11-03 05:48:43 -07:00
Abhishek Singh
4472548952 qcacld-3.0: Fix IBSS peer memory leaks
In IBSS while adding the peer the BSSID mac address was used
instead of peer address. Also while deleting peer the MAC was not
properly fetched and thus peers were not added and deleted properly
leading to peer leak.

Fix this by using peer mac while adding the IBSS peer and using
proper MAC while deleting the IBSS peer.

Change-Id: I1315103999ebec6643b3ffd6cf73e164abd5c7fa
CRs-Fixed: 2136752
2017-11-03 05:48:43 -07:00
snandini
3b4b41d6c9 Release 5.2.0.52L
Release 5.2.0.52L

Change-Id: If6ceb1f4e5639f90bc19562811d160477abd4774
CRs-Fixed: 774533
2017-11-03 03:48:22 -07:00
bings
8321073763 qcacld-3.0: Do not destroy rx_buff_list_lock if it is not used
When CONFIG_HL_SUPPORT is defined, htt_rx_dbg_rxbuf_init is not called,
and rx_buff_list_lock is not initialized. rx_buff_list_lock should not
be destroyed if it is not initialized.

Do not call htt_rx_dbg_rxbuf_deinit when CONFIG_HL_SUPPORT is defined.

Change-Id: I9d64313efd5a9978b3fb953ac5d7ffb466abe010
CRs-Fixed: 2134345
2017-11-03 03:48:22 -07:00
snandini
676617373e Release 5.2.0.52K
Release 5.2.0.52K

Change-Id: I973315ff68aecc5a91662ce3e52c606cf8bb874b
CRs-Fixed: 774533
2017-11-02 16:56:22 -07:00
Jeff Johnson
7d2f4c689f qcacld-3.0: Rename struct hdd_wapi_info fields
Per the Linux coding style "mixed-case names are frowned upon" so
rename all fields in struct hdd_wapi_info.

Change-Id: I7df5a9523d00186f8b40de81c8544c0c1dc56b69
CRs-Fixed: 2137220
2017-11-02 12:59:16 -07:00
Jeff Johnson
1b780e42ba qcacld-3.0: Rename hdd_adapter sessionId field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sessionId in struct hdd_adapter.

Change-Id: Ic33452766d5aee02fa0d87f9d198485b4192db39
CRs-Fixed: 2135916
2017-11-02 12:59:16 -07:00
Jeff Johnson
af2ae4b3bf qcacld-3.0: Rename some hdd_roaming_info fields
Per the Linux coding style "mixed-case names are frowned upon" so
rename the following fields in struct hdd_roaming_info:
- peerMac
- roamId
- roamStatus
- deferKeyComplete

Change-Id: I14f280ad3d8043aee3098ad9f28fc86a97202249
CRs-Fixed: 2136542
2017-11-02 12:59:16 -07:00
Jeff Johnson
02d14cee08 qcacld-3.0: Rename hdd_adapter hddWmmStatus field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddWmmStatus in struct hdd_adapter.

Change-Id: I6434cc45e4e00bad602721336011b335ca300687
CRs-Fixed: 2135914
2017-11-02 12:59:16 -07:00
Jeff Johnson
fee20aa724 qcacld-3.0: Remove obsolete roamingState
Field roamingState in struct hdd_roaming_info is written but never
read. Since this information is not used, remove it.

Change-Id: If845658a3aa46843e6e558911ed8dee68ea592d1
CRs-Fixed: 2135912
2017-11-02 12:59:16 -07:00
Jeff Johnson
bd4c4f029b qcacld-3.0: Rename hdd_adapter linkStatus field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field linkStatus in struct hdd_adapter.

Change-Id: I842b4caae5f0c8fef90d9a6971cce2416983dc6f
CRs-Fixed: 2135915
2017-11-02 12:59:16 -07:00