Граф коммитов

14885 Коммитов

Автор SHA1 Сообщение Дата
gaurank kathpalia
6c4b50c28d qcacld-3.0: Accept update nss command in disconnected state
Currently if the FW supports the dynamic nss update feature,
the driver rejects the command to change the nss, but
there can be case scenarios where this update is required.

Fix is to accept the command in disconnected state, and
update the vdev specific ini of nss, and also update the
ini, and dynamic configuration in vdev mlme obj, which
is used in dynamic nss update.

Change-Id: I9cfa7f112159148733f06bf479987928f112901f
CRs-Fixed: 2404262
2019-03-04 14:22:21 -08:00
nshrivas
56eb33ff69 Release 5.2.0.123K
Release 5.2.0.123K

Change-Id: Ie898b974d0a4d8cc0c4ac1b2774fc1b5c4159881
CRs-Fixed: 774533
2019-03-04 12:55:34 -08:00
Kiran Kumar Lokere
9df090b79c qcacld-3.0: Fix issue with channel bonding configuration
Set the correct channel bonding parameter with user configured
value to enable/disable the channel bonding mode.

Change-Id: I38ff74fd5a1786a1446f36ca619a929c84f9446a
CRs-Fixed: 2394522
2019-03-04 12:55:33 -08:00
nshrivas
8dae4d160a Release 5.2.0.123J
Release 5.2.0.123J

Change-Id: I00bc9879465d4aca7ff56d937b90cc50ca03f433
CRs-Fixed: 774533
2019-03-04 11:18:06 -08:00
Pragaspathi Thilagaraj
974c27e69c qcacld-3.0: Fix compilation with WLAN_FEATURE_ROAM_OFFLOAD disabled
When LFR3 compile time flag WLAN_FEATURE_ROAM_OFFLOAD is
disabled, compilation of wlan driver fails as btk_key is defined
under WLAN_FEATURE_ROAM_OFFLOAD but sme_add_key_btk tries to
access this value irrespective of the compile time flag.

As the caller of sme_add_key_btk, calls this only if the
function hdd_is_btk_enc_type returns true and this function
hdd_is_btk_enc_type() is conditionally compiled based on
WLAN_FEATURE_ROAM_OFFLOAD, its better to include sme_add_key_btk
only if WLAN_FEATURE_ROAM_OFFLOAD is enabled.

Change-Id: I51315ed3bff8979120b86f75c06362a1c8a5658c
CRs-Fixed: 2408418
2019-03-04 11:18:05 -08:00
nshrivas
33b7f0aacb Release 5.2.0.123I
Release 5.2.0.123I

Change-Id: I44b5b9fccfefb1b0624cfa476f810841f0a15ec6
CRs-Fixed: 774533
2019-03-04 07:30:10 -08:00
Jingxiang Ge
e468bbdada qcacld-3.0: Fix use after free for txrx_vdev_handle
In wma_vdev_attach, if peer failed to create, it will detach
vdev, but without reset txrx_vdev_handle to NULL, so vdev
is still used in cdp_data_tx_cb_set.

Reset txrx_vdev_handle to NULL in wma_vdev_attach if create peer
fails.

Change-Id: Ie3963625ed7206eb1737f5820ec58d84f2ca9084
CRs-Fixed: 2407717
2019-03-04 07:30:09 -08:00
Jianmin Zhu
899cbed508 qcacld-3.0: Fix chmap List miss home channel during LFR3
During LFR3, Driver neighbor roam state keeps
eCSR_NEIGHBOR_ROAM_STATE_CONNECTED, don't enter
eCSR_NEIGHBOR_ROAM_STATE_INIT, no chance to call
csr_init_occupied_channels_list, so when candidate AP changes,
can't update in occupied channnels list.

Change-Id: Iadf60a013acbac3770108b4abcdc3d5b404daaf5
CRs-Fixed: 2406298
2019-03-04 07:30:05 -08:00
nshrivas
ce3c603ac7 Release 5.2.0.123H
Release 5.2.0.123H

