Gráfico de commits

6575 Commits

Autor SHA1 Mensagem Data
Jeff Johnson
33189d0e78 qcacld-3.0: Remove obsolete csr_msg_processor() code
Currently csr_msg_processor() contains logic that is conditionally
compiled based upon ANI_RTT_DEBUG and ANI_EMUL_ASSOC. These are
obviously obsolete references since these are the only references in
the code, and since they are referencing a variable that is not
present in the function. Since these are obsolete, remove them.

Change-Id: Ie258f188dd2791be96f2e95fcf4e8a71c4ea44eb
CRs-Fixed: 2103630
2017-09-12 01:26:10 -07:00
snandini
f24aecfb25 Release 5.2.0.43B
Release 5.2.0.43B

Change-Id: I3fc426e57e8e50f9d9f6ba99ca138033daca5862
CRs-Fixed: 774533
2017-09-11 23:27:26 -07:00
gaolez
e510894670 qcacld-3.0: Add new params in ACS calc process
qcacld-2.0 to qcacld-3.0 propagation

Before this change the ACS calc process only consider the
channel's rssi and bss count in this channel, in this change
add noise floor, channel free statistics and tx power in the
ACS calc process.

Change-Id: I654e53fa2441e03723f150d973c124985c67f2b4
CRs-fixed: 1050316
2017-09-11 23:27:25 -07:00
snandini
0bd07c450e Release 5.2.0.43A
Release 5.2.0.43A

Change-Id: I271ffbe9a4ea6b8b96ddaee595cfeabde1c9e8f3
CRs-Fixed: 774533
2017-09-11 17:27:55 -07:00
Jeff Johnson
dba0db6551 qcacld-3.0: Rename field pHddCtx in struct hdd_adapter
In struct hdd_adapter rename field pHddCtx to hdd_ctx to align with
the Linux Coding Style.

Change-Id: Id19662913f191a08b8672b46d12b9c1b4a01afa8
CRs-Fixed: 2101837
2017-09-11 17:27:55 -07:00
Jeff Johnson
399c627d49 qcacld-3.0: Consistently use WLAN_HDD_GET_CTX()
There are some places where the HDD context is extracted from an HDD
adapter using a direct reference instead of using WLAN_HDD_GET_CTX().
Update all such instances to use WLAN_HDD_GET_CTX(). This is a
precursor to renaming the pHddCtx field in the hdd_adapter structure.

Change-Id: Ic577ed7944b086ce72b15a66ccc166878a4a3fce
CRs-Fixed: 2101835
2017-09-11 17:27:53 -07:00
Jeff Johnson
b1704c8642 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_assoc.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia632a3738d5c4a4637cddbf5a5f521c26c4e1c6a
CRs-Fixed: 2101066
2017-09-11 17:27:51 -07:00
Jeff Johnson
9d2952438d qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_main.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ica1ce65d05f81f51c3ec04fa4ef3d022c9319886
CRs-Fixed: 2101065
2017-09-11 17:27:49 -07:00
Jeff Johnson
e500667a2d qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_cfg80211.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic352bd48b7ab47742a2d8ff5827d4ccbfd0b7ae1
CRs-Fixed: 2101070
2017-09-11 17:27:47 -07:00
Jeff Johnson
f0a3c61d63 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_debugfs.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I4f9785dbd0735b530587226cd6f152d297c515e0
CRs-Fixed: 2101072
2017-09-11 17:27:45 -07:00
Jeff Johnson
652d45b7bc qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ext_scan.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ibf4ff788afad717610fe58bdbc1a12330a6cce92
CRs-Fixed: 2101067
2017-09-11 17:27:44 -07:00
Jeff Johnson
866aca89e9 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_hostapd.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ice6c7b912048dac9efccb7962c40be97aa96323f
CRs-Fixed: 2101058
2017-09-11 17:27:42 -07:00
Jeff Johnson
e44b701b38 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ioctl.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I9c7eb9cbbfd31606bfda7c70b7d4dac6d897f680
CRs-Fixed: 2101056
2017-09-11 17:27:40 -07:00
Jeff Johnson
215e34eab5 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_rx_monitor.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I620055afba0b50660053b7e37bd855fd505bc88f
CRs-Fixed: 2101043
2017-09-11 17:27:38 -07:00
Jeff Johnson
7f803c6173 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_scan.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I00f144e95bcaa9b9e96fd0924ae10c065fd7ed14
CRs-Fixed: 2101042
2017-09-11 17:27:36 -07:00
Jeff Johnson
18dd7e10cd qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_softap_tx_rx.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I3d9b2f691f1d1acd0b5f853598063f40c4ad817f
CRs-Fixed: 2101037
2017-09-11 17:27:34 -07:00
Jeff Johnson
a11f94b468 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_stats.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iff59139526c947681099ccffa96ae9cc0182a40c
CRs-Fixed: 2101035
2017-09-11 17:27:32 -07:00
Jeff Johnson
b4fc39b13f qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_subnet_detect.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I66f20697851fdace617463b068c38ba63f4a07e0
CRs-Fixed: 2101033
2017-09-11 17:27:31 -07:00
Jeff Johnson
327b9d4e2f qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tdls.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iec122d832f372c5f0770051c5f2c067009c9dae0
CRs-Fixed: 2101032
2017-09-11 17:27:29 -07:00
Jeff Johnson
8f38986121 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tsf.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2fd1dec7120e0c0a21b51080d654b5dc653e2589
CRs-Fixed: 2101074
2017-09-11 17:27:27 -07:00
Jeff Johnson
5b76a3e9c2 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tx_rx.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2ed8c46fa89b11a19a1493194c573622e30d9887
CRs-Fixed: 2101031
2017-09-11 17:27:25 -07:00
Jeff Johnson
3d278b0177 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wext.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I3babc3fa2cbafce82081a376305bb6cf6a742699
CRs-Fixed: 2101028
2017-09-11 17:27:23 -07:00
Jeff Johnson
5b8b67d10a qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wmm.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: If34fa6e64a37eb990efadadac187f1d4b20a4eb5
CRs-Fixed: 2101027
2017-09-11 17:27:21 -07:00
Jeff Johnson
0c751e27f7 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wowl.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I322b521f70e7b7b17b9dc1b0cf716f84722ca6e0
CRs-Fixed: 2101025
2017-09-11 17:27:19 -07:00
snandini
9cf1c2b9ff Release 5.2.0.43
Release 5.2.0.43

