커밋 그래프

13496 커밋

작성자 SHA1 메시지 날짜
nshrivas
d8a6844c75 Release 5.2.0.111P
Release 5.2.0.111P

Change-Id: Ie00ee0d2014bddfd310b779003a69fb8cdc45776
CRs-Fixed: 774533
2018-12-13 18:44:29 -08:00
Jeff Johnson
e866cac222 qcacld-3.0: Consolidate DS mode definitions
The file cds_ieee80211_common.h contains a large number of macros that
are used to describe most fields in IEEE 802.11 frames. Despite that,
currently WMA has an enum ds_mode to represent the Distribution System
Mode settings. In order to avoid unnecessary duplicate definitions
remove enum ds_mode and instead use the cds_ieee80211_common macros.

Change-Id: I0dc722009e063a1eac0da4afbe77f96772c583b2
CRs-Fixed: 2365060
2018-12-13 18:44:29 -08:00
Jeff Johnson
06ff3be1eb qcacld-3.0: Remove p2p_lo_in_progress from wma_txrx_node
Previously change I750870ccbe84e817954a3ee1a50e2e8daa5ab661
("qcacld-3.0: Remove obsolete P2P Listen Offload from WMA") removed
the only code that used the p2p_lo_in_progress field in struct
wma_txrx_node. Since it is now obsolete, remove it.

Change-Id: I9e9247a578fb07ef8089f2b5eb544e4e6595244a
CRs-Fixed: 2365059
2018-12-13 18:44:24 -08:00
Jeff Johnson
175e4f91fd qcacld-3.0: Remove Suspend & Resume remnants from WMA
Previously change Iba16643adf1cbd997138c740345e40c00c8e81f6
("qcacld-3.0: Add Suspend and Resume support in PMO") relocated
Suspend/Resume support from WMA to PMO. However that change left
behind in WMA some remnants that are no longer useful such as the
wma_resume_event, so remove them.

Change-Id: Icf35bafd8fdacdbdc71cfb4309a8bd15bfb1a244
CRs-Fixed: 2365057
2018-12-13 18:44:20 -08:00
Jeff Johnson
51971c7494 qcacld-3.0: Revise wma_mcs_rate_match() implementation
Currently some of the parameter names used in the implementation of
wma_mcs_rate_match() do not match the names used in the prototype.
This can be confusing to both humans and to code analysis tools, so
change the camelCase names used in the implementation to match the
prototype.

Change-Id: I87a85a7f1affa6bcad75f33f2bca6aa67475aa47
CRs-Fixed: 2365056
2018-12-13 18:44:16 -08:00
Jeff Johnson
f8e194833c qcacld-3.0: Remove obsolete GEN_PARAM enums
Previously change Id965dd8ee0fbddfa563335fd2fe225dcd20cd162
("qcacld-3.0: Port modulated dtim and override listen interval")
relocated support for configuring Modulated DTIM and Listen Offload
from WMA to PMO. The associated enumerations in enum GEN_PARAM are now
obsolete, so remove them, along with their default value macros.

Change-Id: Iac88c4b5578c24b6fcaefb935459f6e988892a1a
CRs-Fixed: 2365055
2018-12-13 18:44:12 -08:00
Jeff Johnson
083ee823c3 qcacld-3.0: Remove obsolete wma_map_channel() prototype
The driver contains a prototype for wma_map_channel() but no
implementation, so remove the prototype.

Change-Id: I1a8794c103ac78df8ef4fd1c181ee60350c88058
CRs-Fixed: 2365054
2018-12-13 18:44:09 -08:00
Jeff Johnson
1456a1f78a qcacld-3.0: Remove obsolete wma_api prototypes
wma_api.h contains two prototypes for functions that are no longer
a part of the driver, so remove them.

Change-Id: I79c96320a23471e0c21cc04ec1b207cda76db199
CRs-Fixed: 2365053
2018-12-13 18:44:05 -08:00
Jeff Johnson
8ace63dbe9 qcacld-3.0: Remove obsolete parser_api prototypes
parser_api.h contains two prototypes for functions that are no longer
a part of the driver, so remove them.

Change-Id: Id4cc9967ba95d624a2910dec564c68c679279b09
CRs-Fixed: 2365052
2018-12-13 18:44:01 -08:00
Jeff Johnson
d544de42cb qcacld-3.0: Remove sme_qos_a_cto_up_map
The mapping table sme_qos_a_cto_up_map is unused, so remove it.

