Commit Graph

14919 Commits

Author SHA1 Message Date
Dustin Brown
094ce6b202 qcacld-3.0: Integrate DSC (debugfs)
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
with appropriate osif_sync op start/stop calls in debugfs callback
handlers.

Change-Id: I416743c713997fa8ba98c69e2876efcefe8af9cb
CRs-Fixed: 2409166
2019-03-05 14:23:31 -08:00
Dustin Brown
e3eca74d76 qcacld-3.0: Avoid enabling power save in FTM
Currently, the wlan driver enables low power mode in firmware, even when
the driver is loaded in Factory Test Mode (FTM). Going into low power
mode while in FTM can cause firmware to misbehave, and doesn't make much
sense anyway. Avoid power save when the driver is in FTM.

Change-Id: Id979f70db09fe42b9a1b9951542283e8f565cd85
CRs-Fixed: 2408289
2019-03-05 14:23:27 -08:00
nshrivas
bdf414a51e Release 5.2.0.123P
Release 5.2.0.123P

Change-Id: I45d830fa86036714e276d8d93e17c6d6998f6645
CRs-Fixed: 774533
2019-03-05 12:51:22 -08:00
Srinivas Girigowda
380affc875 qcacld-3.0: Replace lim_is_addr_bc() with QDF_IS_ADDR_BROADCAST
Replace lim_is_addr_bc() with QDF_IS_ADDR_BROADCAST.

Change-Id: I66547477e39dc29e108d3ab7275e95b7478f9436
CRs-Fixed: 2409299
2019-03-05 12:51:21 -08:00
nshrivas
6211325e21 Release 5.2.0.123O
Release 5.2.0.123O

Change-Id: Ifdb86f0a7119eb3d278a997d4975168d6980aa2a
CRs-Fixed: 774533
2019-03-05 11:27:50 -08:00
Srinivas Girigowda
a83abf3bbe qcacld-3.0: Modify IEEE80211_FC0_*_QOS to QDF_IEEE80211_FC0_SUBTYPE_QOS
Modify IEEE80211_FC0_SUBTYPE_QOS to QDF_IEEE80211_FC0_SUBTYPE_QOS.

Change-Id: Ide7ce0b8ff66af1706c2781dbe2aecb316613366
CRs-Fixed: 2408230
2019-03-05 11:27:49 -08:00
nshrivas
db6de74045 Release 5.2.0.123N
Release 5.2.0.123N

Change-Id: I64cfd9217ae5b054e15c6257ccf079dc01d89e90
CRs-Fixed: 774533
2019-03-05 05:36:34 -08:00
Wu Gao
09846d21e5 qcacld-3.0: Remove duplicate codes about DP INI
There is duplicate codes about DP INI in function cds_cdp_cfg_attach,
so remove it.

Change-Id: I0e6879cf28944cfd92ae7a3e6f4594641431d571
CRs-Fixed: 2408904
2019-03-05 05:36:33 -08:00
Wu Gao
4fe2308438 qcacld-3.0: Avoid to start ROC with invalid duration
Up layer tx probe response frame with wait/duration 0, which may be
start ROC with duration 0 and then tx mgmt frame fail since of very
short ROC and no enough time to wait for tx ack.

Change-Id: I5243ff10726b642d8cf18992a230d741f9d2655f
CRs-Fixed: 2397719
2019-03-05 05:36:28 -08:00
Rachit Kankane
87b16541a3 qcacld-3.0: Update ol_txrx_update_last_real_peer
Update function ol_txrx_update_last_real_peer to pass vdev instead of
peer structure.

Change-Id: I869756a45efb1e3f37d280596ae509960d9a3ceb
CRs-Fixed: 2397246
2019-03-05 05:36:24 -08:00
nshrivas
698a4f1bc2 Release 5.2.0.123M
Release 5.2.0.123M

Change-Id: I589fea0c2b9853a00ba2d29a62b3d652c68d1871
CRs-Fixed: 774533
2019-03-05 03:49:55 -08:00
gaurank kathpalia
97c98c6268 qcacld-3.0: Remove check of enable 2x2 in hdd_update_nss
Currently the driver checks enable 2x2 in hdd update nss, and
if it is 0, i.e nss is max limited to 1, then the driver returns
from there with the fail, thus not changing the global ini.

Fix is to remove the check from the common path, and put the
check only in the path where the FW also supports per vdev nss
change command.

Change-Id: I164e052eeec05d8e8c1653d134f645689f9e6281
CRs-Fixed: 2409355
2019-03-05 03:49:54 -08:00
Jeff Johnson
fdb993cdb7 qcacld-3.0: Rename HDD variable eBssType
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable eBssType to be
compliant.