Change-Id: Ic2e5d8f54c6be3ef22d2b81f381cf154d3cd568d
CRs-Fixed: 774533
2017-09-11 16:22:14 -07:00
Jeff Johnson
38a70f9254 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_debugfs_llstat.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I355f5406e7cb0674f9c235db57aa268849ac7635
CRs-Fixed: 2101073
2017-09-11 16:22:13 -07:00
Jeff Johnson
c7f3ded03a qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_disa.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I545c47380905eaeece9a2a25e0adb9bae1b90ce8
CRs-Fixed: 2101068
2017-09-11 16:22:11 -07:00
Jeff Johnson
1595095836 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_fips.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I022d0092980efc01f48100f9a096a6f6e80e26eb
CRs-Fixed: 2101064
2017-09-11 16:22:09 -07:00
Jeff Johnson
a5dc3f4de9 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ftm.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I48952b52777b523d5b383ea4278b8390a4bc4a8e
CRs-Fixed: 2101054
2017-09-11 16:22:07 -07:00
Jeff Johnson
9a7136d522 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_green_ap.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I762cb4c29060d780dcf9647aebe7246610d8f923
CRs-Fixed: 2101057
2017-09-11 16:22:05 -07:00
Jeff Johnson
49d45e6d6e qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ipa.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I20d1395208566001aaa3c73689e1f9e6d2b5e94f
CRs-Fixed: 2101053
2017-09-11 16:22:03 -07:00
Jeff Johnson
b763bb9da0 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lpass.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I07b27f87102c640124312b31b550cc394096019a
CRs-Fixed: 2101050
2017-09-11 16:22:01 -07:00
Jeff Johnson
a56e968a35 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lro.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Iec3c0b0b2e59ac05ad352f5b4e6e2b4528a8b5be
CRs-Fixed: 2101051
2017-09-11 16:21:59 -07:00
Jeff Johnson
8cb9df1092 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_nan_datapath.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I2e588aeaf26b85535afa86132aa4216ea630e958
CRs-Fixed: 2101049
2017-09-11 16:21:58 -07:00
Jeff Johnson
e46a84b936 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_object_manager.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ic527031c7a2d0785ec179344cb3519bf65ea6a8c
CRs-Fixed: 2101047
2017-09-11 16:21:56 -07:00
Jeff Johnson
7a1688a113 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ocb.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ib14b0e7bdd572294dc490043d5ae92ae2a4baa30
CRs-Fixed: 2101046
2017-09-11 16:21:54 -07:00
Jeff Johnson
da47af82ec qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_oemdata.c
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Id43c38784aadb07b5352d9ecc2c7dcb0e31dbcd8
CRs-Fixed: 2101045
2017-09-11 16:21:52 -07:00
Jeff Johnson
fbb5452527 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_p2p.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I5be95445278bf120ddf8b1a01a6af8ddf7a0d5d7
CRs-Fixed: 2101039
2017-09-11 16:21:50 -07:00
Jeff Johnson
75b737d48c qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_power.[ch]
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 hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: I66ecfb6f5a478298c1300f7ac3086715aa66e4c2
CRs-Fixed: 2101044
2017-09-11 16:21:49 -07:00
snandini
48911a60aa Release 5.2.0.42Z
Release 5.2.0.42Z

