Commit Graph

13520 Commits

Author SHA1 Message Date
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
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
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
nshrivas
97593b94bd Release 5.2.0.124H
Release 5.2.0.124H

Change-Id: Ie43972bac62d8ebf9a8cd1c0b1f9f16cb9ccae50
CRs-Fixed: 774533
2019-03-07 23:53:54 -08:00
Alok Kumar
ea3b23bc74 qcacld-3.0: Fix callback function type for cds_ol_rx_thread_cb
To address kernel control flow integrity (CFI) issues related to
type mismatch, correct input argument type for ol_rx_data_cb().

Change-Id: Iafefe5dc3d946e3d67743de1a662aa3b0511cf5d
CRs-Fixed: 2407160
2019-03-07 23:53:53 -08:00
Dustin Brown
ffaf8cce87 qcacld-3.0: Remove SSR protect (transitions)
As part of DSC integration cleanup, remove SSR protection from
transitions where osif_sync trans start/stop protection is also in
place.

Change-Id: I0b4a9404697d130c8a1bfeb7d2c0d2977d825f5c
CRs-Fixed: 2411001
2019-03-07 23:53:48 -08:00
nshrivas
47568be1ab Release 5.2.0.124G
Release 5.2.0.124G

Change-Id: If82f1f326e89e313cdc023d53b2cef45636bebcc
CRs-Fixed: 774533
2019-03-07 22:22:47 -08:00
Jeff Johnson
66c376d228 qcacld-3.0: Remove typedef tSirNanEvent
Change I5565ef2eb72b3746e05cb8e16662985392bcc802 ("qcacld-3.0: Remove
unused wlan_hdd_cfg80211_nan_*() stubs") removed the last reference to
typedef tSirNanEvent. Since this typedef is obsolete, remove it.

Change-Id: I7b7ef8f0bde00a77d95e3e1451e6138b01061bd7
CRs-Fixed: 2411194
2019-03-07 22:22:46 -08:00
Jeff Johnson
dbb4d6c4e4 qcacld-3.0: Remove unused wlan_hdd_cfg80211_nan_*() stubs
Change I542e5afe832619f8c088220cc4456aa7fe4416fd ("qcacld-3.0: Route
the legacy NAN commands through NAN component") removed function
wlan_hdd_cfg80211_nan_callback(), but left behind the stub
implementation that was referenced when the NAN feature was not
enabled. This stub is unused, so remove it.

In addition functions wlan_hdd_cfg80211_nan_request() and
wlan_hdd_cfg80211_nan_ext_request() are only referenced when the NAN
feature is enabled, so the stub functions are also unnecessary, so
remove those as well.

Finally, wlan_hdd_cfg80211_nan_request() has two separate prototypes,
so remove one of the duplicates.

Change-Id: I5565ef2eb72b3746e05cb8e16662985392bcc802
CRs-Fixed: 2411169
2019-03-07 22:22:42 -08:00
Jeff Johnson
0fcc94efa0 qcacld-3.0: Remove setConfig ioctl support
Change I1b699d5fe5b3182c292cf10c85f842169bf14342 ("qcacld-3.0:
Refactor stats cfg items") removed the last of the legacy dynamic
config items. Since there are no items for the setConfig ioctl to
modify, the support is obsolete, so remove it.

Change-Id: I82e8a352a1c6af07f64951dca6ec5c712dbccef9
CRs-Fixed: 2411168
2019-03-07 22:22:37 -08:00
Jeff Johnson
d82d7893b1 qcacld-3.0: Remove is_ra_ratelimit_enabled from cds_config_info
Change I870a1271a627d47242000f5e04068e628f567216 ("qcacld-3.0: Cleanup
usage of RA rate limit variables in WMA") removed all usage of field
is_ra_ratelimit_enabled in struct cds_config_info. Since this field is
now obsolete, remove it.

Change-Id: Iea020b56cb1927718bccb7bc77d314e40b9c73a6
CRs-Fixed: 2411167
2019-03-07 22:22:32 -08:00
nshrivas
64a2f64ef3 Release 5.2.0.124F
Release 5.2.0.124F

Change-Id: I194135f99fd1439e199edd3d0f0c1b8e5648cf2b
CRs-Fixed: 774533
2019-03-07 20:46:59 -08:00
Abhishek Singh
5ffe9de5b4 qcacld-3.0: Fix Connection issue when AP change from hidden to non-hidden
If AP change its status from hidden to broadcasting SSID in its beacon
kernel drop the beacon entry as its confusing. Now during connection
driver try to update the entry in kernel and it fails and as kernel drop
the beacon the connection fails.

To fix this detect if AP changed its ssid type from hidden to
broadcasting and unlink the old bss from kernel in that case.

Change-Id: Ic7fc67aeb2b95e772ed12340f7ff84b1f2c233d9
CRs-Fixed: 2410209
2019-03-07 20:46:59 -08:00
nshrivas
71822369cf Release 5.2.0.124E
Release 5.2.0.124E

Change-Id: I97b11087bcd525897c8bb2954c8fbab43ea19f71
CRs-Fixed: 774533
2019-03-07 17:32:06 -08:00
Srinivas Girigowda
b971ba2678 qcacld-3.0: Replace lim_is_group_addr() with IEEE80211_IS_MULTICAST
Replace lim_is_group_addr() with IEEE80211_IS_MULTICAST.

Change-Id: Ide8c1a9b04c065896724c67123943128e76f8d1a
CRs-Fixed: 2410946
2019-03-07 17:32:06 -08:00
nshrivas
8c17145977 Release 5.2.0.124D
Release 5.2.0.124D

Change-Id: I145ac8afad5f04e13a13318a2250e20b28bee032
CRs-Fixed: 774533
2019-03-07 16:06:31 -08:00
Jeff Johnson
912b1bb540 qcacld-3.0: Replace HDD_SESSION_ID_INVALID
The macro HDD_SESSION_ID_INVALID uses legacy nomenclature and
replicates the semantics of converged macro WLAN_UMAC_VDEV_ID_MAX,
so replace it.

Change-Id: I312b0599a31b530abe5c072a50673ac0198da877
CRs-Fixed: 2410833
2019-03-07 16:06:30 -08:00
Jeff Johnson
995fd5192d qcacld-3.0: Rename last_scan_reject_session_id
The HDD context field last_scan_reject_session_id uses the legacy term
"session_id." To align with the current nomenclature change this to
"vdev_id."

Change-Id: Icb429e9a4e557c0edac8a1ba30339cd596209e68
CRs-Fixed: 2410832
2019-03-07 16:06:25 -08:00
Jeff Johnson
a2ac4e7375 qcacld-3.0: Rename hdd_is_connection_in_progress() params
Currently hdd_is_connection_in_progress() uses the legacy term
"session_id" for one of its parameters. In order to align with the
current terminology replace this with "vdev_id." And further to
provide additional information, add an "out_" prefix to both output
parameters.

Change-Id: I658e3adf0b4448f33f657d4cc839a4b6d180e31e
CRs-Fixed: 2410831
2019-03-07 16:06:21 -08:00
Jianmin Zhu
cc6b3d0c43 qcacld-3.0: Change log level from err to debug for LFR3 performance KPI
Log of level err will call printk to print on uart, may make
current thread sleep or delay > 10ms, then wma_roam_synch_event
need longer time to handle, LFR3 roam need longer time.

Change-Id: Ibdd58f74fcf5cf3de8e2b06166c375a2ce634cb5
CRs-Fixed: 2406307
2019-03-07 16:06:15 -08:00
nshrivas
0e41718553 Release 5.2.0.124C
Release 5.2.0.124C

Change-Id: I52d0920ec0a6904c638cf347341e0273d9671fac
CRs-Fixed: 774533
2019-03-07 14:30:27 -08:00
nshrivas
7e36dedeaa Release 5.2.0.124B
Release 5.2.0.124B

Change-Id: I959d60d779cdd0f02f914bf48af0efcbf16f55d6
CRs-Fixed: 774533
2019-03-07 13:03:58 -08:00
Varun Reddy Yeturu
d6bfcd76e6 qcacld-3.0: Add crypto component support for FILS
Add support in crypto for FILS set key functionality

Change-Id: Ibbb83940c6f2d8545966a0b122f132b55d5770bf
CRs-Fixed: 2407508
2019-03-07 13:03:57 -08:00
nshrivas
acdeb3d135 Release 5.2.0.124A
Release 5.2.0.124A

Change-Id: Id273d552b4e241c15e9ecb43354aa581676fe015
CRs-Fixed: 774533
2019-03-07 09:08:16 -08:00
Jeff Johnson
d7a7181e70 qcacld-3.0: Replace typedef tAniSirLimIbss
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 tAniSirLimIbss typedef does not
meet any of those criteria, so replace it 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 struct and
underlying fields to be in compliance.

Change-Id: I92eeb5206e89e5682c928f8d4a5baabe77ea3d89
CRs-Fixed: 2410940
2019-03-07 09:08:15 -08:00
nshrivas
e5cb33a80a Release 5.2.0.124
Release 5.2.0.124

Change-Id: I781f717a21110095b6b24ad13eb124c4c7afecb7
CRs-Fixed: 774533
2019-03-07 05:15:16 -08:00
nshrivas
ecdcf6c866 Release 5.2.0.123Z
Release 5.2.0.123Z

Change-Id: I9034b5baef776891d93ddfd179db7580d0fb4327
CRs-Fixed: 774533
2019-03-07 03:39:25 -08:00
Dustin Brown
6725e27955 qcacld-3.0: Integrate DSC (misc - part 2/3)
As part of DSC integration, replace cds_ssr_protect/unprotect with
appropriate osif_sync op start/stop calls in the miscellaneous
remaining callback handlers.

Change-Id: I0717bab8a9a45625f4bdc8ad97111581e6a66232
CRs-Fixed: 2410916
2019-03-07 03:39:24 -08:00
nshrivas
aefbf2a755 Release 5.2.0.123Y
Release 5.2.0.123Y

Change-Id: I5ba02d83e497e9486d5af81d81a96f937402cf00
CRs-Fixed: 774533
2019-03-07 02:01:43 -08:00
Jeff Johnson
62f2899348 qcacld-3.0: Fix channel avoid frequency list corruption
In wlan_hdd_merge_avoid_freqs() there is a test to determine if the
merged frequency list will exceed the size of the destination buffer,
and if so, the function returns an error. Unfortunately the method to
determine overflow actually modifies the information in the
destination list, and so if the error return occurs the destination
list will contain an incorrect, too large, destination list size.
Address this issue by determining if the list will overflow prior to
modifying the destination list size.

Change-Id: I9ede0bc24c676d6a9ef124d83c36ca9860b847f7
CRs-Fixed: 2410138
2019-03-07 02:01:42 -08:00
Sravan Kumar Kairam
c047d29ff2 qcacld-3.0: Add IPA over GSI support
For IPA WDI3.0 veresion IPA uses GSI FW. So add IPA
over GSI support.

Change-Id: I3ecdb0b365e6004f7694d19ea8165233f00c6335
CRs-Fixed: 2368038
2019-03-07 02:01:37 -08:00
nshrivas
3cc2246899 Release 5.2.0.123X
Release 5.2.0.123X

Change-Id: I6b794a174de25e6b352d00ab3ca2d172e7ce4729
CRs-Fixed: 774533
2019-03-07 00:20:28 -08:00
Nachiket Kukade
15bd4f725e qcacld-3.0: Define WMA callback to update NDI conn info
Unlike other connection types, vdev start parameters for NDI
do not reflect the correct connection information for the
datapath. Once an NDP is established on NDI this info in WMA
needs to be updated accordingly. Define a WMA callback and
use it after NDP confirm and NDP End to update the connection
info for NDI.

Use WMA callback for updating NDI connection info.

Change-Id: Iefb515a751bd3fb5e10610d191bdadaf3a01f59a
CRs-Fixed: 2407153
2019-03-07 00:20:26 -08:00
nshrivas
900f682a80 Release 5.2.0.123W
Release 5.2.0.123W

Change-Id: Ic6890bd88e42a6d0a68d3a8a697ebd0fe33efb9c
CRs-Fixed: 774533
2019-03-06 22:43:27 -08:00
nshrivas
be525bf1fc Release 5.2.0.123V
Release 5.2.0.123V

Change-Id: I83a2e6812f42c70cb199bc576407f05074c47b93
CRs-Fixed: 774533
2019-03-06 16:56:22 -08:00
Jeff Johnson
5ba1df79d3 qcacld-3.0: Use the refined Link Layer Stats Unified API
Change Ifdc1fada55a559f3b3d0837ec20cceb653c45c40 ("qcacmn: Refine the
Link Layer Stats Unified API") is updating the Link Layer Stats
Unified API, so concurrently update the legacy driver to align with
these changes.

Change-Id: Ifd7c8de2358121dae4752525ff57021a32be85d3
CRs-Fixed: 2409294
2019-03-06 16:56:21 -08:00
Abhishek Singh
8f4aa18225 qcacld-3.0: Fix vdev ref leak in P2P-GO during SSR
If P2P-GO is active and SSR happens the vdev ref coount taken
by sap_ctx is not released and this lead to ref count leak.

To fix this release vdev ref count for sap_ctx in
hdd_reset_all_adapters().

Change-Id: Id35247a917f3e0c3e163ea00a7a850cdf28ddd80
CRs-Fixed: 2410121
2019-03-06 16:56:17 -08:00
nshrivas
060df6ed91 Release 5.2.0.123U
Release 5.2.0.123U

Change-Id: If40e25b9b97eada1c912d96cc7b98029e697be2a
CRs-Fixed: 774533
2019-03-06 10:59:51 -08:00
Abhinav Kumar
7a048f72e3 qcacld-3.0: Fix Integer overflow while sending beacon report
sme_ese_send_beacon_req_scan_results sends number of bss description
present in beacon report through bcn_report->numBss. For each
iteration driver could send max 4 BSS. In case if driver has to send
beacon report for more than 4 BSS, It sends 4 BSS per iteration. Once
first four results are sent and bcn_report->numBss is not set to 0,
in next iteration bcn_report->numBss++ start from 4 instead of 0.
This Result in sending value more than 4 instead of 4 for next rest
BSS and leads to Integer overflow for bcn_report->numBss.

Driver should memset beacon_rep buffer for each iteration in order to
prevent Integer overflow of bcn_report->numBss. By this driver
could send fresh beacon report (independent of previous beacon report)
in each iteration.

Fix is to memset beacon_rep buffer to zero after sending beacon
report in each iteration in sme_ese_send_beacon_req_scan_results.

Change-Id: I0d07e54ec7f05e8eef388f9958fad597dc49873e
CRs-Fixed: 2408834
2019-03-06 10:59:50 -08:00
Srinivas Girigowda
3a5c66f808 qcacld-3.0: Remove obsolete ARRAY_LENGTH macro
Remove obsolete ARRAY_LENGTH macro.

Change-Id: Ibe8400fa52770ed953a65076300a0d722e7fb175
CRs-Fixed: 2409265
2019-03-06 10:59:41 -08:00
Sandeep Puligilla
3746d5db95 qcacld-3.0: Enable vdev manager support for LFR3.0
Enable vdev manager support for LFR3.0

Change-Id: I5e8a420eadd98786fe43d7d6e60980209f7a42e1
CRs-Fixed: 2405842
2019-03-06 10:59:37 -08:00
Abhinav Kumar
cd737decf2 qcacld-3.0: Allow roam invoke while FASTREASSOC
While handling userspace-directed re-association, driver
checks for flag "supplicant_disabled_roaming" before sending
roam invoke command after connection. Currently, the value of
supplicant_disabled_roaming is getting updated by value comes
through vendor command QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY.
In case if roaming does not get enabled using vendor command
in __wlan_hdd_cfg80211_set_fast_roaming, driver rejects
fast re-association cmd. This leads to roaming failure.

Fix is to allow roam invoke command irrespective of flag
"supplicant_disabled_roaming" and send csr_roam_offload_scan
with reason REASON_SUPPLICANT_DISABLED_ROAMING instead of
REASON_DISCONNECTED while processing FASTREASSOC command.

Change-Id: Iee55fff8dd9445a2fb2b96a244f59a763f207dd5
CRs-Fixed: 2408861
2019-03-06 10:59:32 -08:00
Pragaspathi Thilagaraj
1d8e2ab528 qcacld-3.0: Replace typedef bss_description
Host driver code has several instances of struct bss_description
that is type defined to tSirBssDescription, *tpSirBssDescription
This goes against the linux coding style. This change replaces
tpSirBssDescription with struct bss_description *.

Also Linux Coding Style doesn't welcome mixed-case names. So
cleanup some mixed-case variable names as well.

This change should be followed by changes to replace
typedef tSirBssDescription also ultimately.

Change-Id: Ic6fa2d5c7db0d0c1fe4be1096d416295dcb83779
CRs-Fixed: 2409129
2019-03-06 10:59:28 -08:00
nshrivas
2de111a81c Release 5.2.0.123T
Release 5.2.0.123T

Change-Id: Iff94ce7d3218cd952cf9408463079aff7b15294a
CRs-Fixed: 774533
2019-03-06 06:51:09 -08:00
Srinivas Girigowda
bcb988e398 qcacld-3.0: Remove #ifdef FIXME_GEN6 and obsolete enums
In the function lim_msg_str(), obsolete FIXME_GEN6 compilation macro
is still present and since this compile flag is not enabled,
this function always return "" which results in incorrect logs.

Fix is to remove this obsolete compile macro and also some of the
obsolete enums.

Change-Id: I1f147ff1e9f9c13683e38892007250f965b40407
CRs-Fixed: 2410145
2019-03-06 06:51:08 -08:00
Varun Reddy Yeturu
ff4c998846 qcacld-3.0: Fix WEP functionality in converged set key
Fix WEP security mode issues in converged set key

Change-Id: I8b60e19af1cc1ede9a34cb244de4c8859094ddec
CRs-Fixed: 2400861
2019-03-06 06:51:04 -08:00
Arun Kumar Khandavalli
f1f6592094 qcacld-3.0: Add support for specifying ethernet protocol type
Add support for vendor attribute which givies provision to
specify the ethernet protocol id from userspace to the packets
which are offloaded to the driver/firmware (e.g., IPv4, IPv6).

Change-Id: I543cbe63c6daa43427c7f207c42c667525dc6dcd
CRs-Fixed: 2398207
2019-03-06 06:50:59 -08:00
Jayachandran Sreekumaran
91f96ec753 qcacld-3.0: Send preferred channel list with weight
Send preferred channel list with weight value and a flag
to indicate how the channels should be used in P2P
negotiation process.

Change-Id: Ia48d4f935547c802e78dfdc418fe39031fa43ba5
CRs-Fixed: 2405331
2019-03-06 06:50:55 -08:00
nshrivas
345436a8d5 Release 5.2.0.123S
Release 5.2.0.123S

Change-Id: If36057865966dba0e84ba7bb15cf89bb1b1601f6
CRs-Fixed: 774533
2019-03-06 05:06:21 -08:00
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