Revīziju grafs

5465 Revīzijas

Autors SHA1 Ziņojums Datums
Abhishek Singh
d1d10b4031 qcacld-3.0: Fix ACS failure if no AP is found during scan
If no AP is found in scan req for ACS, the get scan results return
error E_EMPTY. But th ACS need error E_NULL_VALUE to find a valid
channel if scan results are empty.

To fix this Return E_NULL_VALUE instead of E_EMPTY, if scan results
are empty.

Change-Id: Id50eb66e89881d4a763084037bd5576eb500bb68
CRs-Fixed: 2057618
2017-06-08 07:00:25 -07:00
snandini
75cfc19167 Release 5.2.0.28U
Release 5.2.0.28U

Change-Id: I5077bf5dded3b2921b6343cfa79850b11615b87e
CRs-Fixed: 774533
2017-06-07 18:30:51 -07:00
Manikandan Mohan
b4bb248e51 qcacld-3.0: Fix init failure due to HE_OBSSPD cfg invalid
Update WNI static data for HE_OBSSPD param addition to avoid
WNI config init failure which results in insmod failure.

Change-Id: I8e00ad262db02ecc757f83a9d0cbe190fb44ef76
CRs-fixed: 2057882
2017-06-07 14:29:20 -07:00
snandini
58ecbaad99 Release 5.2.0.28T
Release 5.2.0.28T

Change-Id: Icac22b1f2895783fa6536154b77cccad9a2bbe88
CRs-Fixed: 774533
2017-06-07 12:14:46 -07:00
Venkata Sharath Chandra Manchala
1676defe7e qcacld-3.0: Enable TSO
Add FEATURE_TSO flag in Kbuild to enable the
TSO feature for Lithium based chipsets

Change-Id: Ie26b2b9a191828b3ce833000a7abbb09dd492713
CRs-Fixed: 2042950
2017-06-07 12:14:46 -07:00
snandini
905e33947d Release 5.2.0.28S
Release 5.2.0.28S

Change-Id: I1e5b22a7d4de2a17d92333bd9e9ecf4c407f5b45
CRs-Fixed: 774533
2017-06-07 04:11:08 -07:00
Ajit Pal Singh
747b6807c1 qcacld-3.0: Handle wifi config attribute RESTRICT_CHANNEL
Handle WIFI configuration vendor attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_RESTRICT_OFFCHANNEL.
This attribute is set by applications to restrict operations which
cause the AP/GO to go offchannel.

A counter is also added to hdd_adapter to track the number of times
this attribute is set by different applications.
This counter will be reset in the driver when the AP/GO interface is
brought down.
It is the responsibility of the application to remember(through
persistent storage) that it has applied the setting and in case the
application is killed it should be able to recall that it has made the
setting when it is re-started next time.

Change-Id: I45106c8515756d1a007514f1b3e9744bd6ce4834
CRs-Fixed: 2050999
2017-06-07 04:11:07 -07:00
snandini
c6552b9cb9 Release 5.2.0.28R
Release 5.2.0.28R

Change-Id: I71eac69d1126d83ccd52c3ef7db57cc6a3d59236
CRs-Fixed: 774533
2017-06-07 02:45:09 -07:00
hqu
eaa33eee78 qcacld-3.0: Flush scan_block_work when receive NETDEV_GOING_DOWN notifier
qcacld-2.0 to qcacld-3.0 propagation

In some case, scan_block_work will be scheduled, but NETDEV_DOWN will
come before scan_block_work executed, it will lead to crash. Because
in this case it will call ___cfg80211_scan_done to free scan request in
cfg80211_netdev_notifier_call firstly, but it will access scan request
in wlan_hdd_cfg80211_scan_block_cb afterwards, so it will crash.
Add flush scan_block_work process when receive NETDEV_GOING_DOWN notifier.

Change-Id: Iada4b907f5fb03871406904340e21b6cdf89306f
CRs-Fixed: 2034794
2017-06-07 02:45:09 -07:00
Dustin Brown
4ea846d166 qcacld-3.0: Clarify WOW wakeup print messages
The WOW wakeup print messages are causing some confusion. Explicitly
log that UNSPECIFIED wakeups are not caused by WLAN to help.

