Commit Graph

4200 Commits

Author SHA1 Message Date
Dustin Brown
dba48c8d9d qcacld-3.0: Add debug prints to catch session_id/vdev_id desync
When HDD detects that the session id and vdev id have de-synchronized,
print the PSOC reference tree and induce a crash.

Change-Id: I1ca47837cd024fd66e19d86222cfbbd85e3f5704
CRs-Fixed: 2020092
2017-03-17 11:11:09 -07:00
Sandeep Puligilla
fa6b646144 Release 5.2.0.15V
Release 5.2.0.15V

Change-Id: I4d8ba5bc106682e261cad75bb86a6b0e3a99536e
CRs-Fixed: 688141
2017-03-17 08:48:28 -07:00
Sreelakshmi Konamki
2d67be24ab qcacld-3.0: Resolve "Unknown" values in MTRACE logs
Sometimes MTRACE dump functions returns "unknown" values instead of
data passed to MTRACE. To resolve this add any missing MTRACE code and
data enums to the corresponding trace functions.

Change-Id: I86b9b9f433be64879c96ccc65c142e07aaf23ed0
CRs-Fixed: 2018532
2017-03-17 08:48:27 -07:00
Sreelakshmi Konamki
40032d588e qcacld-3.0: Update MDIE when PNO match event found
qcacld-2.0 to qcacld-3.0 propagation

Current implementation does not update MDIE while processing of
PNO match event due to this STA is unable to connect to 11r AP.

Add changes to update MDIE to 'tSirBssDescription' in
csr_scan_save_preferred_network_found()

Change-Id: Ia419c0f7284fc168434d91bcc3d7b29b99a06f3f
CRs-Fixed: 2005101
2017-03-17 08:48:26 -07:00
Sreelakshmi Konamki
33a0231baf qcacld-3.0: Remove redundant ini configuration
qcacld-2.0 to qcacld-3.0 propagation

'apDataAvailPollPeriodInMs' ini is redundant in registry table and
hdd_update_config_dat().

Fix to remove redundant ini 'apDataAvailPollPeriodInMs' variable.

Change-Id: Ieb5214ec3052bbec793e91d294b03e425292e348
CRs-Fixed: 2000336
2017-03-17 08:48:24 -07:00
Sandeep Puligilla
e952e222c6 Release 5.2.0.15U
Release 5.2.0.15U

Change-Id: Ie5f34beaf0dcfcc448863f0818b03e2fc4dfb127
CRs-Fixed: 688141
2017-03-17 06:35:38 -07:00
Poddar, Siddarth
a5075466e4 qcacld-3.0: Drop the pkt if deauth is in progress
When SAP initiates deauth/diassoc for peer device, it sets
isDeauthInProgress flag. So, if host receives tx packets
for peer from network layer or ipa path while peer remove
is in progress, then drop the tx packets at hdd level
in __hdd_softap_hard_start_xmit based on above flag check.

CRs-Fixed: 2016092
Change-Id: I52c3bcd92478eb657bdd90d15eb13d1cd95ee090
2017-03-17 06:35:36 -07:00
Sandeep Puligilla
b8a8babc8f Release 5.2.0.15T
Release 5.2.0.15T

Change-Id: I762a088a7a51964e694d555490bb8cfa8357c97a
CRs-Fixed: 688141
2017-03-17 05:37:37 -07:00
yeshwanth sriram guntuka
e345b66378 qcacld-3.0: Fix double peer clear during disconnect
wma_remove_peer does clear peer as part of disconnect.
hdd_roam_deregister_sta also does clear peer which results
in clear peer failed error message.

Fix is to avoid clear peer again in disconnect handler.

Change-Id: I0399a81779aad87201cb67e070421ec549b2d837
CRs-Fixed: 2019168
2017-03-17 05:37:36 -07:00
Sandeep Puligilla
6e9dba15f9 Release 5.2.0.15S
Release 5.2.0.15S

Change-Id: I48e8b46a54006000e47434f95aa5705e822995cb
CRs-Fixed: 688141
2017-03-17 04:59:18 -07:00
Abhishek Singh
897b27a745 qcacld-3.0: Don't send reg hint during start modules after PDR
After PDR driver send regulatory hint with the same country code
which was already set by driver before PDR. As part of regulatory
hint kernel remove the custom regulatory flag from wiphy flags
and as in this case country has not changed, no reg notifier is
called and thus wiphy flags are not restored by driver.
Due to this if user set an country the channel flags and power
are not reset and 5Ghz channels remain Passive.

To fix this don't send reg hint during start modules if
init_by_driver flag is set.