Change-Id: I1a7b25b07f555dc873cdcafec20f47f1494ec4eb
CRs-Fixed: 2365051
2018-12-13 18:43:57 -08:00
Jeff Johnson
3a87ce0ef9 qcacld-3.0: Remove FEATURE_WLAN_BTAMP_UT_RF
The driver contains FEATURE_WLAN_BTAMP_UT_RF code that is no longer
supported, so remove it.

Change-Id: Id9ff85b5a7c05e01fe6ceac0e9ce3e6aef6ff964
CRs-Fixed: 2365050
2018-12-13 18:43:53 -08:00
Jeff Johnson
1b86b8755f qcacld-3.0: Remove typedef eNeighborRoamEmptyScanCount
The eNeighborRoamEmptyScanCount enumerations are not used by the
current version of the driver, so remove the typedef.

Change-Id: Iafeef92741a6c7c8dd7b3039738b1828eed2ee60
CRs-Fixed: 2364277
2018-12-13 18:43:50 -08:00
Jeff Johnson
44b03b1868 qcacld-3.0: Remove typedef eNeighborRoamScanMode
The eNeighborRoamScanMode enumerations are not used by the current
version of the driver, so remove the typedef.

Change-Id: I2846de40e09665d1b39d64656e89d05c2009203e
CRs-Fixed: 2364276
2018-12-13 18:43:46 -08:00
Jeff Johnson
380e27bd15 qcacld-3.0: Remove obsolete csr_neighbor_roam prototypes
csr_neighbor_roam.h contains two prototypes for functions that are no
longer a part of the driver, so remove them.

Change-Id: I3edc2c0625ba20ac6db15d69275b31a5e93ef734
CRs-Fixed: 2364275
2018-12-13 18:43:42 -08:00
Jeff Johnson
96ca5f87fb qcacld-3.0: Remove obsolete eWNI_SME_SCAN message IDs
The current version of the driver no longer uses the eWNI_SME_SCAN
message IDs, so remove them.

Change-Id: Ia2717c18606e5e771b5d5880bac6f494689ab802
CRs-Fixed: 2364273
2018-12-13 18:43:38 -08:00
Jeff Johnson
6ed9625feb qcacld-3.0: Remove tSirSmeScanRsp
The typedef tSirSmeScanRsp is not used by the current generation of
the driver, so remove it.

Change-Id: Id38ae6fe4b0c92e69c6a3f16db7f22ae13ba2fb7
CRs-Fixed: 2364272
2018-12-13 18:43:33 -08:00
Jeff Johnson
ca6b4fd685 qcacld-3.0: Remove obsolete typedef tBssSystemRole
The tBssSystemRole enumerations are no longer in use, so remove them.

Change-Id: I5f4e5ab6cbbfafd0b2e95340b999d94408a12c83
CRs-Fixed: 2364271
2018-12-13 18:43:29 -08:00
Jeff Johnson
3ff667f34a qcacld-3.0: Remove unused WNI_CFG macros
Ongoing CFG componitization removed the enumerations for some
legacy configuration items that are now supported by component
configuration. However some of the changes did not remove the
MIN/MAX/DEF/LEN macros or enumeration macros.  For all of the
ones that are now unused, remove them now.

Change-Id: Ib48e10cd09ef6811c9104c0b92f4b8f1665e5a5d
CRs-Fixed: 2364270
2018-12-13 18:43:24 -08:00
Jeff Johnson
88e3331da6 qcacld-3.0: Remove unused Enable/Disable PS params
Both tEnablePsParams and tDisablePsParams contain unused fields, so
remove them.

Change-Id: I148c065ac5425a7695ef7bf1d54bf7975b1ef10e
CRs-Fixed: 2364269
2018-12-13 18:43:19 -08:00
Jeff Johnson
c8ea8e693b qcacld-3.0: Correctly document wma_tx_packet()
Currently the prototype and the implementation of wma_tx_packet() use
different identifiers for some of the parameters, which is confusing
to both programmers and to tools. In addition currently the
implementation is documented instead of the interface. Therefore move
the documentation to the header file, and changed the prototype to
match the implementation.

Change-Id: I2c2e36c5b85935c37271336970c6532495c20fa6
CRs-Fixed: 2364268
2018-12-13 18:43:15 -08:00
nshrivas
83680fcb31 Release 5.2.0.111O
Release 5.2.0.111O