Change-Id: Ia4d009a702d4a488414a65dd189ed129bde92067
CRs-Fixed: 2053267
2017-06-07 02:45:08 -07:00
snandini
6a810474cb Release 5.2.0.28Q
Release 5.2.0.28Q

Change-Id: I7fa0f941430f1ab6bd8fdf499c5128c2e093310f
CRs-Fixed: 774533
2017-06-06 23:48:33 -07:00
hqu
e52fdd610d qcacld-3.0: Fix wrong function call to get hdd_ctx
It should use function call cds_get_context(QDF_MODULE_ID_HDD) to
get hdd_ctx.

Change-Id: Iba53421d99cff8b78480246d2b18e108eb004f92
CRs-Fixed: 2055622
2017-06-06 23:48:33 -07:00
Padma, Santhosh Kumar
881046193e qcacld-3.0: Remove peer if add bss fails
Currently peer is not removed if add bss fails. This can cause
assert in firmware as driver sends VDEV DELETE without peer delete.

Add changes to remove peer if add bss fails.

Change-Id: I7591af55f24919af9cf2d1f288a5bd9ff706adda
CRs-Fixed: 2029804
2017-06-06 23:48:31 -07:00
wadesong
ba6373eb7d qcacld-3.0: Fix an improper trial spin lock acquiring
Return value of __netif_tx_trylock should be checked immediately
after being invoked, any subsequenct actions designated to the
atomic context should be abandoned if trial acquiring of the
spin lock fails

Change-Id: I95504eed14c3e30d014aa1ccc23356a7df02fb00
CRs-Fixed: 2047246
2017-06-06 23:48:30 -07:00
snandini
6c5d3df31c Release 5.2.0.28P
Release 5.2.0.28P

Change-Id: Id01ddb371741b15265faac18b3d34e4d827633e8
CRs-Fixed: 774533
2017-06-06 10:26:25 -07:00
lifeng
13a89d7d81 qcacld-3.0: Add ini to configure SAP 11n max mcs
qcacld-2.0 to qcacld-3.0 propagation

Add support for configure host init SAP HT rate
upper bound.

Change-Id: If749f8a036d98d9070cb05170fa1e612fcb30e8a
CRs-Fixed: 1091897
2017-06-06 10:26:24 -07:00
lifeng
959a04cedc qcacld-3.0: Support for configure wlan rts sifs,ampdu count
qcacld-2.0 to qcacld-3.0 propagation

Add support for host enable/disable rts sifs bursting, and set
default tx mpdu aggregation count.

CRs-Fixed: 1089478
Change-Id: Ieb63621f217ccd1a50b925ea4dda05fecad01387
2017-06-06 10:26:23 -07:00
snandini
54ed2aa925 Release 5.2.0.28O
Release 5.2.0.28O

Change-Id: Id5fd87278f440ac35094a688056c5fb76179e8a8
CRs-Fixed: 774533
2017-06-06 08:30:58 -07:00
Selvaraj, Sridhar
532ea981c3 qcacld-3.0: Send RSO Start followed by RSO Stop for supplicant disabled roam
Currently, if supplicant disabled roaming, driver doesnot send RSO
cmd to fw. This causes roam invoke to fail in FW since RSO start
never happened at least once to configure roaming engine in FW.

After connection, Send RSO start followed by RSO Stop if supplicant
disabled roaming to make sure roaming engine in FW is configured
properly with required parameters at least once.

Change-Id: I72b73554b03ea3f0fa04d0da2a2db96c0ed8b1c8
CRs-Fixed: 2042629
2017-06-06 08:30:57 -07:00
Selvaraj, Sridhar
05ea0791e3 qcacld-3.0: Restrict FILS caps in ext cap to STA mode only
Currently, host driver sets FILS capability enable if broadcast
probe response support is enabled(i.e. g_enable_bcast_probe_rsp).
since this support adds FILS request params IE(which has the max
channel time STA would wait for AP to respond with broadcast probe
response) in probe request, FILS capability is set in ext cap.
However, it is also set in SAP role which leads to scan issues with
some client stations.

