Commit Graph

15191 Commits

Author SHA1 Message Date
nshrivas
76a3ffe5e0 Release 5.2.0.124U
Release 5.2.0.124U

Change-Id: I0c348af97145a4e580ad5f7908e93b29e03f5916
CRs-Fixed: 774533
2019-03-11 01:35:01 -07:00
hangtian
ee84dbeb33 qcacld-3.0: Allow SSR during driver resume
Allow SSR during driver resume. Assume firmware goes down during driver
is in suspend state. Avoid get into bad state and wmi access during driver
resume.

Change-Id: Ie1689e0b080f940666fbbb19c9f0e3b0fecfe564
CRs-Fixed: 2412130
2019-03-11 01:35:00 -07:00
nshrivas
3eddc4ba94 Release 5.2.0.124T
Release 5.2.0.124T

Change-Id: Id51691b80d68cd9773877621530a7123c6b6b99d
CRs-Fixed: 774533
2019-03-10 16:37:56 -07:00
Jeff Johnson
a9f092a1eb qcacld-3.0: Rename HDD identifier pGranted
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pGranted to be compliant.

Change-Id: Iccc58b730e381928b510a35c4d40addd1960201d
CRs-Fixed: 2412968
2019-03-10 16:37:55 -07:00
Jeff Johnson
c9770ee2b7 qcacld-3.0: Replace typedef tSirWifiInterfaceInfo
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSirWifiInterfaceInfo typedef
does not meet any of those criteria, so replace it (and the "tp"
variant) with a properly named struct.

Change-Id: Id3f2f5e9dc07faccd582c16919103ca2da2b2b92
CRs-Fixed: 2412967
2019-03-10 16:37:51 -07:00
nshrivas
7aa744883d Release 5.2.0.124S
Release 5.2.0.124S

Change-Id: Ib3752bbb5f3d34333eb5eb78d8db09b4bc508ca1
CRs-Fixed: 774533
2019-03-10 15:04:48 -07:00
Jeff Johnson
8d4621bc8d qcacld-3.0: Rename HDD identifier pContext
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pContext to be compliant.

Change-Id: I1fe6d309d9b29703ca9f643cc0a8200fc4964fc2
CRs-Fixed: 2412966
2019-03-10 15:04:47 -07:00
Jeff Johnson
bc376d8e9e qcacld-3.0: Rename HDD identifier sapContext
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier sapContext to be compliant.

Change-Id: I77c66a27c423941285ddd52cfd642d8be67415fe
CRs-Fixed: 2412965
2019-03-10 15:04:42 -07:00
Jeff Johnson
9a0fde3a09 qcacld-3.0: Move wlan_hdd_cfg80211_extscan_callback() prototype
The wlan_hdd_cfg80211_extscan_callback() prototype is currently in
wlan_hdd_cfg80211.h, and uses different parameter names than the
implementation. Since the implementation is in wlan_hdd_ext_scan.c,
move the prototype to wlan_hdd_ext_scan.h, and exactly match the
implementation function signature.

Change-Id: Id3bd25f1ef885989b970a08a1e0f9540313c8032
CRs-Fixed: 2412964
2019-03-10 15:04:38 -07:00
Jeff Johnson
55d2ab4aa4 qcacld-3.0: Replace hdd_get_adapter_by_sme_session_id()
Currently both functions hdd_get_adapter_by_sme_session_id() and
hdd_get_adapter_by_vdev() have the same functionality. Since
hdd_get_adapter_by_vdev() uses current terminology, replace all
instances of hdd_get_adapter_by_sme_session_id().

Change-Id: Id94604ae744ec03faa41600db4fc618ff99989b1
CRs-Fixed: 2412963
2019-03-10 15:04:33 -07:00
nshrivas
848b9faf8f Release 5.2.0.124R
Release 5.2.0.124R

Change-Id: Ib68483b20776f3352ca6c93a365d51590301e0ba
CRs-Fixed: 774533
2019-03-09 21:14:01 -08:00
Harprit Chhabada
89780bfc35 qcacld-3.0: Clean up of external range validation for Boolean type
BOOLEAN is native c type so external range validation is not needed.
Cleanup references to cfg_in_range(), cfg_min and cfg_max for
BOOLEAN items

Change-Id: I4a60d1bbd12ad3cce00b33c551b3927b2f01f638
CRs-Fixed: 2359500
2019-03-09 21:14:00 -08:00
nshrivas
278ad9746b Release 5.2.0.124Q
Release 5.2.0.124Q

