Commit Graph

15191 Commits

Author SHA1 Message Date
Qun Zhang
368c4ad8ba qcacld-3.0: Fix the wrong memory copy address of IBSS ssid
In IBSS mode, it should copy ssid to member ssId of tSirMacSSid
instead of member length when set bcn/probe filter. Due to the
wrong copy, the peer IBSS bcn is filtered out, so the IBSS group
can not be established.

Change-Id: I9df11de06b0c5ef04a53ee6a25a4ef1547797980
CRs-Fixed: 2386777
2019-03-06 05:06:19 -08:00
gaurank kathpalia
a5c5bd5dd3 qcacld-3.0: Remove redundant code of hw dbs capable
Currently the driver has hdd, sme api to set the hw
dbs capability in the mac context which is not used
by any other module, because the dispatcher APIs are
already present.

Remove the hw mode capability variable from the mac
context as it is no longer used.

Change-Id: I7aa53b09cfb93fcd87ba9faf97402c136ef6b7ed
CRs-Fixed: 2409368
2019-03-06 05:06:13 -08:00
nshrivas
4a9145b97c Release 5.2.0.123R
Release 5.2.0.123R

Change-Id: I887718a37241ca8d528d76007f80fda84314fab4
CRs-Fixed: 774533
2019-03-06 00:33:43 -08:00
Jeff Johnson
0a082d90ea qcacld-3.0: Rename HDD identifier staid
To improve code comprehension renamed HDD identifier staid to sta_id.

Change-Id: Iecde8b3f3410cac5d01f8fe2f9f2438a398e8e81
CRs-Fixed: 2409889
2019-03-06 00:33:42 -08:00
Jeff Johnson
d4c0ab5565 qcacld-3.0: Rename HDD identifier pQosContext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pQosContext to be
compliant.

Change-Id: I649b6db239bb1b50e3a4743c3e51cbb2bd8183db
CRs-Fixed: 2409888
2019-03-06 00:33:35 -08:00
Jeff Johnson
c4238ba92a qcacld-3.0: Rename HDD identifier LinkLayerStatsSetReq
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier LinkLayerStatsSetReq to be compliant.

Change-Id: Ibc178f5776ff04a2e55203846994416353814d5b
CRs-Fixed: 2409887
2019-03-06 00:33:29 -08:00
Jeff Johnson
459d27338f qcacld-3.0: Rename identifier eBand
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename identifier eBand to be compliant.

Change-Id: If232dac1fb05b64c7643ee0f3adea47a712a192b
CRs-Fixed: 2409886
2019-03-06 00:33:22 -08:00
Jeff Johnson
218f9be3f8 qcacld-3.0: Rename SME variable pPlmReq
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename SME local variable pPlmReq to be
compliant.

Change-Id: I89fbf08ccc2b16bfed397ac6afa190cefe34141c
CRs-Fixed: 2409885
2019-03-06 00:33:16 -08:00
Jeff Johnson
8626e93ebe qcacld-3.0: Rename operationChannel in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
operationChannel in struct hdd_connection_info to be compliant.

Change-Id: Ic6d600997fc41a17c1ff6502a576b14b3f3ca2c0
CRs-Fixed: 2409884
2019-03-06 00:33:10 -08:00
Jeff Johnson
c52bc8b3f5 qcacld-3.0: Rename dot11Mode in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
dot11Mode in struct hdd_connection_info to be compliant.

Change-Id: I0da66d6291bfb926a59566badb26e22f1055eb50
CRs-Fixed: 2409883
2019-03-06 00:33:04 -08:00
Jeff Johnson
e20ce74215 qcacld-3.0: Remove Keys from struct hdd_connection_info
The Keys field in struct hdd_connection_info is unused, so remove it.

Change-Id: Ifff59377adddf47d7e5764b85702a1828af11a47
CRs-Fixed: 2409882
2019-03-06 00:32:59 -08:00
Jeff Johnson
96e3351707 qcacld-3.0: Rename authType in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
authType in struct hdd_connection_info to be compliant.