Change-Id: I23efd1beac7bb99b4b0d6806b8420e887dbfbfcc
CRs-Fixed: 774533
2018-12-13 16:45:47 -08:00
Jeff Johnson
622aad6d3d qcacld-3.0: Use the refined struct wmi_unified_pmk_cache
The original definition of struct wmi_unified_pmk_cache had several
anomalies:
1) It contains an unnecessary tlv_header field. Only the fw-api
   structs should contain TLV headers.
2) It contains a mis-named session_id field. Common structures should
   use converged terminology, in this case vdev_id

qca-wifi-host-cmn change If4be27111c604c16ea437aa654210cdff28220a7
("qcacmn: Refine struct wmi_unified_pmk_cache (phase 1)") completely
addressed the first issue, and as the first phase of fixing the second
issue it replaced the session_id field with an anonymous union which
contains both the existing session_id field and a new vdev_id field.
Being part of a union these field will overlay each other.

For the current phase replace the reference to session_id with a
reference to vdev_id in sme_set_del_pmkid_cache().

Change-Id: Ief4bcb819cb3c842adb74904f2cb2483476eaeb9
CRs-Fixed: 2363433
2018-12-13 16:45:47 -08:00
Dustin Brown
77a042b426 qcacld-3.0: Use talloc, instead of malloc, in DSC
The lifetimes of DSC contexts do not fit nicely into the current domain
based dynamic memory leak detection scheme. Instead, allocate psoc and
vdev DSC contexts using the new qdf_talloc() API.

Change-Id: Ib15bd26004c3383e25039f4d17026d3e73f52346
CRs-Fixed: 2360348
2018-12-13 16:45:43 -08:00
Dustin Brown
d315c4570c qcacld-3.0: Enable talloc feature
Enable the talloc feature, recently added in
I6308c96061e125b2e5a9c424ec2d2298c1c503ab.

Change-Id: I37c48d63dd1598710611d4c2ab5d26fec92c2250
CRs-Fixed: 2359468
2018-12-13 16:45:39 -08:00
Dustin Brown
6fb7a754ca qcacld-3.0: Enable qdf hashtable feature
Enable the QDF hashtable feature, recently added in
I07999e5fc8116e67b3850b866ced20af64342055.

Change-Id: I1dcdee7d960e87bda980e3d6e646e22149208dad
CRs-Fixed: 2359334
2018-12-13 16:45:34 -08:00
nshrivas
5eb57d96ae Release 5.2.0.111N
Release 5.2.0.111N

Change-Id: I2884d913485e87818bdd7bea999655dc1767fe35
CRs-Fixed: 774533
2018-12-13 14:57:17 -08:00
Yeshwanth Sriram Guntuka
ad31502195 qcacld-3.0: Skip IE which has length less than minimum valid IE length
QBSS IE uses min length of 4 bytes for version 1 and
min length of 5 bytes for version 2. Min length used
for IE is 5 bytes in driver which can cause WPA IE
parse failure if QBSS IE is 4 bytes resulting in failure
in fetching scan results due to security mismatch and
subsequently connection failure.

Fix is to skip the IE which has length less than the
minimum valid length.

Change-Id: I00fbffad221e2d9ecedcb87c9607ac8abd7c55b1
CRs-Fixed: 2364663
2018-12-13 14:57:16 -08:00
gaurank kathpalia
4ef9ba2cf8 qcacld-3.0: Modify the active dwell time in ACS scan
Currently the driver scans for the channels as part of ACS
algorithm, to select the best channel for SAP bringup.
But the active dwell time set in the scan request is Zero,
hence the active probe is not sent to the AP, and the DUT
(SAP in this case), just passively scans the channels for BSS,
which causes latency in SAP bringup.

Fix is to initialize the default active dwell time in case of
ACS scan, and set broadcast probe to true.

Change-Id: If4f001a9b272a7894125d81f2895cfa6f6ca2bc4
CRs-Fixed: 2363789
2018-12-13 14:57:12 -08:00
gaurank kathpalia
41361360f9 qcacld-3.0: Modify the active dwell time in scan for ssid
Currently the driver scans for the bssid if it is not present
in the scan cache, due to expire of scan results.
But the active dwell time set in the scan request is Zero,
hence the active probe is not sent to the AP, and the DUT
(STA in this case), just passively scans the channels for that
BSSID, which causes latency in connection.