Change-Id: Ibe71bd8ea10b28e271182d843ae48a2aa7b54fcf
CRs-Fixed: 774533
2019-03-03 22:24:51 -08:00
Jianmin Zhu
9030831d48 qcacld-3.0: Fix SSR failure on Rome
Peer and vdev leaked during SSR, Helium/Rome SSR is different.
Helium:
FW assert will indicate to CNSS driver, then PLD_FW_DOWN
is sent, in wlan_hdd_pld_uevent, target ready is cleared and
RECOVERING is set, so wma_force_objmgr_vdev_peer_cleanup can be
called, no such issue.
Rome:
FW assert will indicate to wlan driver directly, in
ol_target_failure, only RECOVERING is set, target ready isn't
cleared, wma_force_objmgr_vdev_peer_cleanup can't be called,
so peer and vdev leaked.

Change-Id: I6ecf6cc439f931d8da67972c543376b2148982af
CRs-Fixed: 2403501
2019-03-03 22:24:50 -08:00
nshrivas
7e32b73048 Release 5.2.0.123G
Release 5.2.0.123G

Change-Id: Ia6df62e74c90a6d53ffdd6cf5ce505171e3df5bb
CRs-Fixed: 774533
2019-03-03 05:03:44 -08:00
Ashish Kumar Dhanotiya
5d2f25a1c4 qcacld-3.0: Fix OOB read in hdd_populate_wifi_signal_info
While handling ll stats information there is a possibility
of OOB read in hdd_populate_wifi_signal_info api as
FW is giving num_chan info as uint_32 and host has
saved into int_32 type variable which may lead to an
extremely large positive number which is getting used as
index of for loop to populate signal info in skp which may
lead to OOB read.

Change-Id: I032eb465db30ee9e3a7ba0c4f017ed781264c47d
CRs-fixed: 2383605
2019-03-03 05:03:44 -08:00
gaurank kathpalia
f880346d29 qcacld-3.0: Remove unused mcc to scc switch enums
Currently the driver accepts the values of 1,2
for MCC to SCC switch , which does not take effect
as they are not used in the sap switch channel,
thus the same are of no use.

Fix is to cleanup these as they are of no use, and
do not give the desired output too.

Change-Id: I604d83aa59735362828266584220016aac124b1a
CRs-Fixed: 2404563
2019-03-03 05:03:40 -08:00
nshrivas
3aae928583 Release 5.2.0.123F
Release 5.2.0.123F

Change-Id: Ie1cf9f048b84f2e117f665a4dfb10a74908bc4ef
CRs-Fixed: 774533
2019-03-03 00:54:20 -08:00
Jeff Johnson
d8a3546962 qcacld-3.0: Rename HDD variable seqNo
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable seqNo to be compliant.

Change-Id: If2f897ffe65aabac96616e844b424d58b3eb267d
CRs-Fixed: 2408057
2019-03-03 00:54:20 -08:00
nshrivas
77f5fecf20 Release 5.2.0.123E
Release 5.2.0.123E

Change-Id: I115d43c5b45d8f1236c16b3041db7547289358b2
CRs-Fixed: 774533
2019-03-02 23:25:33 -08:00
Jeff Johnson
2d04461839 qcacld-3.0: Rename HDD variable peerMacAddr
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable peerMacAddr to be compliant.

Change-Id: I0f3cf3bd7b2a7a5d0da2c374ce1e2bdb0d7cac09
CRs-Fixed: 2408056
2019-03-02 23:25:32 -08:00
Jeff Johnson
210bc97440 qcacld-3.0: Rename HDD variable eseBcnReq
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable eseBcnReq to be
compliant.

Change-Id: Ie09dcfaf5ee4d7ba5502f7b240bdc5551dc184be
CRs-Fixed: 2408054
2019-03-02 23:25:28 -08:00
Jeff Johnson
3972e0d615 qcacld-3.0: Rename HDD variable uActionPeriod
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable uActionPeriod to be
compliant.

