Commit Graph

14003 Commits

Author SHA1 Message Date
nshrivas
3af6a1d5db Release 5.2.0.114Y
Release 5.2.0.114Y

Change-Id: I257735b16fe644ddb5927b92f7fb72b845aaf132
CRs-Fixed: 774533
2019-01-08 02:34:54 -08:00
Rajeev Kumar Sirasanagandla
14fa966039 qcacld-3.0: Enable WLM feature by default
Set wlm_latency_enable=1 to enable vdev latency manager feature
by default.

Change-Id: Iee5a4f386bad649be86a299c6816c7802c73992c
CRs-Fixed: 2369989
2019-01-08 02:34:23 -08:00
nshrivas
987d85d5b3 Release 5.2.0.114X
Release 5.2.0.114X

Change-Id: I2d52897473d70ba7b105381d893c2515aefbe31c
CRs-Fixed: 774533
2019-01-08 00:19:14 -08:00
Yeshwanth Sriram Guntuka
adfeaded2e qcacld-3.0: Send invalid RSSI absolute threshold value
RSSI absolute threshold value sent to firmware in the
default case is 0 even when hw db2dbm capability is
enabled which can break firmware roaming.

Fix is to send min rssi value of -128dbm when hw db2dbm
service capability is enabled.

Change-Id: I0a595e9f4af170411a0813a3390ddbb57d26bce1
CRs-Fixed: 2376606
2019-01-08 00:19:13 -08:00
nshrivas
6262f632be Release 5.2.0.114W
Release 5.2.0.114W

Change-Id: I5dddb8a43794d13a7cb61943a526833976566990
CRs-Fixed: 774533
2019-01-07 19:59:01 -08:00
Liangwei Dong
f9c0960f95 qcacld-3.0: Don't set unsupported key type to FW
If target doesn't support AES_GMAC BIP cipher,
skip the key install wmi command.
Host will do the BIP MMIE validation.

Change-Id: I7536a0bb8a2dab653eae8f729e57bdcb5fef5e19
CRs-Fixed: 2370637
2019-01-07 19:59:00 -08:00
Jeff Johnson
4a5f3f4450 qcacld-3.0: Remove unused csr_wme_*_oui arrays
Arrays csr_wme_info_oui and csr_wme_parm_oui are unused, so remove
them.

Change-Id: Idb9c17d7b9b983fa38fc1178684e996382c95c66
CRs-Fixed: 2375434
2019-01-07 19:58:55 -08:00
Jeff Johnson
73ffa7b90f qcacld-3.0: Remove WMA_DEFAULT_QPOWER macros
The following macros are unused, so remove them:
- WMA_DEFAULT_QPOWER_MAX_PSPOLL_BEFORE_WAKE
- WMA_DEFAULT_QPOWER_TX_WAKE_THRESHOLD

Change-Id: I9b0f760ebbadbdecf9549a813a9b72e07a97a9e8
CRs-Fixed: 2375433
2019-01-07 19:58:50 -08:00
Jeff Johnson
6c7d9a1b6f qcacld-3.0: Remove WMA EXTSCAN macros
The following WMA EXTSCAN macros are obsolete, so remove them:
- WMA_MAX_EXTSCAN_MSG_SIZE
- WMA_EXTSCAN_REST_TIME
- WMA_EXTSCAN_MAX_SCAN_TIME
- WMA_EXTSCAN_BURST_DURATION

