Graphe des révisions

2549 Révisions

Auteur SHA1 Message Date
Nitesh Shah
0f3fce5816 qcacld-3.0: Fix to clear pending scan id when scan is aborted
In case of scan abort FW does not send WMI_SCAN_EVENT_COMPLETED
event and directly sends WMI_SCAN_EVENT_DEQUEUED or
WMI_SCAN_EVENT_START_FAILED. In this case the scan id does not
get clear and hence block Host from power collapsing.

Include WMI_SCAN_EVENT_DEQUEUED and WMI_SCAN_EVENT_START_FAILED when
accounting for completed scans, and change to tracking pending scans
with a counter instead of individual Ids.

Change-Id: Iaa2977dd5899d214251cbf4f1f8caf768725f538
CRs-Fixed: 1077518
2016-10-17 21:58:31 -07:00
qcabuildsw
e4f2b1586f Release 5.1.0.31F
Release 5.1.0.31F

Change-Id: I1e55a374642cb9df25c98fa78997a637b13e9c9f
CRs-Fixed: 688141
2016-10-17 21:58:28 -07:00
Kapil Gupta
bf4943c25e qcacld-3.0: Remove excessive logging related to stats
qcacld-2.0 to qcacld-3.0 propagation

Lot of stats related info logs are periodic and cause log spam.
Add changes to remove excessive logs.

CRs-Fixed: 1066273
Change-Id: I7064630c9ee4e01eafe0b5f00626aa6f20c0403d
2016-10-17 21:58:26 -07:00
Himanshu Agarwal
b4823b570c qcacld-3.0: Fix compilation issues on disabling LFR3.0 roaming
Fix various compilation issues coming when LFR3.0 is
disabled by undefining WLAN_FEATURE_ROAM_OFFLOAD macro
in Kbuild.

Change-Id: Id483dc9fcc57d359f13b385dd655e34c1823a77f
CRs-fixed: 1071087
2016-10-17 21:58:25 -07:00
Agrawal Ashish
88813478a1 qcacld-3.0: Remove redundant code for wma_set_cts2self_for_p2p_go
SME is calling wma_set_cts2self_for_p2p_go directly.
No need to post message to MC Thread.

Change-Id: I335b1c8a6289560dbe6c0a3ccce60695922ff3ed
CRs-Fixed: 1075981
2016-10-17 21:58:23 -07:00
Pradeep Reddy POTTETI
983107dafb qcacld-3.0: Send TDLS Teardown with proper AC
This is qcacld-2.0 to qcacld-3.0 propagation.

Transmit TDLS Teardown frame with VI AC on direct link
if tdls peer supports qos.

CRs-Fixed: 885035
Change-Id: I02cfd29ea1619b12b2ccb130aa7374e19b4f8491
2016-10-17 21:58:22 -07:00
Padma, Santhosh Kumar
a9e08e9907 qcacld-3.0: Fix misleading comments
qcacld-2.0 to qcacld-3.0 propagation

Currently comments for enum HDD_WMM_USER_MODE_NO_QOS are misleading.
It does not clearly say that uapsd is disabled when wmm mode is
HDD_WMM_USER_MODE_NO_QOS. Fix this by adding appropriate comments.

Change-Id: I6696c92f0a67b18c3ada6736f37ef498a68c881e
CRs-Fixed: 1074503
2016-10-17 21:58:20 -07:00
Mahesh A Saptasagar
a3cd10b925 qcacld-3.0: Fix for PNO scan for 802.11A configured AP
qcacld-2.0 to qcacld-3.0 propagation

If Probe Responce received in PNO indication does not
contain DSParam IE or HT Info IE then add dummy channel to the
received BSS info so that Scan result received as a part of PNO
is updated to the supplicant.

Change-Id: I25ac973cc90fc9f5258ff8f012c90dd9e9394eb0
CRs-Fixed: 629288
2016-10-17 21:58:19 -07:00
Deepthi Gowri
ccfd918e7b qcacld-3.0: Set the Extcap present flag if Ext-caps element is present
qcacld-2.0 to qcacld-3.0 propagation