Restrict FILS caps in ext cap to STA role only if
g_enable_bcast_probe_rsp INI is set.

Change-Id: Ia5fc0cbf36a4a6df3eb21015ef0508f6daa7b21d
CRs-Fixed: 2048318
2017-06-06 08:30:56 -07:00
snandini
be5fbc74ca Release 5.2.0.28N
Release 5.2.0.28N

Change-Id: I60e09192ff7fc3a835426fe4db0cc085cbf3fdae
CRs-Fixed: 774533
2017-06-06 07:21:29 -07:00
Ajit Pal Singh
2c7aecd2ed qcacld-3.0: Combine LTE Coex & DNBS avoid freqs
Avoid frequency list can be generated due to LTE Coex and
Do_Not_Break_Stream.
Combine LTE Coex & DNBS avoid frequencies before sending the list to
application.

Change-Id: Ibafac2fcc160d029fc5643847a5647edf10db29d
CRs-Fixed: 2045120
2017-06-06 07:21:28 -07:00
Ajit Pal Singh
5edd698a74 qcacld-3.0: Adds API to send avoid_freq list for DNBS
Adds API to send "list of frequencies to be avoided"
to the application, when Do_Not_Break_Stream is active.
When DNBS is active, all frequencies other than the
AP/P2P-GO operating frequency, in the current band are to be avoided.

Change-Id: Ia27b5911715a216f0ab49aa0d984243e9ea49b64
CRs-Fixed: 2045120
2017-06-06 07:21:26 -07:00
snandini
0b7df64c45 Release 5.2.0.28M
Release 5.2.0.28M

Change-Id: I30bb6308ce76a98b0fc7732906e659d5df44bdcf
CRs-Fixed: 774533
2017-06-06 06:20:36 -07:00
Hanumanth Reddy Pothula
42e714a329 qcacld-3.0: Decrease default timer waiting value for interface up
presently timer value is 250sec for wlan interface up from the upper layer,
which is too high.hence moving to 5sec.

Change-Id: Ia955bd12ab37f33c312c728d55c0019317a20acc
CRs-Fixed: 1104031
2017-06-06 06:20:35 -07:00
snandini
5b3ecf64b1 Release 5.2.0.28L
Release 5.2.0.28L

Change-Id: If9c01943b8c6aaeed576d59f52a2832245625bd9
CRs-Fixed: 774533
2017-06-06 03:22:55 -07:00
Nachiket Kukade
8b4bfd8c75 qcacld-3.0: Advertise CSN of BF Antenna as 7 in VHT Caps if fw supports
If firmware supports CSN[Compressed Steering Number of Beamformer Antennas
] 8x8 and if the concerned INI(i.e. gTxBFCsnValue) is set above 3 which is
default fw support currently, send Probe/Assoc Request with CSN in VHT caps
as set in INI. Else set CSN to 3.

CSN of Beamformer Antenna in VHT caps is one less than the max number of
space time streams that the STA can receive in VHT NDP(i.e. CSN in VHT caps
= max space time streams STA can receive - 1)

Change-Id: I6c77f7513ee090beba8849b27c90ac0346e1ac58
CRs-Fixed: 2052348
2017-06-06 03:22:55 -07:00
snandini
31dee37e98 Release 5.2.0.28K
Release 5.2.0.28K

Change-Id: I4139ab5e42d543f5dc3555a1847db103e2b3d5bb
CRs-Fixed: 774533
2017-06-06 01:26:07 -07:00
Naveen Rawat
4efe41b40a qcacld-3.0: Initialize WIFI_POS DMA rings
Parse Service Ready Extension event to get requested DMA ring capability
and initialize DMA rings.

Change-Id: I491e61a2ebbab549c31635ea74dcb89e20be3f97
CRs-Fixed: 2055839
2017-06-06 01:26:06 -07:00
snandini
099172dfbf Release 5.2.0.28J
Release 5.2.0.28J

