Commit Graph

12542 Commits

Author SHA1 Message Date
qcabuildsw
5e2f8f2345 Release 5.1.0.28A
Release 5.1.0.28A

Change-Id: Ic84ce2ad98ccc5ff8d11883edd041c934c1a32d3
CRs-Fixed: 688141
2016-09-23 18:29:01 -07:00
Dustin Brown
2d228235da qcacld-3.0: Improve suspend/resume logging
Ensure logging messages in the suspend/resume paths use hdd_err() for failure
and hdd_info() for success. Also, evaluate existing messages, and polish if
appropriate.

Change-Id: I8b9509cf631058602ad6e8cd06a013af63624f00
CRs-Fixed: 1070223
2016-09-23 18:29:00 -07:00
Dustin Brown
6126946bbb qcacld-3.0: Increase the number of MC filters to 32
Currently the max number of MC filters is set to 10, and MC address
filtering is not being properly disabled when this maximum is exceeded.
Increase the MC filters to 32, and disable MC filtering when the
maximum is exceeded.

Change-Id: I124b616be726abfe0739ca539d97965161285da9
CRs-Fixed: 1068479
2016-09-23 18:28:59 -07:00
qcabuildsw
bcbc55ce35 Release 5.1.0.28
Release 5.1.0.28

Change-Id: I9b70bf83c26ba7bc79707529e5e991bca0dc3923
CRs-Fixed: 688141
2016-09-23 17:39:38 -07:00
Hanumanth Reddy Pothula
c1c4d2b55b qcacld-3.0: While starting adapters, on interface down, go to next adapter
During re-init of SSR, host restarts adapters one by one, by
traversing adapterNode link-list, whose all interfaces are up.
But if any of adapter's interface is down, then driver will be
in infinite loop as its not traversing to next adapter node.

So, on adapter's interface down, go to next adapter node to
break infinite loop.

Change-Id: I334a6304578d833485b58b2f6f494b4556c781ed
CRs-Fixed: 1069498
2016-09-23 17:39:37 -07:00
qcabuildsw
8d9020fca4 Release 5.1.0.27Z
Release 5.1.0.27Z

Change-Id: I4bbba75869fac102b6646c48323624b080faafa1
CRs-Fixed: 688141
2016-09-23 15:43:37 -07:00
Srinivas Dasari
947abd7a4d qcacld-3.0: Allow querying for DFS capability even if iface is not up
wpa_supplicant queries for DFS capability as part of
initialization and the interface is not up by then. So, allow
userspace components to query for the same even if the interface
is not up.

Change-Id: I2b8dc04260e1cbe007fda4be7f1b8aa196ae7a79
CRs-Fixed: 945597
2016-09-23 15:43:37 -07:00
qcabuildsw
11fdbf0921 Release 5.1.0.27Y
Release 5.1.0.27Y

Change-Id: Id7a1ea09f6d57939fc37dead636f0970573dea2d
CRs-Fixed: 688141
2016-09-23 03:20:20 -07:00
Yuanyuan Liu
16a556259b qcacld-3.0: Clean up PLD source files and remove unused function
Clean up PLD source file by moving one-line function calls to
header file and make it static inline. Also, remove unused function.

Change-Id: Ibaa7357db4ac305f0bab9d8ad2f7dfe9351fda7d
CRs-Fixed: 1070075
2016-09-23 03:20:19 -07:00
qcabuildsw
c986846672 Release 5.1.0.27X
Release 5.1.0.27X

Change-Id: I90ff63d67b37f2edc12f98b3d39a0403e3d06ec2
CRs-Fixed: 688141
2016-09-23 02:21:18 -07:00
Rajeev Kumar
fb02a5e3ed qcacld-3.0: Fix kernel panic during driver load failure
In low memory conditions TX/RX histogram memory allocation failure
is not handled properly and because of it 2 kernel panics are observed.
1st kernel panic is caused when freed HDD context is de-referenced in
hdd_wlan_startup and 2nd kernel panic is caused by kernel wake lock
list corruption because WLAN driver during load failure corrupted kernel's
wake lock list.

As part of this fix make sure TX/RX histogram memory allocation failure
is handled gracefully by properly sending failure reason code to
hdd_wlan_startup.