Currently the Extcap present flag is not set even if the extended
capabilities are present in the assoc response, assoc req or
reassoc req frames.

To address this, set the extcap present flag in assoc response, assoc
request or reassoc req Extcab structure.

CRs-Fixed: 1073033
Change-Id: I84ffb04105af0c84d33e524814795dd30a5d62a5
2016-10-17 21:58:16 -07:00
Deepthi Gowri
973890eeb9 qcacld-3.0: Fix for crash caused by buffer overflow
qcacld-2.0 to qcacld-3.0 propagation

In sme_update_dsc_pto_up_mapping() function, we try to write into
the array dscpmapping in 255th location, if the location index
happens to be 255. But the size of dscpmapping array is 64 only
which is causing out of boundary access resulting in crash.

To address this, avoid writing in out of boundary. If the DSCP
range is 255, there is no mapping for such priority, so there is
no need assign anything for dscpmapping.

CRs-Fixed: 1027457
Change-Id: Ic4299122b10a990d17816f864ef8415c1b75b230
2016-10-17 21:58:15 -07:00
Deepthi Gowri
0a151cbb2e qcacld-3.0: Protect the ROC ctx with mutex during mgmt TX
qcacld-2.0 to qcacld-3.0 propagation

Protect access of remain_on_chan_ctx in __wlan_hdd_mgmt_tx
under remain_on_chan_ctx_lock mutex.

CRs-Fixed: 1054846
Change-Id: Ia96d1ea901bcbe95b5ecf608d63ba6a544a1465c
2016-10-17 21:58:13 -07:00
qcabuildsw
b62b564728 Release 5.1.0.31E
Release 5.1.0.31E

Change-Id: I75b2ff2e3c87f9b37eb49e6dfb4ded06a6205fa7
CRs-Fixed: 688141
2016-10-17 21:58:11 -07:00
Ravi Joshi
fed835703b qcacld-3.0: Fix throughput regression in 5G TCP DL due to tcp delack
Incorrect integration of a change caused tcp delayed ack not
to trigger resulting in overall lower throughput.

Change-Id: I3a35a70515e4e61a4c81f14f8881e989ac5ac039
CRs-Fixed: 1075723
2016-10-17 21:58:10 -07:00
Mohit Khanna
970a6336ee qcacld-3.0: Fix HTT_T2H_MSG_TYPE_WDI_IPA_OP_RESPONSE handler
Currently we are queuing the message into rx thread for processing even
if the RX thread is not enabled.

Solution: Donot queue the message into Rx thread. Call the
callback function directly (registered during
ol_txrx_ipa_uc_register_op_cb)

Change-Id: Iae45c059006592293ea61d04be89b1477daae514
CRs-Fixed: 1075151
2016-10-17 21:58:08 -07:00
qcabuildsw
5341d49f25 Release 5.1.0.31D
Release 5.1.0.31D

Change-Id: Id038c52e956bade902de41fe64ba1e35f753f791
CRs-Fixed: 688141
2016-10-17 21:58:06 -07:00
Komal Seelam
355b1474f9 qcacld-3.0: Use PLD API to query MAC Address from Platform Driver
Move CNSS API to PLD API to query WLAN MAC Address from Platform Driver

Change-Id: I97724711cdf08824e0a46398284e40b798b4553d
CRs-Fixed: 1063837
2016-10-17 21:58:05 -07:00
Komal Seelam
81cb16678f qcacld-3.0: Disable Runtime PM when dfs channels are used
During DFS scanning FW needs host access. Hence disable Runtime PM
to ensure link is active.

Change-Id: I307cec1c3e8451758bf2fa44a8dd43f257ab8780
CRs-Fixed: 1072520
2016-10-17 21:58:01 -07:00
Komal Seelam
aa75f26bff qcacld-3.0: Disable Runtime PM when ROC in progress
During ROC, runtime pm needs to be disabled to allow FW send the
packets to host.

