Commit Graph

15054 Commits

Author SHA1 Message Date
Dustin Brown
98f7c82f7d qcacld-3.0: Integrate DSC (misc - part 1/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: I1091eeaf39e37592c79dd33fc1db92aec63c54b9
CRs-Fixed: 2410909
2019-03-11 14:20:42 -07:00
Dustin Brown
4376fedf86 qcacld-3.0: Integrate DSC (cfg80211)
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
with appropriate osif_sync op start/stop calls in cfg80211 callback
handlers.

Change-Id: Ie5c513e8ca51668d0ac7e2972e6db1556057f314
CRs-Fixed: 2410851
2019-03-11 14:20:36 -07:00
nshrivas
d74a5dfc39 Release 5.2.0.124Z
Release 5.2.0.124Z

Change-Id: I5ca685f7f8a50fe3a3c5699e9a666010282b4678
CRs-Fixed: 774533
2019-03-11 12:45:30 -07:00
Ajit Pal Singh
e6da1de6c4 qcacld-3.0: Refactor/correct usage of flow control stats
Correct flow control usage of stats in hdd_tx_resume_cb() and
wlan_hdd_mod_fc_timer()

Change-Id: I2efd145332f79f058f367bef21a4d22cb52e927d
CRs-Fixed: 2373789
2019-03-11 12:45:30 -07:00
nshrivas
68c624093a Release 5.2.0.124Y
Release 5.2.0.124Y

Change-Id: I22843dba0ec6deb95ba8f3ef111813adcd2ccdd7
CRs-Fixed: 774533
2019-03-11 11:14:28 -07:00
Ajit Pal Singh
f9a4a38bcf qcacld-3.0: Remove flag CONFIG_PER_VDEV_TX_DESC_POOL
Remove flag CONFIG_PER_VDEV_TX_DESC_POOL.
Legacy per vdev flow control implementation under
CONFIG_PER_VDEV_TX_DESC_POOL was never used in cld3.0 driver.
For a Genoa a new per vdev flow control implementation for HL systems,
was added under the flag QCA_HL_NETDEV_FLOW_CONTROL.
Hence remove CONFIG_PER_VDEV_TX_DESC_POOL and replace it with
QCA_HL_NETDEV_FLOW_CONTROL or QCA_LL_LEGACY_TX_FLOW_CONTROL whereever
applicable.

Change-Id: Ibdf88e60cff7d3be46924ce7605f468781b5b856
CRs-Fixed: 2373790
2019-03-11 11:14:27 -07:00
nshrivas
ee3ba7889a Release 5.2.0.124X
Release 5.2.0.124X

Change-Id: I13da07514c0d347edb6a0519548cb46c86cb77ad
CRs-Fixed: 774533
2019-03-11 09:18:27 -07:00
Yeshwanth Sriram Guntuka
6125b515d4 qcacld-3.0: Increase default value of bmps timer to 600secs
CBF report is not sent as response to NDPA frames
sent by AP when STA goes to powersave. This is
resulting in VHT-5.2.63A cert test case failure,
where pass criteria is to check the last CBF frame
from STA.

Fix is to increase default value of bmps timer to
600secs.

Change-Id: Ibca5fe0af0be22f0bef463a5b4d11d617ac4391b
CRs-Fixed: 2412177
2019-03-11 09:18:26 -07:00
nshrivas
ff4a9956ab Release 5.2.0.124W
Release 5.2.0.124W

Change-Id: I18151e8f768faf669c80244870678d3a097ac1e2
CRs-Fixed: 774533
2019-03-11 07:46:54 -07:00
Jingxiang Ge
45a2433bca qcacld-3.0: Fix camelCase for sessionId in t_packetmeta
Replace sessionId with session_id in t_packetmeta.

Change-Id: I041d25a5a5f61dd65fea25d41fa11d6456e4e88f
CRs-Fixed: 2413150
2019-03-11 07:46:54 -07:00
nshrivas
d5e4819cd5 Release 5.2.0.124V
Release 5.2.0.124V

Change-Id: I8b05fcd7d6ad6320a3ab230bbbf47d05d7204caa
CRs-Fixed: 774533
2019-03-11 04:47:47 -07:00
Bala Venkatesh
f28679097c qcacld-3.0: Take vdev ref only if vdev is not NULL
In functions ucfg_tdls_update_rx_pkt_cnt and
ucfg_tdls_update_tx_pkt_cnt, driver tries
to get the vdev ref, even if it is NULL.
This can result in assert.

Change-Id: I62b3a9b088324e06518e82203092a2ac9098ac13
CRs-Fixed: 2412095
2019-03-11 04:47:47 -07:00
bings
285b898a04 qcacld-3.0: Call dot11f_unpack_ie_rsn only for RSN IE
In lim_send_mlm_assoc_ind, wpa information may be copied to rsnIEdata.
So before calling dot11f_unpack_ie_rsn for rsnIEdata in the function
csr_roam_chk_lnk_assoc_ind, make sure the element id is RSN IE.

dot11f_unpack_ie_rsn returns failure for rsnIEdata if it contains
WPA information, then WPA connection fails.

Change-Id: I602a47326d452f33ba589a9cc99f59ce443d3162
CRs-Fixed: 2406444
2019-03-11 04:47:41 -07:00
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