Fix is to initialize the default active dwell time in case of
scan for ssid.

Change-Id: I38c8c0335e10544d165c510b59e013e9ee2a5031
CRs-Fixed: 2363980
2018-12-13 14:57:09 -08:00
nshrivas
a708f101af Release 5.2.0.111M
Release 5.2.0.111M

Change-Id: I577935227e86d2f8c652fb7af09bc8ebad6c63bb
CRs-Fixed: 774533
2018-12-13 02:37:53 -08:00
Wu Gao
5f79340ca9 qcacld-3.0: Enable TDLS component in CLD
TDLS component related files moved from hostcmn to CLD, this change
adds initial functions, enables TDLS in Kbuild.

Change-Id: Ie5b93f4785c4a973a139dff9e58460fd7ee35e35
CRs-Fixed: 2361589
2018-12-13 02:37:52 -08:00
nshrivas
003c5f6206 Release 5.2.0.111L
Release 5.2.0.111L

Change-Id: Idb3c5d97a9d1ed8096e071b296b11e33d7d642a7
CRs-Fixed: 774533
2018-12-12 12:29:15 -08:00
Harprit Chhabada
88c4e42509 qcacld-3.0: Cleanup scan concurrent active and passive min time
Cleanup Scan active and passive concurrent time CFG/INI
references from legacy code.

Concurrent active and passive min time component is never used,
so remove it.

Change-Id: Idca5285d58bea659a1a481c1f33827608377ab98
CRs-Fixed: 2363138
2018-12-12 12:29:14 -08:00
nshrivas
1ab2f927ac Release 5.2.0.111K
Release 5.2.0.111K

Change-Id: If6670695ea0feac89a9df125c3b80a01e2d66c98
CRs-Fixed: 774533
2018-12-12 01:45:35 -08:00
Arunk Khandavalli
521c005600 qcacld-3.0: Initial place holder for dsc stub functions
Initial change to hold the dsc stub functions

Change-Id: Id150755e7685c1a06a509b1cf2b10480c35a8bf4
CRs-Fixed: 2362316
2018-12-12 01:45:35 -08:00
Pragaspathi Thilagaraj
9f79074a67 qcacld-3.0: Remove error message after mlme_obj NULL check
The function mlme_get_psoc_obj() is used to get the mlme_obj and
error handling is taken care inside the function if mlme_obj is
null.
Remove the error message in callers of mlme_get_psoc_obj.

Change-Id: Ie7cda790758ad21b1a0275d313a97f322a2f6fd7
CRs-Fixed: 2365042
2018-12-12 01:45:30 -08:00
nshrivas
3ad23a4ea3 Release 5.2.0.111J
Release 5.2.0.111J

Change-Id: I8fdfb41b7c39ecdeb0b24448a6041e2ef94b1bff
CRs-Fixed: 774533
2018-12-11 17:26:00 -08:00
Wu Gao
d6b5e40780 qcacld-3.0: Enable policy mgr component in CLD
Policy mgr component related files moved from hostcmn to CLD, this
change add its initializion functions to CLD framework, change Kbuild
to enable it.

Change-Id: I0a87d93b9cf639aa66a10f9ae55ef8cb1dfbb80e
CRs-Fixed: 2361570
2018-12-11 17:25:59 -08:00
Dustin Brown
ebb16d1886 qcacld-3.0: Enable qdf types tests
Enable the unit test cases for qdf_types, recently added in
I7536a973141a6311662390e42da749f48239bef8.

Change-Id: I4264696d61443acf1bd0993f91de06119471b25f
CRs-Fixed: 2359296
2018-12-11 17:25:55 -08:00
Wu Gao
637d58a4c1 qcacld-3.0: Enable P2P component in CLD
P2P component related files moved from hostcmn to CLD, this change
adds initial functions, enables P2P in Kbuild.

Change-Id: I04102a5f3e59ded13ada15b1b417ae81c7a10e90
CRs-Fixed: 2361500
2018-12-11 17:25:51 -08:00
nshrivas
308cae5313 Release 5.2.0.111I
Release 5.2.0.111I

