Commit Graph

10927 Commits

Author SHA1 Message Date
Ajit Pal Singh
5d269618d5 qcacld-3.0: Populate legacy flow control ops for HL
1) Populate legacy flow control ops 'cdp_lflowctl_ops'
for HL netdev flow control.
2) Also call cdp_hl_fc_register() to register HL flow control
callback.
3) Increase number of netdev queues to 5

Change-Id: I6bdb015b3325e54386f2aad093c89f6f782c24ed
CRs-fixed: 2236321
2018-06-26 01:35:35 -07:00
nshrivas
6e18516d85 Release 5.2.0.85F
Release 5.2.0.85F

Change-Id: I12e05da166f2b66798c31609627f372b69a7d6cc
CRs-Fixed: 774533
2018-06-25 23:52:53 -07:00
Jeff Johnson
d549efa633 qcacld-3.0: Use mac_handle_t in wlan_hdd_ioctl
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_ioctl to use the new naming.

Change-Id: I5b6a062e02dc6db387c0a4e4cc363cdac7013f45
CRs-Fixed: 2267221
2018-06-25 23:52:52 -07:00
Rachit Kankane
95f3158770 qcacld-3.0: Disable features for Genoa
Disable all those features which are not required for GENOA IOT

Change-Id: I9aaf36b4aa632ab44de85e0da00081fded31ad91
CRs-Fixed: 2266976
2018-06-25 23:52:46 -07:00
nshrivas
f8b05e2874 Release 5.2.0.85E
Release 5.2.0.85E

Change-Id: I90bdd714fad2cf6c4eaf5608ecdeba98e56cdf5d
CRs-Fixed: 774533
2018-06-25 22:31:19 -07:00
Jeff Johnson
89a0c74c9b qcacld-3.0: Use mac_handle_t in wlan_hdd_hostapd
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_hostapd to use the new naming.

Change-Id: I63b3bc8017de7f73a09599f9e8c9ef41009d6bc6
CRs-Fixed: 2267151
2018-06-25 22:31:19 -07:00
nshrivas
56a38b34f2 Release 5.2.0.85D
Release 5.2.0.85D

Change-Id: I31217d7700e5be4ffb3828967b8e97bad3930cfd
CRs-Fixed: 774533
2018-06-25 21:19:03 -07:00
Jeff Johnson
2954dedb2d qcacld-3.0: Use mac_handle_t in wlan_hdd_power
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_power to use the new naming.

Change-Id: I6729766eda0b6dc31d62028a8552c9fa9d7ce4f0
CRs-Fixed: 2267218
2018-06-25 21:19:03 -07:00
nshrivas
ba7feddb50 Release 5.2.0.85C
Release 5.2.0.85C

Change-Id: Id4ece5014f266403e3414a21b098d7955a66250b
CRs-Fixed: 774533
2018-06-25 19:54:02 -07:00
Jeff Johnson
cbbc78f93c qcacld-3.0: Use mac_handle_t in wlan_hdd_wmm
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_wmm to use the new naming.

Change-Id: I225c7b62b2b104941564856b3ed1ee20e3a8e1cd
CRs-Fixed: 2267123
2018-06-25 19:54:01 -07:00
Jeff Johnson
34fc63ab8d qcacld-3.0: Use mac_handle_t in wlan_hdd_cfg80211
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_cfg80211 to use the new naming.

Change-Id: Ia9a7014db052c46ee16d2cb834b46a0b7afafeee
CRs-Fixed: 2267223
2018-06-25 19:53:58 -07:00
Jeff Johnson
cec6e923a5 qcacld-3.0: Use mac_handle_t in wlan_hdd_wext
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_wext to use the new naming.

Change-Id: I3cabec634252453b33c8f480ba785cc739e872df
CRs-Fixed: 2267115
2018-06-25 19:53:55 -07:00
nshrivas
1b32bad189 Release 5.2.0.85B
Release 5.2.0.85B

Change-Id: Id6e7898edce0d6afea6801e37721c99a9b5b6af8
CRs-Fixed: 774533
2018-06-25 15:54:53 -07:00
Dustin Brown
662f48b2a2 qcacld-3.0: Initialize all completion vars for SAP vdevs
Because a SAP vdev can be repurposed as a station adapter, there is a
case where a station vdev that was created as a SAP vdev will try to
access uninitialized completion variables. As these members are directly
attached to the adapter struct, always initialize them, regardless of
the vdev type at time of creation.

Change-Id: Ifc14ec677ffa76551e55fe982a58df21d430d6c6
CRs-Fixed: 2266419
2018-06-25 15:54:53 -07:00
nshrivas
a19536fb16 Release 5.2.0.85A
Release 5.2.0.85A

