Commit graph

16,213 commits

Author SHA1 Message Date
CNSS_WLAN Service
6b3697a5d0 Merge "Release 5.2.0.138K" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:07 -07:00
CNSS_WLAN Service
0827d68e9f Merge "qcacld-3.0: Enable SMMU S1 TRANSLATION for TALOS" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:06 -07:00
CNSS_WLAN Service
8210778313 Merge "Release 5.2.0.138J" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:05 -07:00
CNSS_WLAN Service
03bd883dcd Merge "qcacld-3.0: move HIF_CONFIG_SLUB_DEBUG_ON define to driver Kbuild" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:04 -07:00
CNSS_WLAN Service
6571ad5fc6 Merge "qcacld-3.0: featurize wmi multi mac service" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:03 -07:00
CNSS_WLAN Service
18f0dad4aa Merge "Release 5.2.0.138I" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:01 -07:00
CNSS_WLAN Service
c0cf6b2573 Merge "qcacld-3.0: Allow single SAP started on DFS chan" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:05:00 -07:00
CNSS_WLAN Service
90f4eff29d Merge "qcacld-3.0: Add new STA-SAP on DFS chan INI config mode" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:04:59 -07:00
CNSS_WLAN Service
5c50330ac4 Merge "qcacld-3.0: Return chain_mask for legacy chip" into wlan-cld3.driver.lnx.2.0 2019-07-04 10:04:58 -07:00
CNSS_WLAN Service
7672ff8227 Merge "qcacld-3.0: Move two fw-api host headers to driver" into wlan-cld3.driver.lnx.2.0 2019-07-03 23:32:49 -07:00
nshrivas
d816ec54b6 Release 5.2.0.138K
Release 5.2.0.138K

Change-Id: I0b2c80bb057a7b12afd44a1b8743a5e19f55295a
CRs-Fixed: 774533
2019-07-02 06:01:29 -07:00
Rakshith Suresh Patkar
63b21d7154 qcacld-3.0: Enable SMMU S1 TRANSLATION for TALOS
Enable SMMU S1 TRANSLATION flag for TALOS

Change-Id: I4864f5b433b769e35de206aad8453d6352ae9119
CRs-Fixed: 2425321
2019-07-02 06:01:28 -07:00
nshrivas
5825bb85a2 Release 5.2.0.138J
Release 5.2.0.138J

Change-Id: I034ffde654a5b88f4680ed2c40684254dc22a45f
CRs-Fixed: 774533
2019-07-02 02:40:01 -07:00
Vevek Venkatesan
8b579f4ef2 qcacld-3.0: move HIF_CONFIG_SLUB_DEBUG_ON define to driver Kbuild
Move definition of HIF_CONFIG_SLUB_DEBUG_ON to driver Kbuild,
to cleanup CONFIG_MCL/CONFIG_WIN dependency.

Change-Id: I3f4abf546c5c9fe08531a14234f149a82cd14bf1
2019-07-02 02:40:00 -07:00
Vevek Venkatesan
6230c333d6 qcacld-3.0: featurize wmi multi mac service
Featurize wmi multi mac service with the feature flag
WMI_MULTI_MAC_SVC, to cleanup CONFIG_MCL dependency.

Change-Id: Id159a514cf3773e4dcbc0ecd290014b828673882
2019-07-02 02:39:56 -07:00
nshrivas
8a402c949d Release 5.2.0.138I
Release 5.2.0.138I

Change-Id: Ic055bbd7e22beccc6694045942754ddfec251a7e
CRs-Fixed: 774533
2019-07-01 14:07:56 -07:00
Liangwei Dong
444cd261d1 qcacld-3.0: Allow single SAP started on DFS chan
With new configuration g_sta_sap_scc_on_dfs_chan = 2:
1. SAP is allowed to start on dfs channel if no STA interface
active on the same mac.
2. SAP is allowed SCC with STA on DFS chan without DFS master
functionality and ignore Radar event
3. Skip cac if dfs master capability disabled based on
the configuration and current connection combination.