Change-Id: I9aee7d6d943f687644eec10dd051f79132b919bf
CRs-Fixed: 2408055
2019-03-02 23:25:24 -08:00
nshrivas
6837f0cd36 Release 5.2.0.123D
Release 5.2.0.123D

Change-Id: I02f3c906dd3fe703d3df8971d43b19e486bd380f
CRs-Fixed: 774533
2019-03-02 21:48:24 -08:00
Jeff Johnson
af5283f52c qcacld-3.0: Rename HDD variable uRate
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable uRate to be
compliant.

Change-Id: I8e43031577a2aac24b3b31de9e8d289d1f641927
CRs-Fixed: 2408053
2019-03-02 21:48:24 -08:00
Jeff Johnson
f8a0b8f216 qcacld-3.0: Rename HDD variable ucRmcEnable
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable ucRmcEnable to be
compliant.

Change-Id: If63d925ba196fc33e3d7afa3bc53a9320db71c54
CRs-Fixed: 2408052
2019-03-02 21:48:20 -08:00
Jeff Johnson
cd361c9700 qcacld-3.0: Rename HDD variable tempInt
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable tempInt to be compliant.

Change-Id: I2048384d50d1dcdbeaa870cc582b8dc91853aec4
CRs-Fixed: 2408051
2019-03-02 21:48:15 -08:00
Jeff Johnson
72f498b87b qcacld-3.0: Rename HDD variables tempByte and tempBuf
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variables tempByte and tempBuf to be compliant.

Change-Id: Ib5ee8a312616da08d61af66e6ae51a6d11d4e4c9
CRs-Fixed: 2408050
2019-03-02 21:48:11 -08:00
Jeff Johnson
ecdf83b8c6 qcacld-3.0: Rename HDD variable pVendorSpecific
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pVendorSpecific to be
compliant.

Change-Id: I2aefa76f9fdf02dbac109e568b89cf0e8606fd6f
CRs-Fixed: 2408049
2019-03-02 21:48:07 -08:00
Jeff Johnson
2971e3a896 qcacld-3.0: Rename HDD variable Oui
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable Oui to be compliant.

Change-Id: I4ba5add83e227d73e334488d5ced97fa32b6f066
CRs-Fixed: 2408048
2019-03-02 21:48:03 -08:00
Jeff Johnson
7964a116bf qcacld-3.0: Rename HDD variable ibssModifyIE
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable ibssModifyIE to be compliant.

Change-Id: I6e04ac7c32d10e99da4ea0ba80685fa365ce48d9
CRs-Fixed: 2407330
2019-03-02 21:47:59 -08:00
Jeff Johnson
c3eac6ccd6 qcacld-3.0: Rename HDD variable pNumChannels
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pNumChannels to be
compliant.

Change-Id: If1b27fd188eebd48a3155d57effe27b5c6b00559
CRs-Fixed: 2407329
2019-03-02 21:47:55 -08:00
Jeff Johnson
8a2e1da1d9 qcacld-3.0: Rename HDD variables ChannelList and numChannels
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variables ChannelList and numChannels to be compliant.

Change-Id: I5fe27f96d2e4cb41a488e6a3a8cc8a52be008755
CRs-Fixed: 2407328
2019-03-02 21:47:51 -08:00
Jeff Johnson
76e335b13b qcacld-3.0: Refine hdd_parse_user_params()
Currently hdd_parse_user_params() has a few places where it is not
compliant with the Linux coding style, so refine the code.

Change-Id: Ic18e1dfd82e4a8d820fb871801ead464bc146d04
CRs-Fixed: 2407327
2019-03-02 21:47:47 -08:00
Jeff Johnson
aae00aed24 qcacld-3.0: Rename HDD variable dataEnd
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable dataEnd to be compliant.

Change-Id: If3f44f677eb14849b0935463f7fa0d05565028b3
CRs-Fixed: 2407326
2019-03-02 21:47:44 -08:00
Jeff Johnson
5f3a612bab qcacld-3.0: Rename HDD variable pBuf
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pBuf to be compliant.