Change-Id: Ifd268f2dd9e6771bba5b60966cc0d18f4bece11b
CRs-Fixed: 774533
2018-06-25 14:12:48 -07:00
Nirav Shah
23054cfb6d qcacld-3.0: Use only 2 copy engine for RFS in Genoa
Use only 2 copy engine channels for RFS in QCN7605
(Genoa) if IPA is enabled.

Change-Id: Iabc1c21960807c707b2c9c2ad66d2e426dcb38ab
CRs-Fixed: 2265172
2018-06-25 14:12:47 -07:00
Abhinav Kumar
db3c6f57e3 qcacld-3.0: Fix out-of-bounds access in lim_process_assoc_req_frame
Currently the function lim_process_assoc_req_frame uses frame_len
without validation to parse the IE buffer which could lead to
out-of-bounds memory access if the frame_len is less than or
equal to LIM_ASSOC_REQ_IE_OFFSET(4).

Add check to validate the frame_len with LIM_ASSOC_REQ_IE_OFFSET
before sending (frame_len - LIM_ASSOC_REQ_IE_OFFSET) to
cfg_get_vendor_ie_ptr_from_oui to parse only the IE buffer.

Change-Id: Iaa9e8db4a2605169c9ad3904878a2e626eb6de8b
CRs-Fixed: 2259707
2018-06-25 14:12:45 -07:00
nshrivas
41721b79f8 Release 5.2.0.85
Release 5.2.0.85

Change-Id: I4d3de98263738989c2f206923d8f2dfac147c807
CRs-Fixed: 774533
2018-06-25 12:41:08 -07:00
Jeff Johnson
13386da460 qcacld-3.0: Fix csr_is_pmf_capabilities_in_rsn_match() param
Currently csr_is_pmf_capabilities_in_rsn_match() takes a tHalHandle
context param.  However csr is internal to the UMAC, and hence it
should be using the "real" context pointer type tpAniSirGlobal instead
of the opaque reference tHalHandle, so update the API to expect
tpAniSirGlobal.

Change-Id: Ie13e86dac694bc1c17305f12aeb817387cc7c4bd
CRs-Fixed: 2266509
2018-06-25 12:41:07 -07:00
Jeff Johnson
3f9d9fbcd0 qcacld-3.0: Fix csr_is_bss_description_wme() context param
Currently csr_is_bss_description_wme() takes a tHalHandle context
param.  However csr is internal to the UMAC, and hence it should be
using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalHandle, so update the API to expect
tpAniSirGlobal.

Change-Id: I2812f57e57a06a71a81bee20773587fa99189e40
CRs-Fixed: 2266506
2018-06-25 12:41:04 -07:00
Jeff Johnson
2ef47449f6 qcacld-3.0: Fix sme_unprotected_mgmt_frm_ind() context param
Currently sme_unprotected_mgmt_frm_ind() takes a tHalHandle context
param.  However this is a static function, and hence it should be
using the "real" context pointer type tpAniSirGlobal instead of the
opaque reference tHalHandle, so update the API to expect
tpAniSirGlobal.

Change-Id: I552cade9adf0bdc7a9cf38c76cd8786548dc7011
CRs-Fixed: 2266505
2018-06-25 12:41:01 -07:00
Jeff Johnson
711fe948c4 qcacld-3.0: Fix param to rrm_change_default_config_param()
Currently in sme_update_config() the call to
rrm_change_default_config_param() is passing a mac_handle_t instead of
a tpAniSirGlobal. Change the call to pass the correct parameter.

Change-Id: I1490e3f491c1c8539acc0054343263366fb8bfca
CRs-Fixed: 2266503
2018-06-25 12:40:57 -07:00
Jeff Johnson
f86cac17cc qcacld-3.0: Pass correct param to sme_ps_start_uapsd()
Currently in multiple places calls to sme_ps_start_uapsd() are passing
a tpAniSirGlobal instead of a mac_handle_t. Change these calls to pass
the correct parameter.

Change-Id: I9cd30be8eb237423cb621b390be2bbc75ecebb92
CRs-Fixed: 2266502
2018-06-25 12:40:54 -07:00
nshrivas
d7e010020e Release 5.2.0.84Z
Release 5.2.0.84Z

Change-Id: I351b585ae121f7981b6cd57d0cf29964f733e29c
CRs-Fixed: 774533
2018-06-25 11:28:41 -07:00
Jeff Johnson
0a38afe444 qcacld-3.0: Pass correct param to sme_get_config_param()
Currently in sme_get_channel_bonding_mode5_g() and
sme_get_channel_bonding_mode24_g() the calls to sme_get_config_param()
are passing a tpAniSirGlobal instead of a tHalHandle. Change these
calls to pass the correct parameter.