Change-Id: Ie61587c412bc2aef05fa5ca30fd1cff02e4e7363
CRs-Fixed: 774533
2017-06-05 22:52:39 -07:00
Venkata Sharath Chandra Manchala
0b9fc63dd1 qcacld-3.0: Support for DPTRACE
1. Add an extra parameter pdev id to
   qdf_trace signatures to avoid compilation break.
2. This variable allows to collect records per pdev
   for Lithium based chipsets.
3. Set this variable to a default value QDF_TRACE_DEFAULT_PDEV_ID
   for older chipsets.

Change-Id: I2f4c2e3525ac0d1d53f1af3db7e43acadf6ab835
CRs-Fixed: 2049412
2017-06-05 22:52:39 -07:00
snandini
fd4a637341 Release 5.2.0.28I
Release 5.2.0.28I

Change-Id: Ib3366186a7c4f5807f0b703927dbc3152c42fefe
CRs-Fixed: 774533
2017-06-05 22:11:23 -07:00
Abhishek Singh
32517edb2f qcacld-3.0: Do not add peer if same MAC peer exist on any other vdev
If the peer's MAC is same as the peer present on any other vdev,
and if this peer is added to firmware, firmware will crash.

To fix this do not add peer, if peer with same MAC exist on any
other vdev.

Change-Id: I5565f4b18ab68cff6b63ba99f307f16654e50246
CRs-Fixed: 2053392
2017-06-05 22:11:22 -07:00
Selvaraj, Sridhar
1472b59d98 qcacld-3.0: Initialize add_ie while updating scan ie
Initialize add_ie to false to avoid the possibility of
using add_ie with random value.

Change-Id: Ic2a4dfee2961220f853e674c3dfe90707377bf24
CRs-Fixed: 2042711
2017-06-05 22:11:20 -07:00
Selvaraj, Sridhar
8048dea04d qcacld-3.0: Properly initialize and reset default_scan_ies_len
On wifi config set of default scan ies from supplicant, default_scan_ies_len
is not properly initialized and reset leading to memory overwrite.

Properly initialize the default_scan_ies_len on every wifi config set
of default scan ies from supplicant.

Change-Id: Ib26820e30019a30a7d6369d382d51b648b6b0d43
CRs-Fixed: 2036132
2017-06-05 22:11:18 -07:00
Selvaraj, Sridhar
021ee0ace3 qcacld-3.0: Update scan request IE's with default scan IE's
1) If g_qcn_ie_support is enabled, Save QCN IE along with default scan
   IE's received from Supplicant at init time.
2) Compare and update scan IE's with saved default scan IE's for each
   scan offload request to FW.

Change-Id: I902ab753db3bc3d5b4de400f550bf4ba3ceb424b
CRs-Fixed: 2033203
2017-06-05 22:11:16 -07:00
snandini
f00f92636f Release 5.2.0.28H
Release 5.2.0.28H

Change-Id: I4c1ff80947642cb22a6f40906ad2cf25c78103f4
CRs-Fixed: 774533
2017-06-05 21:10:44 -07:00
Adesh Keremane
25ce2dc86a qcacld-3.0: Keep only selected band's channels for ACS
Currently, PCL may not have the weights for the channels
from the selected band.

Keep only the channels of the selected band and remove
the channels of other band from ACS channel list
and PCL.

CRs-Fixed: 2053468
Change-Id: Ie71febe9068493e2c356f0590a86e3c15494b2e1
2017-06-05 21:10:43 -07:00
snandini
5c90701fc6 Release 5.2.0.28G
Release 5.2.0.28G

Change-Id: I241be06f60d5674ef6790b6a00150eb5c2ce42d3
CRs-Fixed: 774533
2017-06-05 20:31:23 -07:00
Selvaraj, Sridhar
6f97f41021 qcacld-3.0: Parse beacon IE's to extract Fixed fields
Currently, in beacon IE parsing of roam synch indication, fixed fields
[beacon interval, timestamp, capabilities] are not parsed resulting
in these fields being reported as zeros to supplicant.

Parse beacon IE's to extract fixed fields from beacon IE's.