Change-Id: Ib51321f105b5a57df2d67c0ff1502dc4c051a5da
CRs-Fixed: 1072520
2016-10-17 21:57:53 -07:00
Komal Seelam
8634b7772e qcacld-3.0: Disable Runtime PM when scan in progress
scan request and responses are async. So prevent runtime pm
till scan is completed.

Change-Id: I48dc835c0720213e2bc6e69f4dc5dd9eb084dd4a
CRs-Fixed: 1072520
2016-10-17 21:57:51 -07:00
Komal Seelam
a89be8d2b5 qcacld-3.0: Prevent Runtime PM when connection in progress
Add logic to prevent runtime pm when connect and DHCP
in progress.

CRs-Fixed: 1072520
Change-Id: I3f44bb32aabe2d119c4bf3888f49891b44fc2c7b
2016-10-17 21:57:49 -07:00
qcabuildsw
d18de2eb67 Release 5.1.0.31C
Release 5.1.0.31C

Change-Id: I05381fb1c742ae2108d0d225185a696666f69fd7
CRs-Fixed: 688141
2016-10-17 21:57:47 -07:00
Arun Khandavalli
16fd1ee609 qcacld-3.0: Cleanup handling of dynamic mode switching
Cleanup all the interfaces in the present mode before
switching to new mode. Also add support to comeback into
MISSION_MODE from other modes, Set the load/unload flags
during the con_mode switching.

Change-Id: I03f7ec5d27c536ec1a3046d49d34ec421490e0bc
CRs-Fixed: 1075546
2016-10-17 21:57:46 -07:00
qcabuildsw
c3ab4f1dd3 Release 5.1.0.31B
Release 5.1.0.31B

Change-Id: I20106cbedee34bef52b0d903bea66aee356d5da6
CRs-Fixed: 688141
2016-10-17 21:57:44 -07:00
Jeff Johnson
801f1537ff qcacld-3.0: Fix -Wmissing-prototypes in lim_process_sme_req_messages
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_process_sme_req_messages.

Change-Id: I24b1bacd4ca1a795e3f7ebdc4af93afaf952dae6
CRs-Fixed: 1075090
2016-10-17 21:57:42 -07:00
Jeff Johnson
82b0c626dd qcacld-3.0: Fix -Wmissing-prototypes in lim_api
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in lim_api.

Change-Id: Ie3defa164278d775759686a7f9508d42799a48e4
CRs-Fixed: 1075090
2016-10-17 21:57:41 -07:00
Jeff Johnson
f731b30df8 qcacld-3.0: Fix -Wmissing-prototypes in wlan_hdd_ioctl
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_hdd_ioctl.

Change-Id: I24089ef930e15af0180eefbf98ab86372684b79f
CRs-Fixed: 1074336
2016-10-17 21:57:38 -07:00
qcabuildsw
a1dc0136c7 Release 5.1.0.31A
Release 5.1.0.31A

Change-Id: I60c9368131698f34ca503ebe25182a498dd682d2
CRs-Fixed: 688141
2016-10-17 21:57:37 -07:00
Rajeev Kumar
f7d000060f qcacld-3.0: Clean up obsolete cds_shutdown API
qcacld-3.0 recovery does not use cds_shutdown routine hence
clean up this obsolete API.

Change-Id: I4779c1336062a2cc6357b2a4cf82248d4c457aa8
CRs-Fixed: 1077094
2016-10-17 21:57:35 -07:00
qcabuildsw
d257ccc686 Release 5.1.0.31
Release 5.1.0.31

Change-Id: Ia3aa3011e0824af2b05c7a939bf2f36b77f6b94d
CRs-Fixed: 688141
2016-10-17 21:57:34 -07:00
Mukul Sharma
e8c919fcc5 qcacld-3.0: Enhance EPNO feature
qcacld-2.0 to qcacld-3.0 propagation

Make the following enhancements to the EPNO feature:
1) Implement the reset EPNO command handler
2) Add new parameters for candidate score calculation.