Change-Id: I6b17fd1b068a817ad4ef2eed99164a4c4620b50b
CRs-Fixed: 2409881
2019-03-06 00:32:53 -08:00
Jeff Johnson
5ec1abfc11 qcacld-3.0: Rename peerMacAddress in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
peerMacAddress in struct hdd_connection_info to be compliant.

Change-Id: Id6ef7a5f51431d799bdee9a3bae8da5158ece8a3
CRs-Fixed: 2409880
2019-03-06 00:32:47 -08:00
Jeff Johnson
9bc4b57ef9 qcacld-3.0: Rename staId in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
staId in struct hdd_connection_info to be compliant.

Change-Id: Ied5e7a5e669c54d521d1bb7070f4a0fbd77efda4
CRs-Fixed: 2409879
2019-03-06 00:32:42 -08:00
Jeff Johnson
e04b6995fa qcacld-3.0: Rename bssId in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
bssId in struct hdd_connection_info to be compliant.

Change-Id: I49a1a68fbec0582d8bbc82c2e92c171bb6343dfc
CRs-Fixed: 2409878
2019-03-06 00:32:37 -08:00
Jeff Johnson
457c242c20 qcacld-3.0: Rename uIsAuthenticated in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename field uIsAuthenticated in struct
hdd_connection_info to be compliant.

Change-Id: I9e7629e41ba42224be5dbe5c7a773d1574a189b2
CRs-Fixed: 2409877
2019-03-06 00:32:32 -08:00
Jeff Johnson
b195984a0e qcacld-3.0: Rename *EncryptionType in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename fields
ucEncryptionType and mcEncryptionType in struct hdd_connection_info to
be compliant.

Change-Id: I286b7df320f4bb1684acaf463cfd249dc0e1c1d8
CRs-Fixed: 2409876
2019-03-06 00:32:27 -08:00
Jeff Johnson
ac5170c4a7 qcacld-3.0: Rename proxyARPService
The Linux Coding Style frowns upon mixed-case names so rename
proxyARPService to be compliant.

Change-Id: I8ad21c749caabde80fa21fa6800901c20988cfd2
CRs-Fixed: 2409875
2019-03-06 00:32:22 -08:00
Jeff Johnson
4aea180e1c qcacld-3.0: Rename SSID in struct hdd_connection_info
To conform to the expectation that uppercase identifiers are only used
for macros, rename field SSID in struct hdd_connection_info.

Change-Id: Ia6d3c45be952ed7c044a21c723a7fddb0038ad81
CRs-Fixed: 2409874
2019-03-06 00:32:17 -08:00
Jeff Johnson
e7951513a0 qcacld-3.0: Rename connState in struct hdd_connection_info
The Linux Coding Style frowns upon mixed-case names so rename field
connState in struct hdd_connection_info to be compliant.

Change-Id: Ib5e1fa2cc4c6ea4e15a6dba2c0ec3ac424b9e09e
CRs-Fixed: 2409873
2019-03-06 00:32:12 -08:00
nshrivas
781881a118 Release 5.2.0.123Q
Release 5.2.0.123Q

Change-Id: I7eef1ffdab56cbeb3d754a436581bbd5d0a9f658
CRs-Fixed: 774533
2019-03-05 14:23:36 -08:00
Bala Venkatesh
4f9ba364ed qcacld-3.0: Trim operation classes to max supported in change station
Operation classes supported can be controlled by user, which can
be sent greater than the max supported operations. This results
in stack overflow in change station command.
Add check to validate operations supported param given by user
and if it exceeds max supported value, set it to max supported
value.

CRs-Fixed: 2002052
Change-Id: Idd3a35e38b091546a17d7ec6329f19429e5c289c
2019-03-05 14:23:35 -08:00
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