Change-Id: Ifb59945fbde736d3aea0cc00034950337c3e5f17
CRs-Fixed: 2409076
2019-03-05 03:49:49 -08:00
Jeff Johnson
5d96b9f54c qcacld-3.0: Rename HDD variable staId
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable staId to be compliant.

Change-Id: I3dc22581adb270baeaad116062f8ed899d667e55
CRs-Fixed: 2409075
2019-03-05 03:49:44 -08:00
Jeff Johnson
0e5369e089 qcacld-3.0: Rename HDD variable numOfBytestoPrint
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable numOfBytestoPrint to be compliant.

Change-Id: I2676e6e33a1d0a64d5d73fce92f692b8586e2c14
CRs-Fixed: 2409074
2019-03-05 03:49:38 -08:00
Jeff Johnson
e69522c99c qcacld-3.0: Rename HDD variable staIdx
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable staIdx to be compliant.

Change-Id: I5fa3be478fbee159ac9f6b4656586bb7f1f0d89a
CRs-Fixed: 2409073
2019-03-05 03:49:33 -08:00
Jeff Johnson
a464bf2c78 qcacld-3.0: Rename HDD variable txRate
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable txRate to be compliant.

Change-Id: Ie09fae78fcfc2d02b3ab308fa819ef9f023b6d5b
CRs-Fixed: 2409072
2019-03-05 03:49:28 -08:00
Jeff Johnson
3dd8a5476f qcacld-3.0: Rename HDD variable filterType
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable filterType to be compliant.

Change-Id: I394b3846ce2e19877a236133152e32dd6967ea74
CRs-Fixed: 2409071
2019-03-05 03:49:23 -08:00
Jeff Johnson
22345e1816 qcacld-3.0: Rename HDD variables {ese,lfr,wes}Mode
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variables eseMode, lfrMode, and wesMode to be compliant.

Change-Id: If105aa574ae80428b928cdc98dc8755a1f23161c
CRs-Fixed: 2409070
2019-03-05 03:49:18 -08:00
Jeff Johnson
68605511cb qcacld-3.0: Rename HDD variable dfsScanMode
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable dfsScanMode to be compliant.

Change-Id: I0b01d5dc5a4d77d9fd71894fde788d73ceca3702
CRs-Fixed: 2409069
2019-03-05 03:49:13 -08:00
Jeff Johnson
dcaa8fcfda qcacld-3.0: Rename HDD variable handoffInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable handoffInfo to be compliant.

Change-Id: I0c431dc84b6bfa73464aba8c39719b214c5d4e79
CRs-Fixed: 2409068
2019-03-05 03:49:08 -08:00
Jeff Johnson
29c7867475 qcacld-3.0: Rename HDD variables roam{Id,Status,Result}
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variables roamId, roamStatus, and roamResult to be compliant.

Change-Id: I4bdca17412e5bd58e9bf9a5921e699b28896d90e
CRs-Fixed: 2408528
2019-03-05 03:49:04 -08:00
Jeff Johnson
d7ee4764f9 qcacld-3.0: Rename HDD variable roamScanControl
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable roamScanControl to be compliant.

Change-Id: I49aa61b5daf60c9d3b30d201803ee4c6a9cfd2d7
CRs-Fixed: 2408527
2019-03-05 03:48:59 -08:00
Jeff Johnson
9ff1695274 qcacld-3.0: Rename HDD variable modProfileFields
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable modProfileFields to be compliant.

Change-Id: I2c314221cd41c1730ce16a8a7d4b20f99d562c91
CRs-Fixed: 2408526
2019-03-05 03:48:54 -08:00
Jeff Johnson
65003804d2 qcacld-3.0: Rename HDD variable roamRssiDiff
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable roamRssiDiff to be compliant.

Change-Id: I26858cd00fc9a2efb47b6022d9a7f2083976769e
CRs-Fixed: 2408525
2019-03-05 03:48:50 -08:00
Jeff Johnson
8e3ca4c974 qcacld-3.0: Rename HDD variable nOpportunisticThresholdDiff
The Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so rename HDD local variable
nOpportunisticThresholdDiff to be compliant.

Change-Id: Ic337d3b31f946bf465474c866ba279ebc465fee2
CRs-Fixed: 2408524
2019-03-05 03:48:45 -08:00
Jeff Johnson
9625945e77 qcacld-3.0: Rename nEmptyScanRefreshPeriod
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename nEmptyScanRefreshPeriod to be compliant.

Change-Id: Iaf3d2ea3dc66c79c7e0e9f5ec42f013efd95f938
CRs-Fixed: 2408523
2019-03-05 03:48:41 -08:00
Jeff Johnson
30192416af qcacld-3.0: Rename HDD variable bcMode
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable bcMode to be compliant.