Also in order to make fix complete and avoid any other kernel panic, deinit
HDD context properly by freeing all HDD created wake locks such that when
HDD context is freed its wake locks are not poisoned to 0x6b6b6b6b6b6b6b6b
(SLUB magic pattern) pattern by kernel and hence corrupting kernel wake lock
list.

This fix ensures driver load failure caused by TX/RX histogram allocation
failure is handled gracefully in low memory conditions without leading to
any kernel panic.

Change-Id: I17a46c346402642f39e6548cd40bedd1f7ff96a4
CRs-Fixed: 1069014
2016-09-23 02:21:17 -07:00
qcabuildsw
58aae0e57e Release 5.1.0.27W
Release 5.1.0.27W

Change-Id: Ibc225498c14cca3d46ab0e86157bc368f027171f
CRs-Fixed: 688141
2016-09-23 01:22:51 -07:00
Krunal Soni
edb38f950f qcacld-3.0: Disable all dual mac features when DBS is disabled from INI
Current driver doesn't send WMI command to notify firmware to disable
all dual mac features when DBS is disabled from INI.

Disable dual mac features including all scan policies when DBS is
disabled from INI.

Change-Id: Id452c1de795dbeb7dc897a71e1578731d9dad2f9
CRs-Fixed: 1069650
2016-09-23 01:22:50 -07:00
qcabuildsw
17159c5cb8 Release 5.1.0.27V
Release 5.1.0.27V

Change-Id: I9bb602e481810dabd7bf71f12d33ccf7fcf78668
CRs-Fixed: 688141
2016-09-22 16:27:39 -07:00
Kiran Kumar Lokere
1d4094ef44 qcacld-3.0: Add support to add VHT op mode IE
Add support to include VHT opmode IE in association request
frames when the STA is connecting to VHT AP and the connection
has SMPS enabled.

Change-Id: Id18a6356ac6f08d1846abe42f84713fddef984dc
CRs-Fixed: 1062430
2016-09-22 16:27:39 -07:00
Kiran Kumar Lokere
92fe759c38 qcacld-3.0: Set the correct DTIM period to FW
DTIM period is configured during add_bss and is taken from scan
cache bss descriptor.Scan cache can have both probe response and
beacon frames, but the TIM IE is present only in beacon frames.
If scan cache has the probe response frame then DTIM values is
configured as 0.
Get the DTIM period value from beacon and configure it to FW.

Change-Id: I2b92e5e133a70d33987a50b6113681142bc4896a
CRs-Fixed: 1067558
2016-09-22 16:27:37 -07:00
qcabuildsw
48863603be Release 5.1.0.27U
Release 5.1.0.27U

Change-Id: I48e7bfc2ba3eb1fe2f2f36ffa825e05867b2153b
CRs-Fixed: 688141
2016-09-22 03:26:36 -07:00
Selvaraj, Sridhar
e01e0732d8 qcacld-3.0: Move HT/VHT parameter from PEsession to Station dph entry
Move HT/VHT parameter from PEsession to Station dph entry which are
introduced as part of wlan data logging.

Change-Id: Icd9258c32a82d3842708ac92b498106d870d7f4f
CRs-Fixed: 1053747
2016-09-22 03:26:35 -07:00
qcabuildsw
656a19e0fe Release 5.1.0.27T
Release 5.1.0.27T

Change-Id: I9305dae41cd392511b7d0ac067852f5435df1a99
CRs-Fixed: 688141
2016-09-21 23:25:42 -07:00
Kiran Kumar Lokere
78790207b0 qcacld-3.0: Remove the per band chain mask support flag
Remove the per band chain mask support flag as the chain mask
configuration by user is not supported. And set the HT and VHT
IEs to FW unconditionally.

Change-Id: Ic29ec1019a7d83c7080409096ec41e827c4009fb
CRs-Fixed: 1068108
2016-09-21 23:25:41 -07:00
qcabuildsw
dc0dcce9c3 Release 5.1.0.27S
Release 5.1.0.27S