Change-Id: Idcc2fe95bfdba6294812fd7bdcd5fa8a3444044e
CRs-Fixed: 774533
2017-09-11 12:16:33 -07:00
Tushnim Bhattacharyya
518e80fc94 qcacld-3.0: Add the DFS MCC check in ACS algorithm
During channel selection for SAP via ACS, add check if there is
a connection on 5Ghz, don't allow SAP to select DFS channel.

Change-Id: If6e42cbc584ddb80588daf138d94d2e0a75b882a
CRs-Fixed: 2102024
2017-09-11 12:16:33 -07:00
Arif Hussain
dcb9ead668 qcacld-3.0: Change the default ini values of adapt dwelltime params
Make default values as
global_adapt_dwelltime_mode=0
hostscan_adaptive_dwell_mode=1
roamscan_adaptive_dwell_mode=1
extscan_adaptive_dwell_mode=1
pnoscan_adaptive_dwell_mode=1

Change-Id: I1845b5a06446cf043ba16c7b4686a1a2049fcdef
CRs-Fixed: 2017558
2017-09-11 12:16:31 -07:00
Arif Hussain
fdb25e2022 qcacld-3.0: Fix memory leak in sme
In some places memory allocated for the parsed IE’s
using csr_get_parsed_bss_description_ies are freed only
if existing IE description is NULL. Even though memory
allocation not done based on above condition, this may
lead to memory leak..

To fix this make sure to check existing IE description
while allocating memory.

Change-Id: Ia065b9ebb4cbd00f48f3cdca8737190b3609e1c7
CRs-Fixed: 2002298
2017-09-11 12:16:29 -07:00
snandini
4b3c174372 Release 5.2.0.42Y
Release 5.2.0.42Y

Change-Id: Ica4f22b510eed525b40bcc41446b8cd43d535644
CRs-Fixed: 774533
2017-09-10 21:27:58 -07:00
Jeff Johnson
71c5f0fa1b qcacld-3.0: Remove obsolete prototype for sysMcStart()
Function sysMcStart() no longer exists in the code, but the prototype
for it is still present. Get rid of it.

Change-Id: Ifd6c1fde27f907300ab7a8e03d4a201d861fd94e
CRs-Fixed: 2102689
2017-09-10 21:27:57 -07:00
Jeff Johnson
b4b196e024 qcacld-3.0: Remove handling of obsolete SYS messages
The SYS_MSG_ID_MC_START and SYS_MSG_ID_MC_STOP messages are no longer
being used, so remove all supporting logic.

Change-Id: I29f2d852e4313a580532cdc4db1b9e0bf211283f
CRs-Fixed: 2102670
2017-09-10 21:27:56 -07:00
Paul Zhang
fb35175109 qcacld-3.0: Fix the spinlock pairing issue
Per code review, some spin_lock/spin_unlock are not pairing.

Change-Id: I72cbc6d77ee37e44b4672a4e6747b90b7ebb0a4e
CRs-Fixed: 2105070
2017-09-10 21:27:54 -07:00
snandini
1f20ec6b0e Release 5.2.0.42X
Release 5.2.0.42X

Change-Id: I2b1180ea3126cec64ab327253be33bd3cfbd437f
CRs-Fixed: 774533
2017-09-10 19:27:31 -07:00
Jeff Johnson
40dae4e63b qcacld-3.0: Replace typedef hdd_station_ctx_t
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 hdd_station_ctx_t typedef does
not meet any of those criteria, so replace it with a well named
struct.

Change-Id: Idaa9c96dc757465d120b33c686d102ef29b31ca4
CRs-Fixed: 2101019
2017-09-10 14:51:40 -07:00
Jeff Johnson
8725103294 qcacld-3.0: Replace typedef hdd_ap_ctx_t
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 hdd_ap_ctx_t typedef does not
meet any of those criteria, so replace it with a well named struct.

Change-Id: I3084d902b405529f82ff9056f48a8c38392f50f5
CRs-Fixed: 2101017
2017-09-10 14:51:40 -07:00