Change-Id: I1fc1b357f96d29babc2bb8439b924fbd1fb74b62
CRs-Fixed: 2266455
2018-06-25 11:28:40 -07:00
nshrivas
74437a0b26 Release 5.2.0.84Y
Release 5.2.0.84Y

Change-Id: I4ac4b592eedb0c46e1358723c99b683b1d5703f8
CRs-Fixed: 774533
2018-06-25 10:02:21 -07:00
Bala Venkatesh
b39ed1597e qcacld-3.0: Update nw_type of pe session when switching channel
In peer assoc command, the phy mode of peer is updated based on
the nw_type of pe session. So this value should accordingly as per
the new channel.

Change-Id: Ib596cb343f239456aba688b2b5ea7b19b3034a66
CRs-Fixed: 2161043
2018-06-25 10:02:21 -07:00
Lin Bai
7d83a64f4c qcacld-3.0: Configure num_vdevs for FTM mode
Recent num_vdevs configuration change involved the regression,
that num_vdevs in FTM mode isn't configured, and default 0 interface
allowed. This is blocking FTM initialized.

Though no vdev required for FTM, here use INI configuration
to bypass check as well.

CRs-Fixed: 2266815
Change-Id: I019814fb2c37f1f9b5922545769761bed7a0da52
2018-06-25 10:02:16 -07:00
nshrivas
fd0d832ac8 Release 5.2.0.84X
Release 5.2.0.84X

Change-Id: I6589aa00deaa02a431a770c807267a754b7fcdbf
CRs-Fixed: 774533
2018-06-25 06:31:47 -07:00
Ashish Kumar Dhanotiya
e533f6cdf1 qcacld-3.0: Return success on same MAC address change
Currently if the set mac adderess command comes, driver is
returning failure if any of the interface is using the MAC
address given in the command.
Return success if the same MAC address is passed in the command
for the same interface which is using this MAC currently.

Change-Id: Iaab6109aa015b6be525eba2bacbe05c3c796e033
CRs-Fixed: 2266755
2018-06-25 06:31:47 -07:00
nshrivas
f80f39e026 Release 5.2.0.84W
Release 5.2.0.84W

Change-Id: I85db21dee3d4de4c0a2c0266533ddb0ee149e2b6
CRs-Fixed: 774533
2018-06-25 04:55:53 -07:00
Sriram Madhvapathi
b1a791c99a qcacld-3.0: Abstract SDIO block size
Do not tie up names with mailbox.
This results from SDIO HIF refactoring.
See qcacmn: I12bdf8b07350411093ba35071411525a8333cf93

Change-Id: I99184fbfc95a601f09dba5891098c35d5aa794c5
CRs-Fixed: 2252448
2018-06-25 04:55:52 -07:00
nshrivas
fab4696184 Release 5.2.0.84V
Release 5.2.0.84V

Change-Id: Ia33ccabfdc39b4d3d732951f3d8ddc47813d2135
CRs-Fixed: 774533
2018-06-24 16:10:03 -07:00
Hanumanth Reddy Pothula
04bad8fa9d qcacld-3.0: Resolve possible OOB issue while processing start_bss
Presently, while processing start_bss, after retrieving WPS IE from
the beacon frame, 15th byte of WPS IE is accessed to get WPS state,
without confirming IE length holds that much minimum length to access.

Before accessing 15th byte(WPS state) of WPS IE, make sure IE length
holds minimum length to access it.

Change-Id: Ic00c700a1fbf88183b8b2d834c9700b538700ce7
CRs-Fixed: 2239164
2018-06-24 16:10:03 -07:00
nshrivas
5f80f479e4 Release 5.2.0.84U
Release 5.2.0.84U

Change-Id: Ia08edc8816c64431851fd3f97c901cdecdce6c60
CRs-Fixed: 774533
2018-06-24 11:58:48 -07:00
Jeff Johnson
ac99e473cd qcacld-3.0: cds: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the cds folder.

Change-Id: I689e80fefa0068980a2bf78d2eff13d0892f8d95
CRs-Fixed: 2266521
2018-06-24 11:58:47 -07:00
nshrivas
3379facfc3 Release 5.2.0.84T
Release 5.2.0.84T