Change-Id: I7b70619a2d318630119a61750d1c028d334e569b
CRs-Fixed: 688141
2016-09-21 18:52:16 -07:00
Dustin Brown
5e79c10be7 qcacld-3.0: Cleanup MBSSID compilation flag (phase 4)
The WLAN_FEATURE_MBSSID conditional compilation flag is no longer
needed since MBSSID is a required feature. Remove this flag and
any alternate code referenced in the conditional compilation blocks.
In phase 4, completely remove the MBSSID compilation flag.

Change-Id: I9c74ae624f1db39f13c62b148396a3c8ac49ad88
CRs-Fixed: 1067450
2016-09-21 18:52:15 -07:00
qcabuildsw
b51dee275f Release 5.1.0.27R
Release 5.1.0.27R

Change-Id: I1b6ba10970fb24e5943fd9dcae64758bf1a3dbe8
CRs-Fixed: 688141
2016-09-21 17:34:19 -07:00
Yun Park
74127cf1d1 qcacld-3.0: Fix FW crash when STA_DISCONNECT in STA only mode
FW crashes when disconnect STA interface in STA only mode, since
sending WDI disable command while it is not enabled yet.
WDI disable should be sent only when STA disconnected while SAP
client is connected.
Fix by adding check if SAP client is connected in prior to send
WDI disable command to FW.

Change-Id: Ia7f46e0567d4d5d6f7efe78be5ab5b007419210d
CRs-fixed: 1068439
2016-09-21 17:19:58 -07:00
qcabuildsw
be86ef1d90 Release 5.1.0.27Q
Release 5.1.0.27Q

Change-Id: I0e8e389badfaf1b0757e0f6aa76d8df69258982b
CRs-Fixed: 688141
2016-09-21 17:12:33 -07:00
qcabuildsw
5f81e97868 Release 5.1.0.27P
Release 5.1.0.27P

Change-Id: Ia89d8a5a4e8deb35256e579bf562af56ae89ebea
CRs-Fixed: 688141
2016-09-21 17:12:02 -07:00
Masti, Narayanraddi
27fbec7970 qcacld-3.0: Fix crash in TDLS functionality
qcacld-2.0 to qcacld-3.0 propagation

Currently, tdls lock has not been acquired and if tdls peer or
tdls context freed in other context then it will lead to crash.
Fix is to ensure that the tdls lock is acquired for tdls peer
list and tdls context.

Change-Id: I52c3e7b67c7f61160c54a1a6688db09f0137b7e1
CRs-Fixed: 945302
2016-09-21 17:11:57 -07:00
qcabuildsw
aaf16a4c5e Release 5.1.0.27O
Release 5.1.0.27O

Change-Id: I469b84e41fef8c35fbe405933d85681b8c381c2e
CRs-Fixed: 688141
2016-09-21 17:09:37 -07:00
Jeff Johnson
860e124874 qcacld-3.0: Converge gEnable5gEBT default values
There is a desire to remove unnecessary items from the default version
of WCNSS_qcom_cfg.ini that is shipped to customers. Currently the
default WCNSS_qcom_cfg.ini contains the following entry:
gEnable5gEBT=1

The default value within wlan_hdd_cfg.h is:
define CFG_PPS_ENABLE_5G_EBT_FEATURE_DEFAULT (0)

Since this feature improves power consumption it should be enabled by
default, so update the default value in wlan_hdd_cfg.h.

Change-Id: I585cb06f227ee4575b06165c751a93fb93c2fad6
CRs-Fixed: 1068914
2016-09-21 17:09:25 -07:00
qcabuildsw
abbe2fb83a Release 5.1.0.27N
Release 5.1.0.27N

Change-Id: I883b78b6a43d146743a3c1fdd2231aca405f129e
CRs-Fixed: 688141
2016-09-21 17:09:15 -07:00
Ankit Gupta
d66a881e08 qcacld-3.0: Align return value check for lim_cmp_ssid
lim_cmp_ssid api returns zero when comparison ssid matches
else returns non zero. Checking return value with true/false
can cause confusion and errors.
Replace the return value check from true/false to
zero/non-zero values.

Change-Id: Id22560cb4c2289431995dab3087b4eb24546a8bf
CRs-Fixed: 1067454
2016-09-21 17:09:10 -07:00
Ankit Gupta
a507601be7 qcacld-3.0: Align return value check for qdf_mem_cmp
qdf_mem_cmp api returns zero when comparison string matches
else returns non zero. Checking return value with true/false
can cause confusion and errors.