Change-Id: Ia34cf5a721b1a498a6cfadd5262cfa3c6bbf4167
CRs-Fixed: 774533
2019-03-09 04:06:51 -08:00
Sravan Kumar Kairam
5c802f74f7 qcacld-3.0: Enable IPA offload for lithium dp
In default config file enable IPA offload feature for
lithium dp.

Change-Id: Id51d424bcb685be9387f800133af11eaf85b9cb9
CRs-Fixed: 2377094
2019-03-09 04:06:50 -08:00
Abhinav Kumar
9cfc2f5535 qcacld-3.0: Pass proper arguments while sending EV_ROAM to VDEV SM
Currently, while handling roam sync event
wma_roam_synch_event_handler invokes wlan_vdev_mlme_sm_deliver_evt
with extracted synch event as an argument. Driver assumes extracted
synch event as event buffer and try to get sync event again. which
results assert in host while roaming.

wma_roam_synch_event_handler should pass roam sync event and its
lenght as arguments which is coming through WMI_ROAM_SYNCH_EVENTID
to wlan_vdev_mlme_sm_deliver_evt to send EV_ROAM.

Fix is to pass proper argument to wlan_vdev_mlme_sm_deliver_evt
in order to resolve this assert.

Change-Id: I37f03a19e45189e61a5b86f714048816af7f5e5f
CRs-Fixed: 2412552
2019-03-09 04:06:45 -08:00
nshrivas
c2e132a4c6 Release 5.2.0.124P
Release 5.2.0.124P

Change-Id: Ibe705ff99f36134d14bc607beb1400df6188b17f
CRs-Fixed: 774533
2019-03-09 02:28:55 -08:00
Jeff Johnson
30f5bba927 qcacld-3.0: Rename HDD identifier pCfg
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pCfg to be compliant.

Change-Id: Iec8ee088f10dad03183a9c126ea7980364bc3d4f
CRs-Fixed: 2412718
2019-03-09 02:28:54 -08:00
Jeff Johnson
50e37e928b qcacld-3.0: Rename HDD identifier pDelStaParams
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pDelStaParams to be
compliant.

Change-Id: I64a86d62ce5477436c419dd827f7b836f93fe4b5
CRs-Fixed: 2412717
2019-03-09 02:28:50 -08:00
Jeff Johnson
4338caad72 qcacld-3.0: Replace typedef tSap_Event
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSap_Event typedef does not
meet any of those criteria, so replace it (and the "tp" variant) with
a reference to the underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.

Change-Id: I523f8642ef81b3e35b2bb7a2801f3b734b2f5865
CRs-Fixed: 2412716
2019-03-09 02:28:46 -08:00
Jeff Johnson
46b4f0e2cc qcacld-3.0: Replace typedef tSmeConfigParams
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The tSmeConfigParams typedef does
not meet any of those criteria, so replace it (and the "tp" variant)
with a reference to the underlying struct.

Further note the Linux Coding Style frowns upon mixed-case names and
so-called Hungarian notation, so in conjunction rename the underlying
struct to be in compliance.

Change-Id: I926cf67d87398782049bf9acbcd06f806a7cec29
CRs-Fixed: 2412715
2019-03-09 02:28:42 -08:00
Jeff Johnson
13926ec103 qcacld-3.0: Remove rrmConfig from tSmeConfigParams
The rrmConfig struct inside tSmeConfigParams is written by
sme_get_config_param() but is otherwise never accessed. Since
this is unused, remove it.

Change-Id: Ia173b20e69506f62e80baf239e889026595ba579
CRs-Fixed: 2412714
2019-03-09 02:28:37 -08:00
Jeff Johnson
79d6e5e151 qcacld-3.0: Rename HDD identifier pTspec
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pTspec to be compliant.

Change-Id: I977162fecb0fd0c3a3e48cfa38df3414b0601ad1
CRs-Fixed: 2412188
2019-03-09 02:28:33 -08:00
Jeff Johnson
1cf299e70a qcacld-3.0: Rename HDD identifier pSapEvent
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pSapEvent to be
compliant.

Change-Id: I42ba4a27bbc7c4f9d9b33cd0d8d2c3b54d46b90e
CRs-Fixed: 2412187
2019-03-09 02:28:29 -08:00
Jeff Johnson
74c4bfb78d qcacld-3.0: Rename HDD identifier pStaInfo
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pStaInfo to be compliant.

Change-Id: I35996f61c181b6a92db21666d52118b8be27fc30
CRs-Fixed: 2412186
2019-03-09 02:28:25 -08:00
Jeff Johnson
aa8b13d84d qcacld-3.0: Rename HDD identifier pIe
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pIe to be compliant.