Change-Id: If2ffb253e51c94c06a105b2691c19f7d246fcc98
CRs-Fixed: 2468004
2019-07-01 14:07:56 -07:00
Liangwei Dong
24e3f9b30a qcacld-3.0: Add new STA-SAP on DFS chan INI config mode
Add new g_sta_sap_scc_on_dfs_chan value 2 with below
enhancement:
 a. Allow single SAP (GO) start on DFS channel.
 b. Allow CAC process on DFS channel in single SAP (GO) mode
 c. Allow DFS radar event process in single SAP (GO) mode
 d. Disallow CAC and radar event process in SAP (GO) + STA mode.

Change-Id: I47fdccda3314681806fa999cb01ee62052434e50
CRs-Fixed: 2465644
2019-07-01 14:07:52 -07:00
nshrivas
0a3ca37005 Release 5.2.0.138H
Release 5.2.0.138H

Change-Id: Ib079b58b3ae6e38e537a97da3d437e9eec1c56f0
CRs-Fixed: 774533
2019-06-29 10:56:56 -07:00
Ashish Kumar Dhanotiya
0929b96172 qcacld-3.0: Remove legacy get tx power command
Driver has a stats infrastructure and all the stats related
commands are using this infrastructure.

Remove legacy implementation for get tx power command
as part of cleanup.

Change-Id: Iabe21f09fb6621bf81bf0b0b2864e68f78a68f2a
CRs-Fixed: 2480244
2019-06-29 10:56:56 -07:00
Ashish Kumar Dhanotiya
136bc8ea73 qcacld-3.0: Remove legacy wakelock stats implementation
Driver has a stats infrastructure and all the stats related
commands are using this infrastructure.

Remove legacy implementation for wakelock stats command
as part of cleanup.

Change-Id: Ie60293ae06401f841ef8dd9545587819ebe4cd4a
CRs-fixed: 2480191
2019-06-29 10:56:51 -07:00
Ashish Kumar Dhanotiya
30ec2959d5 qcacld-3.0: Remove legacy congestion stats implementation
Driver has a stats infrastructure and all the stats related
commands are using this infrastructure.

Remove legacy implementation for congestion stats command
as part of cleanup.

Change-Id: Ia8b919ad7cea4f47d5480b9f8e0f4636783ce6c3
CRs-Fixed: 2480246
2019-06-29 10:56:46 -07:00
Ashish Kumar Dhanotiya
af3f36587a qcacld-3.0: Remove legacy get rssi command implementation
Driver has a stats infrastructure and all the stats related
commands are using this infrastructure.

Remove legacy implementation for get rssi command as part
of cleanup.

Change-Id: I7a837d780c6a1551db0929e6ec7e73daaf479429
CRs-Fixed: 2480770
2019-06-29 10:56:42 -07:00
nshrivas
8cc6a0d531 Release 5.2.0.138G
Release 5.2.0.138G

Change-Id: Id99ac68dc81622533fb8d4490e6394eed8acb647
CRs-Fixed: 774533
2019-06-29 08:37:40 -07:00
bings
672207d673 qcacld-3.0: Ignore legacy rate set if it is HE connection
Do not configure legacy rate to FW if it is HE connection, otherwise
FW does not work.

Change-Id: I31d167ee79b7b58cabad29e65cf6834a7151093d
CRs-Fixed: 2472811
2019-06-29 08:37:39 -07:00
nshrivas
0d9e67d8f8 Release 5.2.0.138F
Release 5.2.0.138F

Change-Id: Id7ec35879ca32247660987a926cbcd39c06bddf4
CRs-Fixed: 774533
2019-06-29 05:09:14 -07:00
bings
0a28954320 qcacld-3.0: Get vdev ref before accessing vdev
Get vdev ref before accessing vdev and release vdev ref after accessing
vdev, otherwise vdev may be accessed after free.

Change-Id: Idd6f7218ab70f399cb6bbfad8572df5c55e38a48
CRs-Fixed: 2480224
2019-06-29 05:09:14 -07:00
nshrivas
ed1c6bdfba Release 5.2.0.138E
Release 5.2.0.138E

Change-Id: Iabb8d1c0174fcaa02b62501e29839e04e5f26d7e
CRs-Fixed: 774533
2019-06-29 00:16:23 -07:00
bings
1289597e90 qcacld-3.0: Check mgmt_rx_params buffer before access
While handling WMI_MGMT_RX_EVENTID FW event, bufp should be checked before
used, because FW may indicate it as NULL.