Change-Id: I568f6757f7a60fcc24f0843ca8cddd29f8a78ab7
CRs-Fixed: 2375432
2019-01-07 19:58:45 -08:00
Jeff Johnson
5918e364f3 qcacld-3.0: Remove WMA_CHAN_START/END_RESP macros
Change I654e53fa2441e03723f150d973c124985c67f2b4 ("qcacld-3.0: Add new
params in ACS calc process") introduced macros WMA_CHAN_START_RESP and
WMA_CHAN_END_RESP, but did not add any code which uses them. Since
they are unused, remove them.

Change-Id: I7a5f20cb8e72c19f52d5a44afb3b480eaa84c06b
CRs-Fixed: 2375431
2019-01-07 19:58:41 -08:00
nshrivas
3cbeedcb6c Release 5.2.0.114V
Release 5.2.0.114V

Change-Id: Ice93d0c5626068adf996a73f2b7c7eb06c4eba68
CRs-Fixed: 774533
2019-01-07 17:28:26 -08:00
bings
50112bb4bb qcacld-3.0: Do DFS flag configure only when DFS channels are supported
When gEnableDFSChnlScan is configured as 0, it is incorrect that DFS
channels are not skipped when scanning.
Android O/P framework always enables DFS flag for station interface, then
gEnableDFSChnlScan is always overwritten currently.

Only support DFS flag configuration when gEnableDFSChnlScan is set as 1.

Change-Id: I4c819c4cc8c44d95ebe1ce074e67f3f1d9b254e0
CRs-Fixed: 2368131
2019-01-07 17:28:25 -08:00
Jeff Johnson
90f55253cf qcacld-3.0: Remove WMA_SCAN_NPROBES_DEFAULT
Change I840c6a5f83c6cdc479e6746f36a29c2a7970c964 ("qcacld-3.0: Remove
wma_get_buf_extscan_start_cmd()") removed the only usage of macro
WMA_SCAN_NPROBES_DEFAULT. Since it is now obsolete, remove it.

Change-Id: If4907fcc397ba77bd58d8423b1695896a7197597
CRs-Fixed: 2375430
2019-01-07 17:28:21 -08:00
Wu Gao
6768d76a7b qcacld-3.0: Remove unused tdls structures in pe
It alloc memory with structures in sir_api.h, and process/parse them
with structures in tdls component, which will cause memory corruption
potentially. So, this change refacor these functions and let them use
unified structures. Remove unused structures in sir_api.h
Here are these functions:
- lim_send_sme_tdls_add_sta_rsp
- lim_send_tdls_comp_mgmt_rsp
- lim_send_sme_tdls_del_sta_rsp
- lim_send_sme_mgmt_tx_completion

Remove below unused tdls structures:
- tSirTdlsDelAllPeerInd
- tSirTdlsDelStaInd
- tSirTdlsEventnotify
- tSirTdlsLinkEstablishReq
- tSirTdlsLinkEstablishReqRsp
- tSirTdlsAddStaRsp
- tSirTdlsDelStaRsp
- tSirMgmtTxCompletionInd

Change-Id: Ic595cadefcdbeb2df44f97563c4652db409213a2
CRs-Fixed: 2373706
2019-01-07 17:28:16 -08:00
nshrivas
65c245c591 Release 5.2.0.114U
Release 5.2.0.114U

Change-Id: I107e8649a4e1e2ca3dbda260974e9b2fdd64cc97
CRs-Fixed: 774533
2019-01-07 13:58:19 -08:00
Jeff Johnson
5574f6fa3c qcacld-3.0: Remove WMA_TX_Q_RECHECK_TIMER_MAX_WAIT
Change I33b56bb627ac914ca6fe96949de373b015853fc9 ("qcacld-3.0:
Decrease tx drain wait time during del bss") removed the only
usage of macro WMA_TX_Q_RECHECK_TIMER_MAX_WAIT. Since it is
obsolete, remove it.

Change-Id: Iec4ad45efcd7bc407f639226f7aa21ed39d753e9
CRs-Fixed: 2375429
2019-01-07 13:58:18 -08:00
Jeff Johnson
0cfe284fe0 qcacld-3.0: Remove legacy typedef tBeaconFilterIe
The legacy typedef tBeaconFilterIe is unused, so remove it, along with
the underlying tEidByteInfo typedef.

Change-Id: Id02c67ff49892d63cd2443a2639f4bc7d4253a7f
CRs-Fixed: 2375428
2019-01-07 13:58:13 -08:00
Jeff Johnson
08eee0d8e6 qcacld-3.0: Remove struct sAniProbeRspStruct typedefs
The typedefs for struct sAniProbeRspStruct are unused. Since the Linux
coding style discourages the use of typedefs, remove these so that
they won't possibly be used in the future.

Change-Id: I71965804bd32e3413314e81447ee004e6e663e49
CRs-Fixed: 2375427
2019-01-07 13:58:07 -08:00
Jeff Johnson
995163a512 qcacld-3.0: Remove legacy scan typedefs
The following legacy scan typedefs are obsolete, so remove them:
- tStartScanParams
- tEndScanParams
- tAbortScanParams

Change-Id: Ie106be72b2ff1d1969018d0db14da9408df97747
CRs-Fixed: 2375426
2019-01-07 13:58:02 -08:00
nshrivas
296bc71578 Release 5.2.0.114T
Release 5.2.0.114T

Change-Id: I17fa2da9146c7d7cbc6f2ca660e72f1ffde979fc
CRs-Fixed: 774533
2019-01-07 11:25:03 -08:00
Jeff Johnson
a8edc5901c qcacld-3.0: Remove unused protocol macros from HDD
Code componentization relocated large portions of protocol code from
HDD to protocol-specific components. Left behind were quite a few
macros that are now no longer used, so remove the following:
- WLAN_HDD_P2P_SINGLE_CHANNEL_SCAN
- WLAN_HDD_P2P_SOCIAL_CHANNELS
- WLAN_HDD_PUBLIC_ACTION_FRAME
- WLAN_HDD_PUBLIC_ACTION_FRAME_ACTION_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_BODY_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_CATEGORY_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_OUI_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_OUI_TYPE_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_SUB_TYPE_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_TYPE_OFFSET
- WLAN_HDD_SA_QUERY_ACTION_FRAME
- WLAN_HDD_TDLS_ACTION_FRAME
- WLAN_HDD_VENDOR_SPECIFIC_ACTION
- WLAN_HDD_WFA_OUI
- WLAN_HDD_WFA_P2P_OUI_TYPE

Change-Id: I74611f7db2c2d3a6fa50c2719986cba2c33b41b3
CRs-Fixed: 2375425
2019-01-07 11:25:02 -08:00
Jeff Johnson
62a665ad8e qcacld-3.0: Remove SS_OUI macros
The SS_OUI_TYPE and SS_OUI_TYPE_SIZE macros are unused,
so remove them.

Change-Id: I5f9e6277c94d2b1d3685a4c3ceff4b31e6e7bbd6
CRs-Fixed: 2375424
2019-01-07 11:24:56 -08:00
Jeff Johnson
b3ce645368 qcacld-3.0: Remove macro MAC_ADDR_LEN
The macro MAC_ADDR_LEN is unused, so remove it.

Change-Id: Ic9770e7ffbcdfe3c01bcafb376c5e2c7b7f29eec
CRs-Fixed: 2375423
2019-01-07 11:24:50 -08:00
Jeff Johnson
c1ff128405 qcacld-3.0: Remove field connection from struct hdd_adapter
Field connection in struct hdd_adapter is unused, so remove it.

Change-Id: Ifb2898e5587b17454135181b054fb2bcd815ef88
CRs-Fixed: 2375422
2019-01-07 11:24:45 -08:00
nshrivas
cc7d56fc3f Release 5.2.0.114S
Release 5.2.0.114S

Change-Id: I7c22a567ebce26a369f2d0541af22aca2e872501
CRs-Fixed: 774533
2019-01-07 08:47:16 -08:00
Jeff Johnson
40d289ec79 qcacld-3.0: Remove macro HTT_TX_DESC_PADDR()
Macro HTT_TX_DESC_PADDR() is unused. Furthermore, it references
tx_descs fields which do not exist. Since it couldn't possibly be
used in its current form, remove the macro.

Change-Id: I62b2d7bc3291ba6c2dc486196076827cfc22d8ec
CRs-Fixed: 2375421
2019-01-07 08:47:15 -08:00
Jeff Johnson
af32606065 qcacld-3.0: Remove op_class_for_pref_off_chan_is_set
The field op_class_for_pref_off_chan_is_set in struct
tdls_peer_mlme_info is unused, so remove it.

Change-Id: I5c2ed954215677a25245e108a35c33fc7c33c247
CRs-Fixed: 2375420
2019-01-07 08:47:09 -08:00
Jeff Johnson
dfabe9e6a7 qcacld-3.0: Remove ap_rssi from struct tdls_vdev_priv_obj
The ap_rssi field in struct tdls_vdev_priv_obj is unused,
so remove it.

Change-Id: I5c8c7583da2833071feb5a33243cbecbf0ed4f28
CRs-Fixed: 2375419
2019-01-07 08:47:03 -08:00
Jeff Johnson
33c542ff92 qcacld-3.0: Remove enum pmo_offload_type
Enum pmo_offload_type is unused, so remove it.

Change-Id: Ibe1c488fbf72d577eac0424151adf5bd593be3c6
CRs-Fixed: 2375418
2019-01-07 08:46:58 -08:00
Jeff Johnson
cbcc2c5b6a qcacld-3.0: Remove bmiss_enable from struct pmo_psoc_cfg
The bmiss_enable field in struct pmo_psoc_cfg is unused, so remove it.

Change-Id: I456c420faea23616aa0b273a57fd661fd8c4eaf5
CRs-Fixed: 2375417
2019-01-07 08:46:52 -08:00
Jeff Johnson
473f76a260 qcacld-3.0: Remove TDLS_STA_INDEX_VALID
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed all uses of macro
TDLS_STA_INDEX_VALID. Since it is now unused, remove it.

Change-Id: Iefec2b4565f4a387778ccd5a4ed7e0d9eb9b732e
CRs-Fixed: 2375416
2019-01-07 08:46:46 -08:00
Jeff Johnson
303ebc0bf2 qcacld-3.0: Remove WLAN_WAIT_TIME_APF_GET_CAPS
Change Ic72243b918f4a8385a92b803a1ca3c5305423b52 ("qcacld-3.0: Add
support for Android Packet Filter v3") introduced macro
WLAN_WAIT_TIME_APF_GET_CAPS, but didn't actually introduce any code
that uses it. Since it is unused, remove it.

Change-Id: Iad513163ee32ea542b5f1ba22ec349385cfe9457
CRs-Fixed: 2374850
2019-01-07 08:46:41 -08:00
Jeff Johnson
3f9520131d qcacld-3.0: Remove QCSAP_IOCTL_CLR_STATS
The QCSAP_IOCTL_CLR_STATS ioctl is no longer supported, so remove the
associated macro.

Change-Id: Icc7462005c3ce97833c7309a70f51cf54722660f
CRs-Fixed: 2374849
2019-01-07 08:46:35 -08:00
Jeff Johnson
783ef375c5 qcacld-3.0: Remove CDS_SCHED_THREAD_HEART_BEAT
Macro CDS_SCHED_THREAD_HEART_BEAT is unused, so remove it.

Change-Id: I28a2aa8117e5f9bacd20aadc086103f40585e922
CRs-Fixed: 2374848
2019-01-07 08:46:30 -08:00
Jeff Johnson
103e4fb219 qcacld-3.0: Remove WMA_NVDownload_Start()
Macro WMA_NVDownload_Start() is obsolete, so remove it.

Change-Id: Iabdf9cd343a36dca78c527a45aa80338c1b43057
CRs-Fixed: 2374847
2019-01-07 08:46:25 -08:00
nshrivas
e28d11f057 Release 5.2.0.114R
Release 5.2.0.114R

Change-Id: I860cded92a1a22cab34d6e46475d052c3bafebbe
CRs-Fixed: 774533
2019-01-07 00:12:23 -08:00
Jeff Johnson
150d961938 qcacld-3.0: Remove typedef tBeaconFilterMsg
Change Id235d6303ce7c740f907147afc7248d833772067 ("qcacld-3.0:
Cleanup eWNI_SME_SET_BCN_FILTER_REQ") removed the usage of typedef
tBeaconFilterMsg, but didn't actually remove the obsolete typedef,
so remove it now.

Change-Id: Id7a24e18a6aa4fb7cfa6747f264bd3e6eeaa1ad8
CRs-Fixed: 2374845
2019-01-07 00:12:23 -08:00
Jeff Johnson
e1eb7480f7 qcacld-3.0: Remove MHF fields from t_wma_handle
The enable_mhf_offload and last_mhf_entries_timestamp fields of
t_wma_handle are unused, so remove them.

Change-Id: If07fa52f93caa0c2f2bb191603c6a96830dad469
CRs-Fixed: 2374844
2019-01-07 00:12:11 -08:00
Jeff Johnson
970bea4b53 qcacld-3.0: Remove typedef uapsd_start_indication_cb
Change Ie891eddad2b536e43f5f933c8683d41b096bf578 ("qcacld-3.0: Remove
obsolete code in SME QOS module") removed the only references to
typedef uapsd_start_indication_cb. Since it is obsolete, remove it.

Change-Id: I940608cf59b4f9f5f68cffb68b9ee45606461ded
CRs-Fixed: 2374843
2019-01-07 00:12:00 -08:00
Jeff Johnson
7e6e127ce7 qcacld-3.0: Remove DISA fields from tSmeStruct
Change Ia44acd9a3e31bf0d1098f7d423f0c28a2b7fe5fa ("qcacld-3.0: Cleanup
WMA and SME code related to DISA") removed the SME DISA code, but it
left behind the encrypt_decrypt_cb and encrypt_decrypt_context fields
in tSmeStruct. Since these are now obsolete, remove them, along with
their underlying type definitions.

Change-Id: I7bf5d737b89cc9604310b7c18c510f42f73ec971
CRs-Fixed: 2374842
2019-01-07 00:11:49 -08:00
Jeff Johnson
30e9bb6508 qcacld-3.0: Remove wlan_hdd_check_custom_con_channel_rules()
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the client of
wlan_hdd_check_custom_con_channel_rules(). Since this is no longer
used, remove it.

Change-Id: I2e43eec1f2ee7a7916630b1099cf7de000a06a6a
CRs-Fixed: 2374841
2019-01-07 00:11:38 -08:00
Jeff Johnson
fd692ff77f qcacld-3.0: Remove csr_roamGetConcurrencyConnectStatusForBmps()
Function csr_roamGetConcurrencyConnectStatusForBmps() no longer
exists, but the prototype is still present. Since it is obsolete,
remove it.

Change-Id: I6e1f0206957a828a1041659e7d5f3ac9e97dc843
CRs-Fixed: 2374840
2019-01-07 00:11:26 -08:00
Jeff Johnson
d2ce414147 qcacld-3.0: Remove sme_ConfigureAppsCpuWakeupState()
Function sme_ConfigureAppsCpuWakeupState() no longer exists, but the
prototype is still present. Since it is obsolete, remove it.

Change-Id: I91c26c2e3ec67c61ff55efbf24b2716e3ff35675
CRs-Fixed: 2374839
2019-01-07 00:11:15 -08:00
Jeff Johnson
db6f33dc0e qcacld-3.0: Remove csr_get_phy_mode_from_bssDesc()
Function csr_get_phy_mode_from_bssDesc() no longer exists, but the
prototype is still present. Since it is obsolete, remove it.

Change-Id: Ib5a37e0468d3f6f2f5ed862c99d508aadb3afda0
CRs-Fixed: 2374838
2019-01-07 00:11:05 -08:00
Jeff Johnson
d5f34f8623 qcacld-3.0: Remove macro CSR_IS_11D_INFO_FOUND
Macro CSR_IS_11D_INFO_FOUND is unused, so remove it.

Change-Id: I8e5ff1f935fd4486144aeea588e1e2dee3920020
CRs-Fixed: 2374837
2019-01-07 00:10:56 -08:00
Jeff Johnson
0ad556031c qcacld-3.0: Remove unused channel fields from csr_roamstruct
The following channel-related fields in struct csr_roamstruct are
unused, so remove them:
- baseChannels
- channelList24
- channelList5G
- numChannelsEeprom

Change-Id: Ia44e386496e36ba15bcb1c39c6190d0331603903
CRs-Fixed: 2374836
2019-01-07 00:10:45 -08:00
Jeff Johnson
2f98db3eb2 qcacld-3.0: Remove enum csr_hi_rssi_scan_id
Change I7994a9038d5bd094ce23bcd525ef8f5282974bfc ("qcacld-3.0: Apply
second part of LFR INIs changes") removed the logic that utilized the
csr_hi_rssi_scan_id enumerations. Since these are now unused, remove
the definition.

Change-Id: Ia72aabdfa672c8012f952967c7f67b1bc8024514
CRs-Fixed: 2374835
2019-01-07 00:10:36 -08:00
Jeff Johnson
676dacfbb9 qcacld-3.0: Remove SapAllChnlList from struct sap_context
Change Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf ("qcacld-3.0: Use dfs
component support") removed the logic that utilized the SapAllChnlList
in struct sap_context. Since this field is now obsolete, remove it,
along with the underlying tAll5GChannelList typedef that is also now
obsolete.

Change-Id: I5a07c44ca4138af5494d1a6f6e1d08158d244be2
CRs-Fixed: 2374834
2019-01-07 00:10:27 -08:00
Jeff Johnson
e0b7effe1e qcacld-3.0: Remove macro ANI_EAPOL_KEY_RSN_NONCE_SIZE
Macro ANI_EAPOL_KEY_RSN_NONCE_SIZE is obsolete, so remove it.

Change-Id: Id9107d513f8c4ebe42e7dc6b6ee19d2e09fd7748
CRs-Fixed: 2374833
2019-01-07 00:10:18 -08:00
Jeff Johnson
534dc7f16b qcacld-3.0: Remove typedef tSapChSelParams
Typedef tSapChSelParams is unused, so remove it.

Change-Id: I13f55881c75454125b1fbc6be741e4f164c51782
CRs-Fixed: 2374832
2019-01-07 00:10:08 -08:00