Change-Id: Iad1ff9c2b003c9e3ddbc3373366686040ccb55ca
CRs-Fixed: 956649
2016-10-17 21:57:33 -07:00
qcabuildsw
fbd2c99c36 Release 5.1.0.30Z
Release 5.1.0.30Z

Change-Id: I1beee86dbcff1255ebfb9599e7def6fadc632211
CRs-Fixed: 688141
2016-10-17 21:57:31 -07:00
Dustin Brown
fc37c6a1c7 qcacld-3.0: Dump packet contents for RA_MATCH and Magic Packet
Add RA Match and Magic Packet to the list of wakeup reasons that cause
packet contents to be dumped to the log durring wow wakeup.

Change-Id: Id7d5474b0d288ebaae3666e8da0dacc6eda4dc69
CRs-Fixed: 1076574
2016-10-17 21:57:30 -07:00
qcabuildsw
d6d19a4261 Release 5.1.0.30Y
Release 5.1.0.30Y

Change-Id: I9d80e4e7b7f90889560fa2bc8f11ad619fb06e3c
CRs-Fixed: 688141
2016-10-17 21:57:28 -07:00
Rajeev Kumar Sirasanagandla
043f4834a7 qcacld-3.0: Don't Invoke cfg80211_scan_done during unload/SSR
qcacld-2.0 to qcacld-3.0 propagation

While netdev interface is closing the __cfg80211_scan_done() shall already
be invoked, so in hdd_cfg80211_scan_done_callback() check for the
interface flag before invoking the cfg80211_scan_done().

Change-Id: If88447acd4d13a4ba0ef84378f21e75669af6c71
CRs-Fixed: 908656
2016-10-17 21:57:27 -07:00
qcabuildsw
864ccdaaf7 Release 5.1.0.30X
Release 5.1.0.30X

Change-Id: Ifc0020054f72ac19d4c8724e69cce640dcbf9cd6
CRs-Fixed: 688141
2016-10-17 21:57:25 -07:00
Krunal Soni
15f0db18db qcacld-3.0: Populate correct PCL & ch numbers to avoid in case of SAP
Incorrect PCL is given by policy manager because of incorrect merging of
valid channel list & weight list which results in to unsafe channel selection.

Driver notifies the list of channels to avoid in terms of frequencies rather
than channel numbers which is not correct.

Change-Id: Ic71766e8c917931d4f051b512fb8000cc34a04ad
CRs-Fixed: 1077025
2016-10-17 21:57:24 -07:00
qcabuildsw
0519291e8f Release 5.1.0.30W
Release 5.1.0.30W

Change-Id: I069f7c5124792f408bda9c20f3f01c3e9aaf36af
CRs-Fixed: 688141
2016-10-17 21:57:22 -07:00
Jeff Johnson
583f101315 qcacld-3.0: Fix -Wmissing-prototypes in wlan_qct_sys
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in wlan_qct_sys.

Change-Id: I7e843d4404dbd2de9a6d6270c931432b3acf1812
CRs-Fixed: 1075090
2016-10-17 21:57:20 -07:00
Jeff Johnson
c1972f6eaf qcacld-3.0: Fix -Wmissing-prototypes in sch_message
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_message.

Change-Id: I6c87ead4fd3fad0590a7a620d9af257621a48cd7
CRs-Fixed: 1075090
2016-10-17 21:57:18 -07:00
Jeff Johnson
5bd0c4991d qcacld-3.0: Fix -Wmissing-prototypes in sch_beacon_process
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_beacon_process.

Change-Id: I9227f77bb7710a32d24072bb4961cd8db77acb8a
CRs-Fixed: 1075090
2016-10-17 21:57:16 -07:00
Jeff Johnson
aeebe65c3d qcacld-3.0: Fix -Wmissing-prototypes in sch_beacon_gen
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sch_beacon_gen.

Change-Id: Ife6bd447ef9e352d76fe06ba7679aa95d1d74556
CRs-Fixed: 1075090
2016-10-17 21:57:14 -07:00
Jeff Johnson
1628188271 qcacld-3.0: Fix -Wmissing-prototypes in rrm_api
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in rrm_api.