Change-Id: I199654eb60d421af345d942a5827c9ce22310642
CRs-Fixed: 2408522
2019-03-05 03:48:36 -08:00
Jeff Johnson
1a0c72bdf4 qcacld-3.0: Rename HDD variable rateUpdate
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable rateUpdate to be compliant.

Change-Id: I3268a27e9e95b07d6d2d9526cb191d7dfdb97a96
CRs-Fixed: 2408521
2019-03-05 03:48:32 -08:00
Jeff Johnson
b3f8043918 qcacld-3.0: Rename HDD variable targetRate
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable targetRate to be compliant.

Change-Id: Ifa8a5dbece67267bd6012e19fd8f3e58c9ffd551
CRs-Fixed: 2408520
2019-03-05 03:48:27 -08:00
Jeff Johnson
8f2016e7b3 qcacld-3.0: Rename HDD variable MacAddr
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable MacAddr to be compliant.

Change-Id: I354949526934713ea716ae939337b1ea63544280
CRs-Fixed: 2408519
2019-03-05 03:48:22 -08:00
nshrivas
592204795e Release 5.2.0.123L
Release 5.2.0.123L

Change-Id: I3d259e28ebbad15f82f70d496c6e16a6a085e4a8
CRs-Fixed: 774533
2019-03-04 14:22:30 -08:00
Bala Venkatesh
00e90dda38 qcacld-3.0: Allow SAP to move from one DFS channel to another DFS
Allow the SAP to move from DFS channel to another DFS channel in
STA+SAP SCC concurrency scenario.

Change-Id: Ie2091bbdd758ed7f3bef1757ff42bbe5034fe908
CRs-Fixed: 2408892
2019-03-04 14:22:30 -08:00
Abhishek Singh
82bcd76a11 qcacld-3.0: Fix mem leak for rrm channel list
In rrm scan response if IterMeasTimer fails to start the rrm channel list
is not freed. Similarly during rrm close if IterMeasTimer was running the
rrm channel list is not freed.

Free rrm channel list in rrm close and if IterMeasTimer fails to start.

Change-Id: I0ec18759dc81910755bda83d09f5106f8dd17937
CRs-Fixed: 2407417
2019-03-04 14:22:25 -08:00
gaurank kathpalia
6c4b50c28d qcacld-3.0: Accept update nss command in disconnected state
Currently if the FW supports the dynamic nss update feature,
the driver rejects the command to change the nss, but
there can be case scenarios where this update is required.

Fix is to accept the command in disconnected state, and
update the vdev specific ini of nss, and also update the
ini, and dynamic configuration in vdev mlme obj, which
is used in dynamic nss update.

Change-Id: I9cfa7f112159148733f06bf479987928f112901f
CRs-Fixed: 2404262
2019-03-04 14:22:21 -08:00
nshrivas
56eb33ff69 Release 5.2.0.123K
Release 5.2.0.123K

Change-Id: Ie898b974d0a4d8cc0c4ac1b2774fc1b5c4159881
CRs-Fixed: 774533
2019-03-04 12:55:34 -08:00
Kiran Kumar Lokere
9df090b79c qcacld-3.0: Fix issue with channel bonding configuration
Set the correct channel bonding parameter with user configured
value to enable/disable the channel bonding mode.

Change-Id: I38ff74fd5a1786a1446f36ca619a929c84f9446a
CRs-Fixed: 2394522
2019-03-04 12:55:33 -08:00
nshrivas
8dae4d160a Release 5.2.0.123J
Release 5.2.0.123J

Change-Id: I00bc9879465d4aca7ff56d937b90cc50ca03f433
CRs-Fixed: 774533
2019-03-04 11:18:06 -08:00
Pragaspathi Thilagaraj
974c27e69c qcacld-3.0: Fix compilation with WLAN_FEATURE_ROAM_OFFLOAD disabled
When LFR3 compile time flag WLAN_FEATURE_ROAM_OFFLOAD is
disabled, compilation of wlan driver fails as btk_key is defined
under WLAN_FEATURE_ROAM_OFFLOAD but sme_add_key_btk tries to
access this value irrespective of the compile time flag.

As the caller of sme_add_key_btk, calls this only if the
function hdd_is_btk_enc_type returns true and this function
hdd_is_btk_enc_type() is conditionally compiled based on
WLAN_FEATURE_ROAM_OFFLOAD, its better to include sme_add_key_btk
only if WLAN_FEATURE_ROAM_OFFLOAD is enabled.

Change-Id: I51315ed3bff8979120b86f75c06362a1c8a5658c
CRs-Fixed: 2408418
2019-03-04 11:18:05 -08:00
nshrivas
33b7f0aacb Release 5.2.0.123I
Release 5.2.0.123I

