Commit Graph

2253 Commits

Author SHA1 Message Date
qcabuildsw
8716fb891b Release 5.1.0.28G
Release 5.1.0.28G

Change-Id: I3b13a9f1c856b13ac5e0a45134b7b74f08cd4f0e
CRs-Fixed: 688141
2016-09-26 14:05:16 -07:00
Naveen Rawat
3ca7483971 qcacld-3.0: Fix NSS being sent to firmware
Send NSS value to firmware in update_nss as received from AP
in OTA frame, VHT Operation notifcation IE.

Change-Id: Iad92cc3ce634b69397666f574917b5254a73dcda
CRs-Fixed: 1070224
2016-09-26 14:05:13 -07:00
qcabuildsw
994d423a61 Release 5.1.0.28F
Release 5.1.0.28F

Change-Id: I6fa4708d7bbb66697dfb8c486ae2703c50afc79d
CRs-Fixed: 688141
2016-09-26 12:24:27 -07:00
Selvaraj, Sridhar
9a9266eac5 qcacld-3.0: Start BSS on operating band based on ACS hw mode
qcacld-2.0 to qcacld-3.0 propagation.

Currently, SAP start's on 2.4ghz channels on detecting unsafe
channels even though operating band ACS hw mode is configured
on 5ghz channels.

Fix is to start BSS on band based on ACS hw mode

Change-Id: I210937b4b464c408d5a22c348c028fa9a11b2142
CRs-Fixed: 1005327
2016-09-26 12:24:26 -07:00
qcabuildsw
ff259891b0 Release 5.1.0.28E
Release 5.1.0.28E

Change-Id: Ied6f8ee4c84b71ead829d89cdef74a71b6fccb46
CRs-Fixed: 688141
2016-09-26 04:49:41 -07:00
Komal Seelam
498a0cd665 qcacld-3.0: Optimize WoW Wakelock usage in Runtime PM
propagation from qcacld-2.0 to qcacld-3.0.

FW sends NACK for WOW command to indicate Host to abort on going
suspend. Host prevents suspend by holding a wakelock for 1sec.
The wakelock prevents APPS supsend, but doesn't have impact on
Runtime PM. Hence Skip Holding Wakelock when NACK is recieved
in Runtime PM.
And Log the runtime stats when link resume fails.

Change-Id: I6d9385565c6d06a082e226d5211c733d124bd3a7
CRs-Fixed: 1053252
2016-09-26 04:49:41 -07:00
Komal Seelam
78ff65a8c6 qcacld-3.0: Add NL event to indicate SSR shutdown is triggered
propagation from qcacld-2.0 to qcacld-3.0.

On Dual-WiFi Platforms, Radio Device 1 (R1 - SDIO interface) should
be functional only if Radio Device 0 (R0 - PCIe interface) is active.
If SSR is indentified on R0, indicate userspace application to unload
R1 on this event and Reload R1 once R0 SSR and reload is complete.

CRs-Fixed: 1046397
Change-Id: I8a06b569fe536bb93dbb37bdb289295bfce62f6e
2016-09-26 04:49:39 -07:00
qcabuildsw
e492bfefbf Release 5.1.0.28D
Release 5.1.0.28D

Change-Id: I15e10bc6e2c7bbdde44b9d8cd4b4f57e7816a2d5
CRs-Fixed: 688141
2016-09-25 21:47:25 -07:00
Archana Ramachandran
31b5b65aba qcacld-3.0: Reduce the log level of p2p scan messages
Change the log level of p2p scan messages from error
to correct log level since they are not error messages.

CRs-Fixed: 1069559
Change-Id: I68d5f6addc53e76536a989cfa7bf131f20b8dcd2
2016-09-25 21:47:25 -07:00
qcabuildsw
e95a6cbb1b Release 5.1.0.28C
Release 5.1.0.28C

Change-Id: I1288b3692e9f713fc6482b7631f21192765a8ab6
CRs-Fixed: 688141
2016-09-24 13:03:51 -07:00
Mukul Sharma
8d2d9ecdca qcacld-3.0: Cache ARP/NS offload request at wma layer
qcacld-2.0 to qcacld-3.0 propagation

As Current WMI interface need both the ARP/NS configuration
in single command. To support active offload host need to
cache the ARP/NS at wma layer so host can fill the other
request and configure down to firmware complete request
(ARP+NS).

Change-Id: Ie0a57d216379817ff0ae48f4f582c9108e8ecca1
CRs-Fixed: 1059739
2016-09-24 13:03:50 -07:00
qcabuildsw
4133c00bec Release 5.1.0.28B
Release 5.1.0.28B

Change-Id: I7badaed9a12e97e114a0b9d87b97d16b52a7654d
CRs-Fixed: 688141
2016-09-23 19:20:46 -07:00
Jeff Johnson
cb331d92d9 qcacld-3.0: Converge gScanAgingTime & gScanResultAgeCount
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 entries:
    gScanAgingTime=30
    gScanResultAgeCount=1

The associated default values within the driver are:
    define CFG_SCAN_AGING_PARAM_DEFAULT (60)
    define CFG_SCAN_RESULT_AGE_COUNT_DEFAULT (3)

These are obviously divergent and should be converged.  Since all
recent testing has used the default WCNSS_qcom_cfg.ini, converge on
the values defined there.

Change-Id: I4b75590c44a94b9b95fbd47cf147137d4f695e51
CRs-Fixed: 1070145
2016-09-23 19:20:45 -07:00
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
Poddar, Siddarth
3b0a18f05d qcacld-3.0: CL 1645154 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Add WMI_ prefix to fix name conflict caused by recently-added
ENCRYPT flag def
Fix name conflict caused by ENCRYPT flag def added in CL 1641391

Change-Id: I398bec5ef53fb925fa7e4fbceaa62ef62eb46e68
CRs-Fixed: 865207
2016-09-21 17:12:28 -07:00
Poddar, Siddarth
f363616e2f qcacld-3.0: CL 1644962 – update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Further WMI stats field name cleanups
Continue WMI stats field name cleanups begun in CL 1639162.
This change disambiguates the interpretation of some of the stats fields,
and adds a couple stats field renames that were overlooked in CL 1639162.

Change-Id: I0879a42ef3b0b280ac45a691658d26e48de105fd
CRs-Fixed: 865207
2016-09-21 17:12:22 -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