Change-Id: I3ba2b8037de99a49b42eeecc7670bdb23c118f9d
CRs-Fixed: 2053019
2017-06-05 20:31:22 -07:00
snandini
c9703c2ace Release 5.2.0.28F
Release 5.2.0.28F

Change-Id: Ife3d5d6f7aa99e52fb79d37e38796d0a4e1cc11a
CRs-Fixed: 774533
2017-06-05 19:29:07 -07:00
Varun Reddy Yeturu
96dced7129 qcacld-3.0: Defer disconnect from driver unload during roaming
Defer the disconnect that is issued because of driver unload
and handle it immediately after the roaming is complete.

Change-Id: I9200d0f218560f2a990f491a27563bbbf594ae24
CRs-Fixed: 2025273
2017-06-05 19:29:07 -07:00
Varun Reddy Yeturu
fd6d164471 qcacld-3.0: Fix Kbuild to enable WLAN debugfs support
Currently, the CONFIG_WLAN_POWER_DEBUGFS and CONFIG_WLAN_DEBUGFS
are not enabled for statically loaded driver.
This results in missing subsystem power stats.
The reason for that is the enabling of this macro is conditionally
done under KERNEL_BUILD=0.
This commit enables the macro to be also
conditionally done under all values of KERNEL_BUILD

Change-Id: I2824fdbb438b37ee58a95a6ea889be5e7691bef5
CRs-Fixed: 2033114
2017-06-05 19:29:05 -07:00
Varun Reddy Yeturu
eb2933233e qcacld-3.0: Fix the FW version in bugreport
The firmware version sub id is not included in the current Bugreport.
Including subid and HW version.

Change-Id: Idc96c15d377935e0ff7291b5542ef34627613136
CRs-Fixed: 2034277
2017-06-05 19:29:03 -07:00
Varun Reddy Yeturu
beaf750b85 qcacld-3.0: Fix the logging levels
Move a few logs to appropriate levels so that they are
not unnecessarily spamming the dmesg

Change-Id: I0ae839ef1420f3a540cfccee3867261ddf5a5870
CRs-Fixed: 2043741
2017-06-05 19:29:02 -07:00
snandini
3b66f90dac Release 5.2.0.28E
Release 5.2.0.28E

Change-Id: Id9024858cf7a664142520626393550983fa0727d
CRs-Fixed: 774533
2017-06-05 17:23:51 -07:00
hqu
1a44d38c89 qcacld-3.0: Fix watchdog bark issue when do traffic on HL card
When data traffic is running on HL card, it will hit watchdog
bark issue. It's caused by wrong pointer usage in ol_tx_queue.c.

Add fix to sync with qcacld-2.0.

Change-Id: I7869ef86839e69e515ccd70795b3909abc09d46c
CRs-Fixed: 2053632
2017-06-05 17:23:51 -07:00
Mukul Sharma
be846bbbdc qcacld-3.0: Skip packet filter in disconnect state
Currently, Host allows to set packet filter in disconnect
state which is leading assert in firmware.
As a part of this fix, skip packet filter configuration
in disconnect state.

Change-Id: Ibc02105fe4d2455dfb0e527d7fcb240fc1b39330
CRs-Fixed: 2041846
2017-06-05 17:23:49 -07:00
Padma, Santhosh Kumar
922344761b qcacld-3.0: Reset ext_cap structure
Currently ext_cap structure is not reset to zero in
lim_send_probe_rsp_mgmt_frame. This can cause
dot11f_unpack_ie_ext_cap to return status other than
DOT11F_PARSE_SUCCESS and result in unnecessary error messages in
lim_update_extcap_struct.

Reset ext_cap structure in lim_send_probe_rsp_mgmt_frame to fix this.

Change-Id: I874d4d150a405d32737912f0b40661bafa5df268
CRs-Fixed: 2035704
2017-06-05 17:23:48 -07:00
snandini
ad6ee1f39e Release 5.2.0.28D
Release 5.2.0.28D

Change-Id: I6f7772e513097c9f6b28ed671dbbaf7827b1e12f
CRs-Fixed: 774533
2017-06-05 13:29:43 -07:00