Change-Id: Ie24b53fc3efaa8d0940a369a97ebec4ed434457e
CRs-Fixed: 2407325
2019-03-02 21:47:39 -08:00
Jeff Johnson
103f67ac66 qcacld-3.0: Rename HDD variable pBufLen
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pBufLen to be
compliant.

Change-Id: Id9031a9bda31d838f0fd095dcda6ad1a00685f84
CRs-Fixed: 2407324
2019-03-02 21:47:35 -08:00
Jeff Johnson
2370b85ea4 qcacld-3.0: Rename HDD variable rateUpdateParams
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable rateUpdateParams to be compliant.

Change-Id: Ie46a322046ce864d9c6dcfcb5057e92d99c6a570
CRs-Fixed: 2407323
2019-03-02 21:47:31 -08:00
Jeff Johnson
2a854d565e qcacld-3.0: Remove pConfig from wlan_hdd_set_mc_rate()
As a result of configuration convergence the local variable pConfig in
wlan_hdd_set_mc_rate() is assigned but never dereferenced. Since this
is obsolete, remove it.

Change-Id: I8f23fe4ce89a0946e9a3a307fa8451646f0c76d6
CRs-Fixed: 2405775
2019-03-02 21:47:28 -08:00
Jeff Johnson
b9f9b2801c qcacld-3.0: Rename HDD variable pRate
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pRate to be
compliant.

Change-Id: Ib17924063a07ccdace7ece61c4683937500c2387
CRs-Fixed: 2405774
2019-03-02 21:47:23 -08:00
Jeff Johnson
4b310ceea6 qcacld-3.0: Rename HDD variable pRateStats
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pRateStats to be
compliant.

Change-Id: Ic617f9a67fdf336c09a1292248676d377fbfc7f3
CRs-Fixed: 2405773
2019-03-02 21:47:20 -08:00
nshrivas
cef688153c Release 5.2.0.123C
Release 5.2.0.123C

Change-Id: If853082e7d1a79ab87aabeca23d269fbeee10d68
CRs-Fixed: 774533
2019-03-02 17:45:37 -08:00
Nachiket Kukade
d5b7ebcc37 qcacld-3.0: Define NAN peer objects for storing NDP Peer info
Host presently stores NAN Peer specific info, such as number
of active NDP sessions, in an array inside vdev private object.
The array uses Peer index from HDD connection info. Instead,
use object manager to define peer private objects to store
this information.

Define NAN peer objects for storing NDP Peer info