Change-Id: I1edb2b7811f752bae5e3c782abc5551ad09d0605
CRs-Fixed: 2412185
2019-03-09 02:28:21 -08:00
Jeff Johnson
ca26578aa5 qcacld-3.0: Rename HDD identifier pSapEventCallback
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pSapEventCallback to be
compliant.

Change-Id: Ic95d516c114494c27acbd647c98a29b77be90b5a
CRs-Fixed: 2412184
2019-03-09 02:28:17 -08:00
Jeff Johnson
954903d3b4 qcacld-3.0: Rename HDD identifier pConfig
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pConfig to be compliant.

Change-Id: I8ef0f3e1746d95dc4d7367dba76239110bfc4a36
CRs-Fixed: 2412183
2019-03-09 02:28:13 -08:00
Jeff Johnson
9b8051b63d qcacld-3.0: Rename smeConfig in hdd_set_sme_config()
The Linux Coding Style frowns upon mixed-case names so rename variable
smeConfig in hdd_set_sme_config() to be compliant.

Change-Id: Ib4c6382a6d753def5124c5a728b0f6805dc35e28
CRs-Fixed: 2412182
2019-03-09 02:28:09 -08:00
nshrivas
435062f3f4 Release 5.2.0.124O
Release 5.2.0.124O

Change-Id: I982042069edbc7eec7db13142a6ba7f88d02fecc
CRs-Fixed: 774533
2019-03-08 18:53:38 -08:00
Srinivas Girigowda
df90ceacd1 qcacld-3.0: Remove obsolete macros from CDS
Remove obsolete macros from CDS.

Change-Id: Ic17ae603f698568ba8ccb6b4e3f332a475e67a7b
CRs-Fixed: 2395980
2019-03-08 18:53:37 -08:00
nshrivas
87b843b391 Release 5.2.0.124N
Release 5.2.0.124N

Change-Id: I7cfe28462573a8f1a6ca9ded5cc94f32f35e43ea
CRs-Fixed: 774533
2019-03-08 17:23:58 -08:00
Harprit Chhabada
5cedd5898e qcacld-3.0: Correct the logging type in csr_send_join_req_msg
Change the logging type from error to debug to show the
correct intent.

Change-Id: I80fea7afad723ff471aca83158df311cfbff9d50
CRs-Fixed: 2410867
2019-03-08 17:23:57 -08:00
nshrivas
275814c8c1 Release 5.2.0.124M
Release 5.2.0.124M

Change-Id: I52393bcdc214ea40d5c2124202075f1aa572b3ea
CRs-Fixed: 774533
2019-03-08 10:47:56 -08:00
Jeff Johnson
04739e334c qcacld-3.0: Remove RSNAuthType from struct sap_config
The RSNAuthType field in struct sap_config is unused, so remove it.

Change-Id: Id60840b00ae30b243f46ba51a5840cb29a17dc1a
CRs-Fixed: 2411671
2019-03-08 10:47:56 -08:00
Abhishek Singh
59cdca1891 qcacld-3.0: Remove duplicate func hdd_cfg80211_get_bss
With I10ec42749ebcd2ddea23f7f3a94d862124df156d, wlan_cfg80211_get_bss
is added and has same functionality as hdd_cfg80211_get_bss.

So use wlan_cfg80211_get_bss instead of hdd_cfg80211_get_bss.

Change-Id: I1445c62fcec2f6dec33433c06ae6169c3eef1fac
CRs-Fixed: 2412288
2019-03-08 10:47:51 -08:00
Abhishek Singh
85283ae98e qcacld-3.0: Fix bss ref leak in wlan_hdd_cfg80211_update_bss_list
When cfg80211_get_bss return bss entry it take a ref count and its
responsibility of the caller to free it.

So Decrement ref count of the bss once used in
wlan_hdd_cfg80211_update_bss_list.

Change-Id: I8457391e437558c15a4c3a9573591eef45d99e2c
CRs-Fixed: 2412267
2019-03-08 10:47:46 -08:00
Jeff Johnson
c419c17c62 qcacld-3.0: Rename HDD identifier staDesc
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier staDesc to be compliant.

Change-Id: I0e052f50f74089708e5056c5e31c8f0143245aa4
CRs-Fixed: 2411670
2019-03-08 10:47:41 -08:00
nshrivas
84b15ee147 Release 5.2.0.124L
Release 5.2.0.124L