Change-Id: I126465aa91f40df5c92da44361f414a7792e927f
CRs-Fixed: 2019049
2017-03-17 04:59:18 -07:00
Abhishek Singh
cfb4448302 qcacld-3.0: Fix compile errors when WLAN_FEATURE_11W is disabled
Fix compilation errors when WLAN_FEATURE_11W is disabled.

Change-Id: I5bed89f0077a51117c57e176568f849293d40ee5
CRs-Fixed: 2019223
2017-03-17 04:59:16 -07:00
Sandeep Puligilla
482456d4d1 Release 5.2.0.15R
Release 5.2.0.15R

Change-Id: Iae6f0d570ce1360bc61305cb8b2866e8a1cb3c34
CRs-Fixed: 688141
2017-03-17 04:19:15 -07:00
Wu Gao
64b3148ed6 qcacld-3.0: P2P kbuild change
This is a change for kbuild of P2P component.

Change-Id: Ice39e550429751b85fa3963490c5d2a145dac965
CRs-Fixed: 2006255
2017-03-17 04:19:14 -07:00
Sandeep Puligilla
cccccab307 Release 5.2.0.15Q
Release 5.2.0.15Q

Change-Id: I2740136f700c203b506eb6dfe630a16ea67afd46
CRs-Fixed: 688141
2017-03-17 03:40:29 -07:00
Wu Gao
2ae0b59e42 qcacld-3.0: Save qdf device to soc object
It need qdf device if send mgmt frame. But host common can not access
legacy codes. Save it to soc object.

Change-Id: Ib943c5f3356e02b946ad1d30838d464e36dd643f
CRs-Fixed: 2014648
2017-03-17 16:43:39 +08:00
Sandeep Puligilla
995ea87265 Release 5.2.0.15P
Release 5.2.0.15P

Change-Id: I012c21ea9e66ba9f794ab0d756d4c4bfb563269a
CRs-Fixed: 688141
2017-03-16 11:21:34 -07:00
Varun Reddy Yeturu
1ce7affdda qcacld-3.0: Handle roam synch propagation failure
Handle Roam synch propagation failure properly.
Disable the roaming in progress flags in HDD.
Send a ROAM STOP command to firmware immediately.

Change-Id: I5f014ab79db553a1df758bf639362f26272a6a23
CRs-Fixed: 2020168
2017-03-16 11:21:33 -07:00
Sandeep Puligilla
5298cd5d19 Release 5.2.0.15O
Release 5.2.0.15O

Change-Id: I4e39dd4dd02abcd573bda49307791255ca87ed28
CRs-Fixed: 688141
2017-03-16 09:49:53 -07:00
Nishank Aggarwal
4a88884148 qcacld-3.0: Fix ASSERT while loading driver
Currently in csr_purge_old_scan_results() mutex_lock
did't acquire by current thread but same thread is
releasing the lock due to which there is a ASSERT while
releasing mutex_lock.

Fix is to acuire the mutex_lock properly before releasing.

Change-Id: I1023dca73ffaa3d3b3a123d474c3ac5b0e1c1af2
CRs-Fixed: 2020452
2017-03-16 09:49:52 -07:00
Sandeep Puligilla
ada3b6e1b3 Release 5.2.0.15N
Release 5.2.0.15N

Change-Id: I9e15459324f5d401fbe884c7f8e08261fcaf69bd
CRs-Fixed: 688141
2017-03-16 08:33:24 -07:00
Ashish Kumar Dhanotiya
5e6cfc0f86 qcacld-3.0: Enable GreenAp feature in Kbuild
GreenAp is not enabled in Kbuild.

Enable GreenAp feature in Kbuild.

Change-Id: Ia3ea7055de12361d37c6a0de1fca3db7087d3489
CRs-Fixed: 2019921
2017-03-16 08:33:24 -07:00
Sandeep Puligilla
a836686bb4 Release 5.2.0.15M
Release 5.2.0.15M

Change-Id: I12420d407f2938b580eb2c525449b822b2293a02
CRs-Fixed: 688141
2017-03-16 07:00:29 -07:00
Nitesh Shah
49f5390c82 qcacld-3.0: Acquire mutex before accessing p2p context
Every access to remain_on_chan_ctx need to be protected
with mutex lock.

This change refactors the code in the function wlan_hdd_
cancel_existing_remain_on_channel() and wlan_hdd_cancel_
pending_roc().

Change-Id: Ie4551ab7cc4297f04ea2980aff7e613f6d3d2bb6
CRs-Fixed: 2020554
2017-03-16 07:00:28 -07:00
Sandeep Puligilla
c6c0475e0e Release 5.2.0.15L
Release 5.2.0.15L