System does not work when NULL pointer is accessed.

Change-Id: I7f87df93ee31332fa8c804cb2d7fd3a437ddf976
CRs-Fixed: 2465947
2019-06-29 00:16:22 -07:00
Kiran Kumar Lokere
acf277ac9a qcacld-3.0: Update scan channel list with HE capability
Update the scan channel list with HE capability information when
the channel list is sent to FW so that FW includes the HE capabilities
IE in the probe request frame during scan.

Change-Id: I1ad3b15e447845ac06d30e92195b5e4ab8a78d9d
CRs-Fixed: 2467024
2019-06-29 00:16:17 -07:00
nshrivas
a00fba01ae Release 5.2.0.138D
Release 5.2.0.138D

Change-Id: I2a7d98516e1ed043e707c84d7aaea15161bf6186
CRs-Fixed: 774533
2019-06-28 18:07:51 -07:00
Mohit Khanna
c77d69d19b qcacld-3.0: Affine threads to perf core in high tput
Affine DP RX Threads to perf cluster in high throughput scenarios.
High throughput is detected using existing logic from the bandwidth
timer.

Change-Id: Ieb98c6930807ba42be7f5b4d0b8a78dfb197ba27
CRs-Fixed: 2474322
2019-06-28 18:07:50 -07:00
nshrivas
9330148987 Release 5.2.0.138C
Release 5.2.0.138C

Change-Id: I52519b702ead1eb8bb64f5a4de6384ae2c901311
CRs-Fixed: 774533
2019-06-28 11:08:49 -07:00
Pragaspathi Thilagaraj
64ae59da1a qcacld-3.0: Rename pLimJoinReq
Linux coding style doesn't allow camel case notations. So
rename pLimJoinReq to be in compliance.

Change-Id: I813179ef538bdc4b4207123b5f7b7f6601091cf9
CRs-Fixed: 2480399
2019-06-28 11:08:48 -07:00
tinlin
2526aab3a3 qcacld-3.0: Add channel switch restrictions
Previously no logic for channel switch
restrictions in sap_random_channel_sel.
Enable flags to allow user to control the
DFS random channels switches through INI
gSapPreferredChanLocation.

Change-Id: I992616a8be71018f5ea372d286238b4c87aa8338
CRs-Fixed: 2478371
2019-06-28 11:08:44 -07:00
gaurank kathpalia
6701aef06b qcacld-3.0: Check acs cfg channel list before access
Currently the driver does not check whether the
ACS cfg's chanel list is valid or not and checks
for the best channel within it in the function
wlansap_is_channel_present_in_acs_list, which can
lead to potential pointer deference.

Fix is to check the channel list and then only
process for comparison.

Change-Id: Icda2e7c8f260eb636c8159fbbb697400dddbdf74
CRs-Fixed: 2479941
2019-06-28 11:08:40 -07:00
nshrivas
10ff8eb8e3 Release 5.2.0.138B
Release 5.2.0.138B

Change-Id: Ic2655d0183afbdf1611a09cf30c4dc371d05e757
CRs-Fixed: 774533
2019-06-28 09:40:29 -07:00
Liangwei Dong
bb0b7f5f47 qcacld-3.0: Add API to check Agile DFS scan supportability
The old change I7e5a21601642e0d6afef73beeecf80a3e0475909
is missing when new scan mgr introduced, re-design the
change.
If DFS AP present, station scan 5g chanlist should be
avoided if target doesn't support Agile DFS Scan in Single
MAC mode. And also if current hw mode is DBS, the 5g chan
scan is not allowed as well.
1) if agile & DFS scans are supported
2) if hardware is DBS capable
3) if current hw mode is non-dbs
If all above 3 conditions are true then don't skip any
channel from scan list.

Change-Id: I3773c1c63ea3f33db6f6ee2c31cb5d09d3c2ae71
CRs-Fixed: 2471542
2019-06-28 09:40:29 -07:00
bings
0af2ee3995 qcacld-3.0: Return if memory allocation fails
If memory pNewBssDescriptor is allocated successfully, it should not
return, otherwise there is memory leak.

Return if memory pNewBssDescriptor allocation fails.

