Commit Graph

2563 Commits

Author SHA1 Message Date
Jeff Johnson
8a621308c2 qcacld-3.0: Fix -Wmissing-prototypes in sap/dfs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sap/dfs.

Change-Id: I05b091f33d94a0219d4113d49c392828ed4350b8
CRs-Fixed: 1075555
2016-10-17 21:59:06 -07:00
qcabuildsw
61353074e5 Release 5.1.0.31L
Release 5.1.0.31L

Change-Id: I07564ead23f2a506470b36565397c1a66fe90283
CRs-Fixed: 688141
2016-10-17 21:59:05 -07:00
Nishank Aggarwal
2154a71e82 qcacld-3.0: Avoid initializing the pmfcomeback timer twice
Currently pmfcomeback timer entry initializing twice.
Remove the changes to initialize pmfcomeback timer entry
from lim_fill_ft_session as it is already initialize
in pe_create_session.

Change-Id: I74d6997d9fe861f6e1cc69c233f0de754b3d040a
CRs-Fixed: 1077346
2016-10-17 21:59:03 -07:00
qcabuildsw
ac90a7d704 Release 5.1.0.31K
Release 5.1.0.31K

Change-Id: I5a983e6b672cf1ee498414c249fa2233d7aa76a6
CRs-Fixed: 688141
2016-10-17 21:59:01 -07:00
Krishna Kumaar Natarajan
b7dec7e073 qcacld-3.0: CL 1661761 - update fw common interface files
Add IPA TX msdu_id space repartitioning.

Change-Id: I2dd4d430c3ba4413c6b0629d2a97d06769ef0afd
CRs-Fixed: 865207
2016-10-17 21:58:53 -07:00
Krishna Kumaar Natarajan
bddb667625 qcacld-3.0: CL 1661152 - update fw common interface files
Add extended FW build version info to the WMI ready messages.

Change-Id: I4b9a62c56e365825d4d8db91031888518f2509c7
CRs-Fixed: 865207
2016-10-17 21:58:51 -07:00
Himanshu Agarwal
0998383790 qcacld-3.0: CL 1660720 - update fw common interface files
Add wmi_pdev_band_to_mac TLVs to wmi_pdev_set_hw_mode and
support > 32 vdevs in swba_event.

Change-Id: I29e6513fae5a2aa6318ee8d65f77c289228efb6e
CRs-Fixed: 865207
2016-10-17 21:58:49 -07:00
qcabuildsw
b5c194bcd5 Release 5.1.0.31J
Release 5.1.0.31J

Change-Id: I3e16cf93a07476dc454ff74424c8a346da0b9d51
CRs-Fixed: 688141
2016-10-17 21:58:44 -07:00
Naveen Rawat
1620ecb8ee qcacld-3.0: Fix HT/VHT channel width for 2.4/5Ghz band
In function lim_send_ies_per_band, use ini configuration to
fix HT channel width for 2.4/5 GHz band. For 2.4GHz set VHT
channel width to 0.

Change-Id: Ided8628cc78ffbea7c9c9f5a16815daffffca37c
CRs-Fixed: 1076244
2016-10-17 21:58:41 -07:00
qcabuildsw
e15c208e17 Release 5.1.0.31I
Release 5.1.0.31I

Change-Id: I1e0ea3261de5263df6bf2a044888964b5136d1c2
CRs-Fixed: 688141
2016-10-17 21:58:39 -07:00
Yuanyuan Liu
c98370ec35 qcacld-3.0: Update custom MAC address before creating interface
Custom MAC address has to be updated before creating WLAN interface.
Otherwise, custom MAC address won't take affect as WLAN interface will
use the old MAC address auto-generated or from hw_addr/config INI file.

Change-Id: Icd3feda96ffe45896fec2407f4ddb4351992ed81
CRs-Fixed: 1077588
2016-10-17 21:58:38 -07:00
qcabuildsw
0f01091107 Release 5.1.0.31H
Release 5.1.0.31H

Change-Id: Ica6a7d25910e20235b7e62adbeb5e668108dee8c
CRs-Fixed: 688141
2016-10-17 21:58:36 -07:00
Mohit Khanna
e7a4357688 qcacld-3.0: Use correct flag to compile USB-PLD file
Currently we are using different flags to enable compilation of pld_usb.c
and one to enable/disable PLD USB stub functions. Use the same flag for
both cases - CONFIG_PLD_USB_CNSS

Change-Id: Icc89405d785f3fc0ebc4a97d234013ac86ebd068
CRs-Fixed: 1076326
2016-10-17 21:58:34 -07:00
qcabuildsw
1345f45ad6 Release 5.1.0.31G
Release 5.1.0.31G

Change-Id: I1e6834c8018409f61ab85dd1567894024aa2be56
CRs-Fixed: 688141
2016-10-17 21:58:33 -07:00
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