Change-Id: I18e78f84aa50361f4b210a27573b1f53ad4b52f5
CRs-Fixed: 688141
2017-03-16 06:20:27 -07:00
Wu Gao
e960db6cb8 qcacld-3.0: Add os interface to vdev
Some of cfg80211 callbacks need os structure wireless_dev. Pass it to
vdev object when creating.

Change-Id: I360f5a6d205dfa223139b7ca0de8e567146770f7
CRs-Fixed: 2014563
2017-03-16 06:20:26 -07:00
Sandeep Puligilla
e2ffa6654e Release 5.2.0.15K
Release 5.2.0.15K

Change-Id: Iab773b8db49662d2e5b2f266a2cde650486e7d31
CRs-Fixed: 688141
2017-03-16 05:38:58 -07:00
Abhishek Singh
9e42cff3c5 qcacld-3.0: Prioritize connection req frames in pe queue
qcacld-2.0 to qcacld-3.0 propagation

If there are many beacon/probe received and posted to pe queue
the connection req frames may get delayed and thus effect the
connection. This may also lead to connection failures.

To avoid this prioritize the connection req frames in pe queue.

Change-Id: I5a6fd5c21242205dd080b2ba0cff5f823f51d109
CRs-Fixed: 2013381
2017-03-16 05:38:58 -07:00
Sandeep Puligilla
641d554f52 Release 5.2.0.15J
Release 5.2.0.15J

Change-Id: I7bc1249283c0bb73e70696401712c852a9757f3d
CRs-Fixed: 688141
2017-03-16 00:55:49 -07:00
yeshwanth sriram guntuka
945b621a79 qcacld-3.0: Fix memory leak in lim_del_sta
Memory is not freed in lim_del_sta API when response
required is not enabled and wmi service
(WMI_SERVICE_SYNC_DELETE_CMDS) is enabled.

Fix is to free memory in wma peer delete handler.

Change-Id: I8d8a799935ad6199357b4a534e58d54dcbea8d2c
CRs-Fixed: 2015973
2017-03-16 00:55:48 -07:00
Sandeep Puligilla
37a40d737c Release 5.2.0.15I
Release 5.2.0.15I

Change-Id: I1e7f47a6165b5465e6d5efb86ca4d0effb340a3d
CRs-Fixed: 688141
2017-03-15 18:26:41 -07:00
Dustin Brown
9ef609b196 qcacld-3.0: Fix unit-test suspend regression
A previous commit failed to propagate WoW enable parameters down to
the Power Management Offload (PMO) component. Propagate WoW enable
parameters to the PMO component to restore unit-test suspend
functionality.

Change-Id: I6531a262a189b416499953bc013efdf64111ac5a
CRs-Fixed: 2020034
2017-03-15 18:26:41 -07:00
Sandeep Puligilla
e402d5676c Release 5.2.0.15H
Release 5.2.0.15H

Change-Id: I9351e74039ce65380d40b34389a4e98adf48af25
CRs-Fixed: 688141
2017-03-15 15:22:42 -07:00
Arif Hussain
15115cb9b8 qcacld-3.0: Add support for delay_start_time in scheduled scan request
Add support to pass delay_start_time to firmware, this delay will be
used before starting the first scan cycle.

Change-Id: Ia3043eecc38507b1581fa85b8787b2e7786017de
CRs-Fixed: 2014142
2017-03-15 15:22:41 -07:00
Sandeep Puligilla
ee5d2ba391 Release 5.2.0.15G
Release 5.2.0.15G

Change-Id: If23460ea5f234a1dd42de8fac9b86734932efc39
CRs-Fixed: 688141
2017-03-15 09:16:22 -07:00
Ashish Kumar Dhanotiya
147860eb6a qcacld-3.0: Decrease default waiting timer value for interface up
Currently default waiting timer value is 100 sec which is too large,
change the timer value to 15 sec.

Change-Id: If116f9ace2e2c0c41438c4be9c9fa834ae9e4a60
CRs-Fixed: 2019739
2017-03-15 09:16:22 -07:00
Sandeep Puligilla
bb53d31b0b Release 5.2.0.15F
Release 5.2.0.15F

Change-Id: I0d722fd65e80d696086dcc2b69db59c5f6152804
CRs-Fixed: 688141
2017-03-15 05:08:55 -07:00
yeshwanth sriram guntuka
47f26e6a0d qcacld-3.0: Add HT/VHT check when getting network type
11n or 11ac AP does not include 11g rates due to which
driver treats the AP as 11b AP.