Change-Id: Ibe906abe890630efa1ea5dafaef40afc2822158e
CRs-Fixed: 2476403
2019-06-28 09:40:25 -07:00
Wu Gao
76b5ff5f45 qcacld-3.0: Check channel number if there is SAP/GO
Driver will reject with channel 0 when check channel ok for DNBS,
without this fix, wlan_cfg80211_mgmt_tx API will fail when channel is zero.

Change-Id: I89edc81c45104d0994cd65262c1f5545f0f6970f
CRs-Fixed: 2476420
2019-06-27 20:35:08 -07:00
Liangwei Dong
4d479e38e8 qcacld-3.0: Return chain_mask for legacy chip
wma_get_caps_for_phyidx_hwmode should return correct
tx/rx chain mask for 2G and 5G from target capability
info struct when the chip is legacy(no dbs support).

Change-Id: Ia02c9d5ae7c5376c5fe521fc47f97b51ad9980d5
CRs-Fixed: 2478143
2019-06-27 03:08:52 -04:00
nshrivas
cbb9b6f776 Release 5.2.0.138A
Release 5.2.0.138A

Change-Id: I38ed2065ec73766295bb9f111bd97276a860efb0
CRs-Fixed: 774533
2019-06-26 22:45:34 -07:00
bings
49895279c0 qcacld-3.0: Disable dfs tx leakage for HST onwards
CONFIG_CHNL_MATRIX_RESTRICTION should not be defined by default.
CONFIG_CHNL_MATRIX_RESTRICTION should not be defined by HST.

Change-Id: I36154976c4e106d9910977b5990f796b889eaf82
CRs-Fixed: 2476488
2019-06-26 22:45:33 -07:00
nshrivas
49083fa355 Release 5.2.0.138
Release 5.2.0.138

Change-Id: Id71a1f2be9b61875b9d31056f7eda2a11867eda7
CRs-Fixed: 774533
2019-06-26 19:24:39 -07:00
Tushnim Bhattacharyya
f68b764b54 qcacld-3.0: Update the phy mode correctly after roaming
After roaming the phy mode gets updated by FW via roam_sync event.
Update wma with the value from the roam_sync event.

Change-Id: Ie4b47ad83866f033bcd92781fdb05bd7456180f5
CRs-Fixed: 2477071
2019-06-26 11:33:33 -07:00
nshrivas
9fc987a8a2 Release 5.2.0.137Z
Release 5.2.0.137Z

Change-Id: Ib369099dde21f383d0e0d50e06a83de166611459
CRs-Fixed: 774533
2019-06-25 17:21:08 -07:00
Srinivas Girigowda
bf0c1a736d qcacld-3.0: Remove external function declarations
Remove external function declarations.

Change-Id: I2857bcf2f058bff9b88f191a9206711e638f8ea3
CRs-Fixed: 2477823
2019-06-25 17:21:08 -07:00
nshrivas
fdc99969af Release 5.2.0.137Y
Release 5.2.0.137Y

Change-Id: I06994da083e7576a51885a350922d4559ff642f3
CRs-Fixed: 774533
2019-06-25 13:06:35 -07:00
Jingxiang Ge
ccd7fdcd23 qcacld-3.0: Return ret for hdd_trigger_psoc_idle_restart
When hdd_trigger_psoc_idle_restart is called from hdd_open,
if the process has some signal pending, pld_idle_restart
may return back before finishing start_modules. If keep running
in hdd_open, when creating vdev it may access invalid
pdev.

In hdd_open, change to return failure if idle_restart returns
error.

Change-Id: I454d421d0758dd4e90c4b4fba1f65096c0834446
CRs-Fixed: 2476316
2019-06-25 13:06:34 -07:00
wadesong
f1acee4bf4 qcacld-3.0: HW mode retrieval code clean up
With the latest code in the following functions:

wma_add_bss_ap_mode
wma_add_bss_ibss_mode
wma_add_bss_sta_mode
wma_set_channel

hardware mode retrieval becomes unnecessary because
the DBS related config is not checked anymore.

Change-Id: I4fe03dee7148b17a6f2a40208d1cb77013db4c98
CRs-Fixed: 2478160
2019-06-25 13:06:30 -07:00