Change-Id: I401b58aba9b65e031c8b86d885777299b28ea238
CRs-Fixed: 1075090
2016-10-17 21:57:12 -07:00
qcabuildsw
e50b2d2ded Release 5.1.0.30V
Release 5.1.0.30V

Change-Id: I7440b59bd1e027f4069b4cb5c3b89e9f0db2e2bf
CRs-Fixed: 688141
2016-10-17 21:57:09 -07:00
Jeff Johnson
f3a64e6081 qcacld-3.0: Fix bad SSR protection in wakelock stats handler
It was observed that it was taking an excessive time for Wi-Fi to
unload from the UI.  Logs showed that unload was waiting for an
external thread to exit, giving the entry point as
wlan_hdd_cfg80211_get_wakelock_stats(). Analysis of that function
showed it is incorrectly using the SSR protection functions.  Update
that function to correctly "unprotect" on exit.

Change-Id: Ic7476be656a7b0c8d09748c1e546fd1a33ce33c5
CRs-Fixed: 1077214
2016-10-17 21:57:08 -07:00
qcabuildsw
b384d669ff Release 5.1.0.30U
Release 5.1.0.30U

Change-Id: Icbe0dedbd686adba1513d97c2609b0c8b52eec2c
CRs-Fixed: 688141
2016-10-17 21:57:06 -07:00
Selvaraj, Sridhar
ac4fcf34be qcacld-3.0: Add provision to configure Association disallowed functionality
As part of MBO[MultiBand Operations], association disallowed functionality
is added.i.e. if driver receives probe response/beacon with MBO IE
with association disallowed subattribute present, STA stops connection
attempt with the particular BSS.

This code change addresses the following:
1) Adds provision to ignore/disable association disallowed functionality in
host driver. Apply this change to enable STA to act as testbed for AP
association disallowed test case.

2) Limit the assoc disallowed functionality in host driver only for connect
cases, i.e. limit this only when driver tries to join BSS
[MLM_WT_JOIN_BEACON_STATE] since similar functionality is in supplicant to
take care of scan results case and checks for the assoc disallowed
subattribute presence in probe responses.

Change-Id: I66c6f7f31ebdaad32d01ab8882935861ddb54f51
CRs-Fixed: 1067826
2016-10-17 21:57:05 -07:00
qcabuildsw
999799766d Release 5.1.0.30T
Release 5.1.0.30T

Change-Id: Icf339515919926c70f0b7d03cde8472cea0ecde4
CRs-Fixed: 688141
2016-10-17 21:57:03 -07:00
Padma, Santhosh Kumar
1472fab275 qcacld-3.0: Fix warning during driver unload
During hdd_encrypt_decrypt_deinit, driver tries to acquire sme
global lock. But hdd_encrypt_decrypt_deinit is invoked after sme
close, where driver destroys sme global lock. This results
in failure to acquire sme global lock. Fix this by invoking
hdd_encrypt_decrypt_deinit before sme close. Also, move
hdd_encrypt_decrypt_init to hdd_features_init.

Change-Id: I2c9ab551ea53053db75dc197d6772d53e58f2dfc
CRs-Fixed: 1075442
2016-10-17 21:57:01 -07:00
Srinivas Girigowda
dbfb264005 qcacld-3.0: extscan: Logs cleanup
This is a qcacld-2.0 to qcacld-3.0 propagation.

Remove unnecessary logs and merge some of the logs together.

Change-Id: Ibf9fdf0a92cc71644f02d6890574eeed0d175d6f
CRs-Fixed: 1023849
2016-10-17 21:53:09 -07:00
Srinivas Girigowda
1efc80ea46 qcacld-3.0: Add input validation for SENDACTIONFRAME
This is a qcacld-2.0 to qcacld-3.0 propagation.

Add input validation for SENDACTIONFRAME driver command.

Change-Id: I3d1bf424e5e0f9a3b6f4662dd12a3a7314c7eace
CRs-Fixed: 1001449
2016-10-17 21:53:07 -07:00