Change-Id: I44b5b9fccfefb1b0624cfa476f810841f0a15ec6
CRs-Fixed: 774533
2019-03-04 07:30:10 -08:00
Jingxiang Ge
e468bbdada qcacld-3.0: Fix use after free for txrx_vdev_handle
In wma_vdev_attach, if peer failed to create, it will detach
vdev, but without reset txrx_vdev_handle to NULL, so vdev
is still used in cdp_data_tx_cb_set.

Reset txrx_vdev_handle to NULL in wma_vdev_attach if create peer
fails.

Change-Id: Ie3963625ed7206eb1737f5820ec58d84f2ca9084
CRs-Fixed: 2407717
2019-03-04 07:30:09 -08:00
Jianmin Zhu
899cbed508 qcacld-3.0: Fix chmap List miss home channel during LFR3
During LFR3, Driver neighbor roam state keeps
eCSR_NEIGHBOR_ROAM_STATE_CONNECTED, don't enter
eCSR_NEIGHBOR_ROAM_STATE_INIT, no chance to call
csr_init_occupied_channels_list, so when candidate AP changes,
can't update in occupied channnels list.

Change-Id: Iadf60a013acbac3770108b4abcdc3d5b404daaf5
CRs-Fixed: 2406298
2019-03-04 07:30:05 -08:00
nshrivas
ce3c603ac7 Release 5.2.0.123H
Release 5.2.0.123H

Change-Id: Ibe71bd8ea10b28e271182d843ae48a2aa7b54fcf
CRs-Fixed: 774533
2019-03-03 22:24:51 -08:00
Jianmin Zhu
9030831d48 qcacld-3.0: Fix SSR failure on Rome
Peer and vdev leaked during SSR, Helium/Rome SSR is different.
Helium:
FW assert will indicate to CNSS driver, then PLD_FW_DOWN
is sent, in wlan_hdd_pld_uevent, target ready is cleared and
RECOVERING is set, so wma_force_objmgr_vdev_peer_cleanup can be
called, no such issue.
Rome:
FW assert will indicate to wlan driver directly, in
ol_target_failure, only RECOVERING is set, target ready isn't
cleared, wma_force_objmgr_vdev_peer_cleanup can't be called,
so peer and vdev leaked.

Change-Id: I6ecf6cc439f931d8da67972c543376b2148982af
CRs-Fixed: 2403501
2019-03-03 22:24:50 -08:00
nshrivas
7e32b73048 Release 5.2.0.123G
Release 5.2.0.123G

Change-Id: Ia6df62e74c90a6d53ffdd6cf5ce505171e3df5bb
CRs-Fixed: 774533
2019-03-03 05:03:44 -08:00
Ashish Kumar Dhanotiya
5d2f25a1c4 qcacld-3.0: Fix OOB read in hdd_populate_wifi_signal_info
While handling ll stats information there is a possibility
of OOB read in hdd_populate_wifi_signal_info api as
FW is giving num_chan info as uint_32 and host has
saved into int_32 type variable which may lead to an
extremely large positive number which is getting used as
index of for loop to populate signal info in skp which may
lead to OOB read.

Change-Id: I032eb465db30ee9e3a7ba0c4f017ed781264c47d
CRs-fixed: 2383605
2019-03-03 05:03:44 -08:00
gaurank kathpalia
f880346d29 qcacld-3.0: Remove unused mcc to scc switch enums
Currently the driver accepts the values of 1,2
for MCC to SCC switch , which does not take effect
as they are not used in the sap switch channel,
thus the same are of no use.

Fix is to cleanup these as they are of no use, and
do not give the desired output too.

Change-Id: I604d83aa59735362828266584220016aac124b1a
CRs-Fixed: 2404563
2019-03-03 05:03:40 -08:00
nshrivas
3aae928583 Release 5.2.0.123F
Release 5.2.0.123F

Change-Id: Ie1cf9f048b84f2e117f665a4dfb10a74908bc4ef
CRs-Fixed: 774533
2019-03-03 00:54:20 -08:00
Jeff Johnson
d8a3546962 qcacld-3.0: Rename HDD variable seqNo
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable seqNo to be compliant.

Change-Id: If2f897ffe65aabac96616e844b424d58b3eb267d
CRs-Fixed: 2408057
2019-03-03 00:54:20 -08:00
nshrivas
77f5fecf20 Release 5.2.0.123E
Release 5.2.0.123E

Change-Id: I115d43c5b45d8f1236c16b3041db7547289358b2
CRs-Fixed: 774533
2019-03-02 23:25:33 -08:00