Change-Id: Ie39e470a3936d6c3f02e9d563da99accbaaf11d8
CRs-Fixed: 774533
2018-12-11 12:27:05 -08:00
Arunk Khandavalli
ca56d4b488 qcacld-3.0: Add Host Driver support for Beacon reception stats
Implementation of Host driver support to collect per Vdev Beacon
reception  Stats from firmware and display the stats in sysfs.

	"adb shell cat /sys/class/net/wlan0/beacon_stats"
vdev id: 0
Total Beacon Count: 255
Total Beacon Miss Count: 21
Beacon Miss Bit map [0x800] [0x10000000] [0x22000400] [0x100]
[0x84000000] [0x4030002] [0x5034000] [0x28084]

Change-Id: Iadd31042320f7815a6a6f4733f5393dba93b5b3e
CRs-Fixed: 2360913
2018-12-11 12:27:05 -08:00
nshrivas
4fb6fa0e45 Release 5.2.0.111H
Release 5.2.0.111H

Change-Id: I8301217e780739abf3b82be08c969e0daa2fe728
CRs-Fixed: 774533
2018-12-11 10:18:35 -08:00
Jeff Johnson
188173d940 qcacld-3.0: Remove unused typedef wma_txFailIndCallback
Previously change I7faaf646df363a74954defbef103afbb4b72af92
("qcacld-3.0: Add extended IBSS feature on qcacld-3.0") introduced two
different typedefs to serve the same purpose, txFailIndCallback which
is in use, and wma_txFailIndCallback which is unused, so remove the
unused one.

Change-Id: Icc3e016337500e4899d6bc2dc257a61d82f0ec65
CRs-Fixed: 2364267
2018-12-11 10:18:34 -08:00
Jeff Johnson
cf161a3986 qcacld-3.0: Remove wma_get_hotlist_entries_per_page()
Previously change I6786ce42d99d6a3f29561c24dea7e3018fb0f3e9
("qcacld-3.0: Refactor formation of wmi scan roaming commands")
removed all of the clients of wma_get_hotlist_entries_per_page(),
so now remove this unused function.

Change-Id: I2a8931a9152b84f589e0b41a7c5138112db22985
CRs-Fixed: 2364106
2018-12-11 10:18:30 -08:00
Jeff Johnson
e2e0e337eb qcacld-3.0: Remove ol_ctrl_addba_api.h
The definitions in file ol_ctrl_addba_api.h are unused, so remove the
file and remove the #include directive in the one place it appears.

Change-Id: I9056791b1a21dc8c8e113db2d49468e3abafab34
CRs-Fixed: 2364105
2018-12-11 10:18:26 -08:00
Jeff Johnson
f9f921c52a qcacld-3.0: Clean up tSap_StationAssocReassocCompleteEvent
The typedef tSap_StationAssocReassocCompleteEvent contains the
following fields that are not being used, so remove them:
- SapAuthType
- beaconLength
- beaconPtr
- assocReqLength
- assocReqPtr
- assocRespLength
- assocRespPtr

Change-Id: I1de03b76b0070ee0b19d3d4672ed75614c013ac7
CRs-Fixed: 2364104
2018-12-11 10:18:23 -08:00
Jeff Johnson
219b6a0aae qcacld-3.0: Remove gDisableDfsJapanW53 remnants
Previously change I7f39ed0680919c6a383d9b8bae5864f979b6948c
("qcacld-3.0: Refactor more dfs cfg items") removed support for
gDisableDfsJapanW53. However some remants of that support were left
behind, so remove them.

Change-Id: Ic0ec3411621c87a66a2d2055ceeebc2ed027aa39
CRs-Fixed: 2364103
2018-12-11 10:18:19 -08:00
Jeff Johnson
9f158923b9 qcacld-3.0: Remove typedef tSap_DfsNolInfo
The only use of typedef tSap_DfsNolInfo is to define the unused
sapDfsNolInfo field in typedef tSap_Event. Since they serve no purpose
remove both the sapDfsNolInfo field and the tSap_DfsNolInfo typedef.

Change-Id: Ic63288c0ea59b4f26a20d65a3e41503e49efedbd
CRs-Fixed: 2364102
2018-12-11 10:18:16 -08:00
nshrivas
ded4b13008 Release 5.2.0.111G
Release 5.2.0.111G

Change-Id: I21d9e1e49c49f70a84ec88eb96d547aa6301a806
CRs-Fixed: 774533
2018-12-11 08:17:26 -08:00