Fix is to add HT/VHT check so that driver treats AP
based on capabilities.

Change-Id: I1bb49408e4e480578e2f190c5f7c0408f734d82e
CRs-Fixed: 2015843
2017-03-15 05:08:55 -07:00
Sandeep Puligilla
7deaee9e98 Release 5.2.0.15E
Release 5.2.0.15E

Change-Id: I33b2135c4e659bfd148c6efc83105ef5f3084ab8
CRs-Fixed: 688141
2017-03-15 04:26:47 -07:00
Abhishek Singh
257a9483f6 qcacld-3.0: Add support to update the def scan params from INI file
Add support to update the scan params depending on the values in
INI file

Change-Id: Idebc7e6c02bc6a7405b33a9f99c1e5186341c494
CRs-Fixed: 2013212
2017-03-15 04:26:47 -07:00
Sandeep Puligilla
1a61cd5c0d Release 5.2.0.15D
Release 5.2.0.15D

Change-Id: Ic4a6724af709c3515cc2e8d811d1f498bd460959
CRs-Fixed: 688141
2017-03-15 02:57:27 -07:00
Ganesh Kondabattini
520a83deeb qcacld-3.0: Don't change the limSmeState for tdls peer
For TDLS peer delete, mlme changes the limSmeState of STA session
to eLIM_MLM_WT_DEL_STA_RSP_STATE.

This leads to not sending vdev down to FW for STA interface as
psessionEntry->limMlmState is not in eLIM_MLM_LINK_ESTABLISHED_STATE.

CRs-Fixed: 2019041
Change-Id: I0707eabc8f4cf2571996d8ef2d6d621e01bcbb39
2017-03-15 02:57:27 -07:00
Sandeep Puligilla
850e523bbc Release 5.2.0.15C
Release 5.2.0.15C

Change-Id: Iffd0c4d6f577d646465a2f1740f7b24c928ea0e5
CRs-Fixed: 688141
2017-03-15 02:19:16 -07:00
Ashish Kumar Dhanotiya
f998a58976 qcacld-3.0: Change default fw log mode
Set default fw log mode to 1, which will re-direct fw logs to WMI.

Change-Id: Iec2d344bf3a419858fb92950bc234b5d1576c3d9
CRs-Fixed: 2007175
2017-03-15 02:19:16 -07:00
Sandeep Puligilla
c3a99faf66 Release 5.2.0.15B
Release 5.2.0.15B

Change-Id: I8a3cce9ead89ead3c806600f7ce78abc9e360347
CRs-Fixed: 688141
2017-03-15 01:03:11 -07:00
Mukul Sharma
72ffb7e14b qcacld-3.0: Free wow params as apart of the suspend/resume
Free wow params as apart of the suspend/resume.

Change-Id: I6a3ab9098704cfd7e7d270b0a77f0521ae9d9ce9
CRs-Fixed: 2019140
2017-03-15 01:03:11 -07:00
Sandeep Puligilla
2caeaf7b4a Release 5.2.0.15A
Release 5.2.0.15A

Change-Id: I8d2185dbace96bb7a50578b8523a56d3a0f3b3d0
CRs-Fixed: 688141
2017-03-14 23:40:52 -07:00
Varun Reddy Yeturu
88f123c804 qcacld-3.0: Ignore RSI if disconnect is initiated
Ignore the Roam Synch Indication from firmware if the
user space has already issued a disconnect before
receiving ROAM_START from firmware.

Disconnect might have cleared the roam profile and will be
sitting in the queue for the PE processing to happen.
If the disconnect is in the queue and a roam synch indication
is received, then check the CSR state from the first callback
of roam synch propagation and bail out there itself.

Disconnect will eventually send a ROAM_STOP command to the
firmware and it will cleanup

Change-Id: I528f552cd601dc9d23f709410115fb0af944899d
CRs-Fixed: 2018928
2017-03-14 23:40:51 -07:00
Varun Reddy Yeturu
f86f052f74 qcacld-3.0: Issue disconnect if roaming fails
If the offloaded roaming feature has started, but
has not completed for some reason, then issue a
disconnect and cleanup

Change-Id: Ibcd4f83ea126a1d05531f9bf30d6827008fdbfea
CRs-Fixed: 2019435
2017-03-14 23:40:50 -07:00
Sandeep Puligilla
0eb6f340e3 Release 5.2.0.15
Release 5.2.0.15

Change-Id: I8567b307634bc8d9981f2c70bee04e72ae18e804
CRs-Fixed: 688141
2017-03-14 22:23:37 -07:00