Replace the return value check from true/false to
zero/non-zero values.

Change-Id: I485d69a4bf85d1e6273ea780af6d0423c3910686
CRs-Fixed: 1066946
2016-09-21 17:08:59 -07:00
Ankit Gupta
4316b7a887 qcacld-3.0: Fix check while processing lim_ndp_delete_peers
If the peer is not present in the deleted list,
this function frees the resources for that peer and
add it to the deleted list. If the peer is already
in the deleted list, do nothing and continue to scan
for other peers. Incorrectly checking the return value
qdf_mem_cmp make the above functionality broken.

Fix the check for return value of qdf_mem_cmp to
allow the proper processing of the peers in deleted list.

Change-Id: Ica97b3bcaa651e2ca5935beb1381e9fc5b196e8a
CRs-Fixed: 1067411
2016-09-21 17:08:50 -07:00
qcabuildsw
8f5b5bd9f0 Release 5.1.0.27M
Release 5.1.0.27M

Change-Id: Ib8468fd7f87d94c58aafad73bef0ed7df7872c86
CRs-Fixed: 688141
2016-09-21 17:08:41 -07:00
Ravi Joshi
b89e7f7e3e qcacld-3.0: Check consistency in throughput before setting delack
Integration from cld-2.0 to cld-3.0.

Currently the throughput is measured every 100 ms. Delack is set to 20
if throughput for this interval is greater then threshold (~57 Mbps).
In the case of congestion control, tcp may take longer duration for
rampup. In this change, throughput is checked for consistency for
about three seconds and then tcp delack is set to 20.

CRs-Fixed: 1028085
Change-Id: I1a4e9be3407ac426a314e1192d0e1d315e1899e0
2016-09-21 17:08:35 -07:00
qcabuildsw
31e8e63de9 Release 5.1.0.27L
Release 5.1.0.27L

Change-Id: Ica5b6b225e3e2a2a361a6cc18afd2c6518fa186a
CRs-Fixed: 688141
2016-09-21 17:08:27 -07:00
Nitesh Shah
597745227b qcacld-3.0: Allow SAP(DFS) + STA(2.4) in DBS capable device
If SAP is operating in DFS channel, and STA comes up in 2.4
GHz band, then irrespective of DBS capability, SAP switches to
STA's channel for SCC.

The enhancement is to allow SAP to operate in DFS channel,
and restrict the preferred channel list for STA with 2.4 GHz
channel, if the device is DBS capable.

Change-Id: I548889265443c391d07d00951f6112983edafbcd
CRs-Fixed: 1067720
2016-09-21 17:08:20 -07:00
qcabuildsw
b89bceb4d8 Release 5.1.0.27K
Release 5.1.0.27K

Change-Id: I66faa07a43f6d86159169f7562063d7bf26cc6de
CRs-Fixed: 688141
2016-09-21 17:08:12 -07:00
Yuanyuan Liu
137755f159 qcacld-3.0: Provide PLD APIs for SMMU operations
Proivde PLD wrapper APIs for getting SMMU mapping
context and mapping SMMU to a specific physical address.

Change-Id: I3feb61b26c839547e4d050f62963e64f5ca062a7
CRs-Fixed: 1057714
2016-09-21 17:08:03 -07:00
Yuanyuan Liu
5ef6bfef5b qcacld-3.0: Add PLD ATHDIAG read/write support
Add PLD wrapper for platform athdiag read/write.
HIF will call these two functions when a athdiag read/write
triggered from user space.

CRs-Fixed: 1061837
Change-Id: Ie34c634beaf1cd91e24eca1b7ce5b6444a60393e
2016-09-21 17:07:57 -07:00
qcabuildsw
0c21495a3f Release 5.1.0.27J
Release 5.1.0.27J

Change-Id: I1a5f60b47205029d6e5dbb178f5f862a9bc47150
CRs-Fixed: 688141
2016-09-21 17:07:49 -07:00
Sreelakshmi Konamki
bda5bbfcc6 qcacld-3.0: Do not send RSO_START if bssid set in connect request
qcacld-2.0 to qcacld-3.0 propagation