Change-Id: Ide6307a5fdb9c58fa025794ad2a4fa54558e4344
CRs-Fixed: 774533
2018-06-24 10:16:59 -07:00
Jeff Johnson
6dca9b3421 qcacld-3.0: Use mac_handle_t in wlan_hdd_clear_link_layer_stats
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern name
for what was previously called the tHalHandle. Subsequently change
"qcacld-3.0: Use mac_handle_t in wlan_hdd_stats" transitioned
wlan_hdd_stats to use the new naming. But while that change was in the
pipeline a new instance of tHalHandle was added. So now transition the
instance recently added to wlan_hdd_clear_link_layer_stats().

Change-Id: I2d17c729a92eb5c545b829fc6699e34233116f94
CRs-Fixed: 2266545
2018-06-24 10:16:58 -07:00
nshrivas
bc2e6ec14e Release 5.2.0.84S
Release 5.2.0.84S

Change-Id: Ic9e02629b3d34d2846094ed7519fcf0c8a1e7ade
CRs-Fixed: 774533
2018-06-23 22:10:18 -07:00
Wu Gao
ae38aeda71 qcacld-3.0: Do not clear session id
No valid channel found when DUT as P2P GO and radar signal detected,
stop ap and then up layer start ap again, session id of adapter
changed to invalid since session id of sap context is invalid and
passed to adapter in hdd_hostapd_sap_event_cb with event
eSAP_START_BSS_EVENT. So, do not clear session id of sap context for
stopping ap due to invalid channel case.

Change-Id: I3d60ae9b4ec8223dff26ffd9078b31e02bf29ba2
CRs-Fixed: 2257932
2018-06-23 22:10:18 -07:00
nshrivas
c3c01d8dd6 Release 5.2.0.84R
Release 5.2.0.84R

Change-Id: I7577f965875b9ee1471fcf875a5dd72a31e8b5ea
CRs-Fixed: 774533
2018-06-23 14:19:42 -07:00
Jeff Johnson
daa7cd9475 qcacld-3.0: Use mac_handle_t in wlan_hdd_cfg
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_cfg to use the new naming.

Change-Id: Ib3a9d26cb8966b52b71e97d7b9fb8f2cca9ed916
CRs-Fixed: 2266499
2018-06-23 14:19:41 -07:00
Jeff Johnson
792c83bd6c qcacld-3.0: Use mac_handle_t in wlan_hdd_ext_scan
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_ext_scan to use the new naming.

Change-Id: I69f8a76ae798ed00953727b7687f53506acd22d3
CRs-Fixed: 2266498
2018-06-23 14:19:37 -07:00
nshrivas
8da43a2f3c Release 5.2.0.84Q
Release 5.2.0.84Q

Change-Id: Icc80583265a7f1c8fe708fca3dd4cb04fb40a643
CRs-Fixed: 774533
2018-06-23 12:33:45 -07:00
Jeff Johnson
d3c51e9d2d qcacld-3.0: sys: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac sys folder.

Change-Id: Ia1d4a570b7c79ea2bd0ad5f82d287c48f73051b9
CRs-Fixed: 2266497
2018-06-23 07:04:39 -07:00
nshrivas
c00e9f9eb6 Release 5.2.0.84P
Release 5.2.0.84P

Change-Id: I35c714906bf33ff1e6b0a92a98176a1884b59d7d
CRs-Fixed: 774533
2018-06-23 03:47:14 -07:00
Jeff Johnson
4d243e60c7 qcacld-3.0: dph: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac dph folder.

Change-Id: I150e024f9b764547267dc8b4673a95e3366c6b70
CRs-Fixed: 2266147
2018-06-22 22:25:15 -07:00
nshrivas
6294193055 Release 5.2.0.84O
Release 5.2.0.84O

Change-Id: I9c107f1d4816daa370ef4766105e21bc6f4d912a
CRs-Fixed: 774533
2018-06-22 22:19:14 -07:00
Jeff Johnson
a9089303f4 qcacld-3.0: pe: nan: Replace tSirRetStatus with QDF_STATUS
The tSirRetStatus definitions are obsolete, so replace them with
QDF_STATUS definitions in the mac pe/nan folder.

Change-Id: I762d963f5c19f797b9fe0bc933368d4d700de7b3
CRs-Fixed: 2266394
2018-06-22 22:19:13 -07:00
Jeff Johnson
f7187f24e1 qcacld-3.0: Use mac_handle_t in wlan_hdd_assoc
Change "qcacld-3.0: Introduce mac_handle_t" introduced a modern
name for what was previously called the tHalHandle. Transition
wlan_hdd_assoc to use the new naming.

Change-Id: I33e58d6c51124036d00e37fa3018379b7f99105a
CRs-Fixed: 2266433
2018-06-22 22:19:09 -07:00