Change-Id: I43d9339d06acc0eff61cafb337ccb084c372c7e1
CRs-Fixed: 2405507
2019-03-02 17:45:36 -08:00
Jeff Johnson
c060ac40d5 qcacld-3.0: Use vdev_id in roam_scan_filter_params
Change I16679abc7b3b61e6814fc1b0f13c6bc0e0fb7a39 ("qcacmn: Replace
session_id in roam_scan_filter_params") is renaming the legacy
identifier session_id to vdev_id, so concurrently change the usage in
the legacy project.

Change-Id: Ibeab45d4badbeda6baec6a53ab4ec561dd70ccd9
CRs-Fixed: 2407403
2019-03-02 17:45:32 -08:00
nshrivas
ee31824934 Release 5.2.0.123B
Release 5.2.0.123B

Change-Id: I41b478c4b0c1fd86ffcabce3e5ff4cbe36ec7871
CRs-Fixed: 774533
2019-03-02 13:31:33 -08:00
Dustin Brown
c1d81af5c6 qcacld-3.0: Migrate driver transitions to osif_driver_sync
With the recent addition of osif_driver_sync APIs, DSC use is abstracted
behind a common interface. Migrate HDD to the new interface by updating
driver transitions to use the new APIs.

Change-Id: I394f007dd5485cd8d22aee84af74f8854ed54bb6
CRs-Fixed: 2408211
2019-03-02 13:31:32 -08:00
Dustin Brown
60c206456f qcacld-3.0: Add osif_driver_sync APIs
To bring OSIF driver synchronization in line with recent VDEV and PSOC
enhancements, add osif_driver_sync APIs. These allow for atomically
acquiring the driver synchronization context, and protecting various
call flows via DSC primitives.

Change-Id: Iba8df54bb1a3894118adf3daf1d0de8a554284ae
CRs-Fixed: 2408210
2019-03-02 13:31:26 -08:00
Dustin Brown
26afe8f73b qcacld-3.0: Move con_mode_handler
A previous change (Ibe982d1b52647b78dbcdbc2f9dcef609a6b2c02d) introduced
forward declarations in hdd_main.c. Move the relevant logic so as to
avoid needing these forward declarations.

Change-Id: I2bbd95a7eb51e8288eeb121923e9cecc7e238886
CRs-Fixed: 2408209
2019-03-02 13:31:21 -08:00
Dustin Brown
95ff00ba26 qcacld-3.0: Add con_mode_handler registration
A kernel module parameter's change callbacks can be invoked before the
module's init function has completed. In the Wlan driver, this leads to
a race window where the driver's mode can be modified before it is safe
to do so. Abstract the driver mode change logic behind a callback
registration mechanism that allows the driver to opt into handling the
driver mode change once it is safe.

Change-Id: Ibe982d1b52647b78dbcdbc2f9dcef609a6b2c02d
CRs-Fixed: 2408208
2019-03-02 13:31:15 -08:00
Pragaspathi Thilagaraj
ea50d7ec8f qcacld-3.0: Update erp seq num only for FILS connection
During roaming, the firmware updates the host driver without
the next erp sequence number. Currently the host driver updates
the erp sequence number in roam info without checking if the
connection is FILS connection. This results in potential NULL
pointer dereference in case of non FILS connection.

Add check to see if session->pCurRoamProfile->fils_con_info is
not NULL before updating the erp sequence number.

Change-Id: I96541528d179b2b895a3f7f581e073e04bce76af
CRs-Fixed: 2405492
2019-03-02 13:31:09 -08:00
Ajit Pal Singh
a70e315601 qcacld-3.0: Add config option for CFG_TGT_NUM_MSDU_DESC
Add driver config option for CFG_TGT_NUM_MSDU_DESC

Change-Id: I9c738de779d03819e6920e9d3e260ec3d1fbd524
CRs-Fixed: 2390958
2019-03-02 13:31:05 -08:00
nshrivas
893b1330c9 Release 5.2.0.123A
Release 5.2.0.123A

Change-Id: I96f0598f8ddd4cbf20d9514cfb693c324627f6d6
CRs-Fixed: 774533
2019-03-02 10:24:07 -08:00
Jeff Johnson
a6b398d25d qcacld-3.0: Remove wlan_hdd_validate_session_id()
Previously I06f948d8de4b8a98bfe66e18ae38b1040204fdb4 ("qcacld-3.0:
Replace wlan_hdd_validate_session_id()") replaced all instances of
wlan_hdd_validate_session_id() with wlan_hdd_validate_vdev_id().
However this change left behind the wlan_hdd_validate_session_id()
macro. Subsequently I7584fb5db036d1643bd7d56076d30a0c75008a98
("qcacld-3.0: Handle OWE info update from hostapd") added a new
instance of invoking wlan_hdd_validate_session_id(). So rename the new
instance, and remove the macro to prevent the addition of any future
instances.

Change-Id: I132a749d2f694b44296a44f2aa31e9aec5f0878f
CRs-Fixed: 2408166
2019-03-02 10:24:06 -08:00
nshrivas
32470ff17f Release 5.2.0.123
Release 5.2.0.123

Change-Id: Id0092a7f650a328fbae9e6b3cfcfffc9ae68f3fe
CRs-Fixed: 774533
2019-03-02 08:58:33 -08:00