Host should not allow roaming if bssid is set in connect request
and hence RSO_START should not be sent.

Add changes to not send RSO_START if bssid set in connect request.

Change-Id: I1037c60837a90472fee312e8654197ea7f68702e
CRs-Fixed: 1016886
2016-09-21 17:07:42 -07:00
Mukul Sharma
69c44cd239 qcacld-3.0: Implement Private NL CMD handling for roaming
qcacld-2.0 to qcacld-3.0 propagation

When supplicant issues enable/disable firmware based roaming on the
basis of the Bssid modification in network block (e.g. AutoJoin modify
Network Block), that time middle-ware will issue this pvt cmd to Driver.
Driver need to disable/enable firmware roaming.
(in our current design we can enable firmware roaming by offload scan
to firmware so firmware can scan and find candidate ap when rssi threshold
meet the criteria, same way driver can stop firmware roaming by stop
offload scan to firmware).

Change-Id: I378917d9d56c4d3ef13bfe8c3bf62adc6d5e7aa6
CRs-Fixed: 1012420
2016-09-21 17:07:37 -07:00
qcabuildsw
bdc1eb41ef Release 5.1.0.27I
Release 5.1.0.27I

Change-Id: Ieabbf5e86f92e056d10c81f512cdbd96a492104a
CRs-Fixed: 688141
2016-09-21 17:07:19 -07:00
Selvaraj, Sridhar
fb6f4cd3fc qcacld-3.0: Send supported channels IE, ESE Version IE to FW for LFR3
Currently, host driver adds Supported channels IE, ESE Version IE in
reassociation request initiated from driver. In LFR3, these IE's are
missing in reassociation request frames as it is initiated by FW.

As part of MBO changes, assoc IE's are sent to FW via Roam Scan Offload
command as soon as connection successful. Add the above supported channels
IE and ESE Version IE also while sending assoc IE's to FW via RSO command.

Change-Id: Ic73491d60b532e3b9bb79144599fbe111591f64a
CRs-Fixed: 1061698
2016-09-21 17:07:12 -07:00
Selvaraj, Sridhar
57bb4d03e0 qcacld-3.0: Send driver built assoc IE's to FW for LFR3
Currently, host driver adds RRM IE, Power cap IE in reassociation request
initiated from driver. In LFR3, these IE's are missing in reassociation
request frames initiated by FW.

As part of MBO changes, assoc IE's are sent to FW via Roam Scan Offload
command as soon as connection successful. Add the above RRM IE and Power
Cap IE also while sending assoc IE's to FW via RSO command. For FTM[Fine
Time Measurement] cases, RRM IE's are changed dynamically. Hence, send
the updated RRM IE with other IE's via RSO/Update_cfg command to FW.

Change-Id: Iff5ff961df89d4564a31763257b13811c4f57df4
CRs-Fixed: 1061698
2016-09-21 17:07:05 -07:00
qcabuildsw
f30a650057 Release 5.1.0.27H
Release 5.1.0.27H

Change-Id: Ibb7b2b433dd962bebc78470b707bcd32ace0cfd3
CRs-Fixed: 688141
2016-09-21 17:06:57 -07:00
Yuanyuan Liu
245a3e4380 qcacld-3.0: Update MAC address to FW
Update MAC address to FW if it is provided by host. Otherwise,
MAC address will be out-of-sync between host and FW.

Change-Id: Idcf00d80d6d9e3e39b5a5ccb6d96390c2d883fe6
CRs-Fixed: 1066986
2016-09-21 17:06:51 -07:00
qcabuildsw
428fbd62b3 Release 5.1.0.27G
Release 5.1.0.27G

Change-Id: I75bcec4cdbfe3f48fd3447a28f6332810085de9b
CRs-Fixed: 688141
2016-09-21 17:06:23 -07:00
Dustin Brown
ecfce63fdd qcacld-3.0: Minor cleanup of previous PS timeout change
Some cleanup is needed around a previous code change that reset the
power save timeout when power save is requested from user space.
Perform minor code cleanup, moving a logging statement and removing
a blank line.

Change-Id: Idc656fbaba16e58ef57625b5f9d5de37a191793a
CRs-Fixed: 1066022
2016-09-21 17:06:16 -07:00