Change-Id: I67661110e763b50823af92ece8a6b3b13e8f5aa4
CRs-Fixed: 774533
2019-03-08 07:39:26 -08:00
Sandeep Puligilla
d78870293b qcacld-3.0: Refactor scan cfg items
Refactor following scan CFG items
1. CFG_ENABLE_CONNECTED_SCAN
2. CFG_ENABLE_SNR_MONITORING

Change-Id: I936cc949c2682c5552e639cd2b1635e0dd0235e6
CRs-Fixed: 2405703
2019-03-08 07:39:25 -08:00
nshrivas
8802298183 Release 5.2.0.124K
Release 5.2.0.124K

Change-Id: I3758f17cdac97e57d336938f6c53d7b3a3cdd6b8
CRs-Fixed: 774533
2019-03-08 06:04:28 -08:00
Rajeev Kumar
c80f91056d qcacld-3.0: Mark client kick out event as wake event in SAP mode
In SAP mode apps should wake up to handle the client kick out event
from fw and delete the remote peer such that remote peer is not hanging
in partial connected state when apps is in power save mode. Mark client
kick out event as wake event in SAP mode such that apps can wake up and
properly disconnect the kicked out remote client.

Change-Id: I9e2e56820be0bed8019d2fb810a12a129deadd37
CRs-Fixed: 2410124
2019-03-08 06:04:28 -08:00
Jayachandran Sreekumaran
2613f32128 qcacld-3.0: Set the correct the peer type in p2p go mode
In p2p go mode the peer type in wlan peer common object is always
set to P2P_CLI. This leads to non-cancellation of NoA after connecting
to legacy stations. Correct the peer type for legacy stations.

Change-Id: Ib706f9a80d0ad367e27fd21eca6cf026cba63f57
CRs-Fixed: 2406127
2019-03-08 06:04:23 -08:00
nshrivas
309b739a4f Release 5.2.0.124J
Release 5.2.0.124J

Change-Id: I2308560953483ff63c1a9879c9215aff9dc6da82
CRs-Fixed: 774533
2019-03-08 04:36:53 -08:00
Jeff Johnson
cdcc910871 qcacld-3.0: Remove extern from htt prototypes
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern keyword from htt prototypes.

Change-Id: I8a935de8d3cb5ea65ee81d5ba770f6e51608cba9
CRs-Fixed: 2411810
2019-03-08 04:36:53 -08:00
Jeff Johnson
50535facf0 qcacld-3.0: Remove extern from legacy TX wrappers
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern keyword from the legacy TX wrapper
prototypes.

Change-Id: I049094919330b6c612eede5e7835046bd601f7de
CRs-Fixed: 2411809
2019-03-08 04:36:47 -08:00
Jeff Johnson
3f4b1ed0e7 qcacld-3.0: Replace tx_time_get()
In order to move away from legacy interfaces replace tx_time_get()
with the underlying QDF function.

Change-Id: I5387acb6c8574623d9b49ad4d9481f4bd6ed521b
CRs-Fixed: 2411808
2019-03-08 04:36:42 -08:00
Jeff Johnson
474984520c qcacld-3.0: Remove extern from lim prototypes
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern keyword from lim prototypes.

Change-Id: I3a1dd44c6c397af854138832d055a8707fe8f6ec
CRs-Fixed: 2411807
2019-03-08 04:36:37 -08:00
Jeff Johnson
b07230f434 qcacld-3.0: Refine sys_process_mmh_msg()
There are currently a multitude of issues with sys_process_mmh_msg()
so update both the interface and the implementation to align with good
software engineering practices and the Linux Coding Style.

Change-Id: I76e53772dd72426cc4245756457e2a8140937571
CRs-Fixed: 2411714
2019-03-08 04:36:32 -08:00
nshrivas
6aacf6a0d1 Release 5.2.0.124I
Release 5.2.0.124I

Change-Id: I961bde4d7ca4754b98ff0e10c0ba8b23af6586ff
CRs-Fixed: 774533
2019-03-08 02:39:01 -08:00
Jeff Johnson
82ff607daf qcacld-3.0: Remove wma_send_regdomain_info_to_fw() extern
To align with the Linux coding standard as enforced by the checkpatch
script, remove the extern from the wma_send_regdomain_info_to_fw()
prototype. Furthermore, to align with software engineering best
practices, relocate the documentation so that it is the interface that
is documented, not the implementation.

Change-Id: Ie1993d3132517fac993b4c5556fe82c6bfbfe016
CRs-Fixed: 2411713
2019-03-08 02:39:01 -08:00