Commit Graph

12900 Commits

Author SHA1 Message Date
Jeff Johnson
a4541e9f43 qcacld-3.0: Remove wma_p2p_noa_event_handler()
The functionality previously handled by wma_p2p_noa_event_handler() is
now done in WMI. Since wma_p2p_noa_event_handler() is no longer used,
remove it.

Change-Id: Id8095a79fee6be83c886a1635a1ce0b1a2e4087b
CRs-Fixed: 2361871
2018-12-06 19:23:07 -08:00
nshrivas
c4281d9744 Release 5.2.0.110M
Release 5.2.0.110M

Change-Id: I335082cbddafdc149b436225f46edd2cd0346501
CRs-Fixed: 774533
2018-12-06 17:51:08 -08:00
Krunal Soni
d2c33e171d qcacld-3.0: Move few INIs' ownership from HDD to MLME
INIs
1) gFWMccRtsCtsProtection
2) gFWMccBCastProbeResponse
3) gEnableMCCMode
4) gSapChannelAvoidance
5) gStaMiracastMccRestTimeVal

Ownership of above INIs belong to MLME component, move them from
HDD to MLME.

CRs-Fixed: 2351219
Change-Id: I3dc1b8f1f036f10a0506cb1cb8481fc865ef18f9
2018-12-06 17:51:08 -08:00
Krunal Soni
df29bc4ca5 qcacld-3.0: Move few INIs' ownership from HDD to Policy manager
INIs
1) g_mark_sap_indoor_as_disable
2) g_sta_sap_scc_on_lte_coex_chan
3) gEnableSAPManadatoryChanList
4) gForce1x1Exception
5) g_sta_sap_scc_on_dfs_chan
6) gDualMacFeatureDisable
7) gEnableOverLapCh
8) gAllowMCCGODiffBI

Ownership of above INIs belong to policy manager, move them from
HDD to Policy manager.

CRs-Fixed: 2351044
Change-Id: I6fe502697cdb9a259b8215ce5b4ad5354cb645fd
2018-12-06 17:51:02 -08:00
Jeff Johnson
6d5239bde5 qcacld-3.0: Remove struct sP2pPsParams
WMA defines struct sP2pPsParams which is unused. Since this is
obsolete, remove it.

Change-Id: I4d42f42ac9b3cd432dbebd405f7779ca6c94e937
CRs-Fixed: 2362014
2018-12-06 17:50:57 -08:00
Jeff Johnson
c559e70013 qcacld-3.0: Remove struct sTdlsLinkEstablishParams
WMA defines struct sTdlsLinkEstablishParams which is unused. Since
this is obsolete, remove it.

Change-Id: I2a28564ccb5ad85d65a62a5e9f0ac6c500a80c2d
CRs-Fixed: 2362013
2018-12-06 17:50:54 -08:00
nshrivas
35b3a2822a Release 5.2.0.110L
Release 5.2.0.110L

Change-Id: Id87a9e3db44a315ab162fae45d4992e69e8396ea
CRs-Fixed: 774533
2018-12-06 13:44:04 -08:00
Jeff Johnson
dca4e096ae qcacld-3.0: Remove typedef eCsrDot11FragThresh
The eCsrDot11FragThresh typedef, along with its member enumerations,
are unused, so remove them.

Change-Id: Ie57bf437072767b8befab8d28bb86b416737d137
CRs-Fixed: 2361343
2018-12-06 13:44:04 -08:00
Sourav Mohapatra
588410643b qcacld-3.0: Relocate HDD ini items (2)
Relocate the following CFG INI Items to the new infrastructure.

1. CFG_INTF0_MAC_ADDR_NAME
2. CFG_INTF1_MAC_ADDR_NAME
3. CFG_INTF2_MAC_ADDR_NAME
4. CFG_INTF3_MAC_ADDR_NAME
5. CFG_ACTION_OUI_CONNECT_1X1_NAME
6. CFG_ACTION_OUI_ITO_EXTENSION_NAME
7. CFG_ACTION_OUI_CCKM_1X1_NAME
8. CFG_ACTION_OUI_ITO_ALTERNATE_NAME
9. CFG_ACTION_OUI_SWITCH_TO_11N_MODE_NAME
10. CFG_ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN_NAME
11. CFG_ENABLE_ACTION_OUI

Change-Id: I6984096719a5abd7fa4f0a4f6641a17d29348332
CRs-Fixed: 2357175
2018-12-06 13:44:00 -08:00
Sourav Mohapatra
0dfe5550e0 qcacld-3.0: Relocate HDD ini items (1)
Relocate below HDD ini items as per converged infrastructure.
1. CFG_ENABLE_RUNTIME_PM
2. CFG_STA_KEEPALIVE_METHOD_NAME
3. CFG_ENABLE_MCC_ENABLED_NAME
4. CFG_ENABLE_SAP_SUSPEND
5. CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_NAME
6. CFG_INFORM_BSS_RSSI_RAW_NAME
7. CFG_AP_ENABLE_RANDOM_BSSID_NAME
8. CFG_VC_MODE_BITMAP

Change-Id: I881c87f9ca73804d03af358163c9a043b3193c81
CRs-Fixed: 2357174
2018-12-06 13:43:56 -08:00
nshrivas
6463ab4cf0 Release 5.2.0.110K
Release 5.2.0.110K

Change-Id: I0d8783c722c1cf2c5f128e29d7fac7f8ea8890f4
CRs-Fixed: 774533
2018-12-06 12:02:57 -08:00
Rajeev Kumar
1f97e10701 qcacld-3.0: Decouple PMO LPASS and NAN wow enable check from vdev
LPASS is driver specific feature which is controlled by INI item
and similarly NAN is also driver specific and not vdev specific
hence decouple PMO lpass and nan feature get APIs from vdev to
psoc.

Change-Id: I152f8b909cf85e412c2fa72a2e7147a1505e60e1
CRs-Fixed: 2361991
2018-12-06 12:02:56 -08:00
Jeff Johnson
ed79bf8fb6 qcacld-3.0: Remove csr_rates_find_best_rate()
Function csr_rates_find_best_rate() is unused, so remove it, along
with the now unused support function csr_rates_mac_prop_to_dot11().

Change-Id: I0a9e7894734a5a4f47030f8d12d0e41d0b23e95e
CRs-Fixed: 2361290
2018-12-06 12:02:53 -08:00
Jeff Johnson
0123e66e79 qcacld-3.0: Remove enum fine_time_meas_mask
enum fine_time_meas_mask is unused, so remove it.

Change-Id: I61ff69a33d42fb7b536cb0dbee21ae9ed23e78c2
CRs-Fixed: 2361395
2018-12-06 12:02:48 -08:00
nshrivas
c2211bc5a7 Release 5.2.0.110J
Release 5.2.0.110J

Change-Id: Ib38b2cb7b175453d7b4980dc6f26c2c0460d60bb
CRs-Fixed: 774533
2018-12-06 10:27:54 -08:00
Jianmin Zhu
3c50e40af5 qcacld-3.0: Handle Vdev restart Failure in STA mode
When switch channel failed,  need handle it gracefully,
pass failure to PE and disconnect current session.

Change-Id: If489e519a1784dabf630d5bde34ef8de56abf5e1
CRs-Fixed: 2360726
2018-12-06 10:27:54 -08:00
Abhishek Singh
5d921548f2 qcacld-3.0: Replace legacy string in vdevmgr with ext
Replace legacy string in vdevmgr with ext string.
Also adds new compile CMN_VDEV_MLME_CMPT_ENABLE macro
for VDEV MLME component.

Change-Id: I40ce0c2ee4d653d2f4ce68093e8ad1b2c78bece8
CRs-Fixed: 2361525
2018-12-06 10:27:50 -08:00
nshrivas
bbfe75b0a8 Release 5.2.0.110I
Release 5.2.0.110I

Change-Id: I257a43bcf60ad4707c6761a615cfa12dea89ea24
CRs-Fixed: 774533
2018-12-06 05:30:37 -08:00
Visweswara Tanuku
c029a20d2f qcacld-3.0: Stop bus bandwidth compute timer during driver remove
If interface is not closed, Bus bandwidth compute timer is not
stopped during rmmod.
Stop bus bandwidth compute timer during driver remove

Change-Id: If9206f9dcfb6120394848715a6f31a810002d0c9
CRs-Fixed: 2355345
2018-12-06 05:30:37 -08:00
nshrivas
be3db66c6e Release 5.2.0.110H
Release 5.2.0.110H

Change-Id: Ib1cba9289a4acf1be472fb53779fed1965c7a43b
CRs-Fixed: 774533
2018-12-06 04:01:21 -08:00
Jeff Johnson
3774abaca0 qcacld-3.0: Remove legacy STA stats infrastructure
The typedefs tAniStatSubTypes, tAniTxCtrs, & tAniRxCtrs, as well as
the ANI_CLEAR_* macros, are remnants from an ancestor of the current
driver. Since they are unused, remove them.

Change-Id: I7c54f821066d06cb6134021d04050c38c1be888e
CRs-Fixed: 2361225
2018-12-06 04:01:21 -08:00
nshrivas
e4670fd921 Release 5.2.0.110G
Release 5.2.0.110G

Change-Id: I67eb601a28ccb4b942f11328c2778d31437d01bf
CRs-Fixed: 774533
2018-12-06 02:23:17 -08:00
gaurank kathpalia
5ff11ef8e9 qcacld-3.0: Fix memory allocation latency in beacon process
Currently if the number of APs in the STA environment
are many, then the STA will receive many beacons, whose
beacon process path can take long time, in the kernel
work queue, hence the other processes have to wait
for them to complete, and may get timeout, if the
the time to process the beaocns is larger than their
process timeout.

Fix is to :-
1. Add rate limit to failure conditions of memory
not allocated
2. Make memory allocation in path of beacon process
atomic.

Change-Id: Ifad1d6985a48967d8f6f53527f86c1ee0f481b9e
CRs-Fixed: 2361471
2018-12-06 02:23:15 -08:00
nshrivas
965b0b0392 Release 5.2.0.110F
Release 5.2.0.110F

Change-Id: Id6f906a3ee8ee1e1e35fcaeef32ab78b8462605c
CRs-Fixed: 774533
2018-12-05 13:13:36 -08:00
lifeng
6d19c25d31 qcacld-3.0: Refine mlme btm configurations
Refine mlme btm configurations based on converged cfg component.
Remove related legacy codes.

Change-Id: I0a90eceea5636e268048ed6bf1532150dc1f6b24
CRs-Fixed: 2355353
2018-12-05 13:13:36 -08:00
nshrivas
38cdbdb849 Release 5.2.0.110E
Release 5.2.0.110E

Change-Id: Ic9810d45cfb042b1c8cf2b5ec6a3423f7f01a939
CRs-Fixed: 774533
2018-12-05 08:52:24 -08:00
Jeff Johnson
0f7c2f2b11 qcacld-3.0: Remove sir_convert_addts_req2_struct()
Function sir_convert_addts_req2_struct() is no longer used, so remove
it.

Change-Id: I6ba9abc085d51fe043eafcb7bd9bad8b8405ab99
CRs-Fixed: 2361289
2018-12-05 08:52:24 -08:00
nshrivas
df3eb492ff Release 5.2.0.110D
Release 5.2.0.110D

Change-Id: Ib9d83190a95db95d45eed017cb10cf45fa4276b2
CRs-Fixed: 774533
2018-12-05 06:58:50 -08:00
Jeff Johnson
b356a45f7a qcacld-3.0: Remove tdlsCmd from tSmeCmd
Field tdlsCmd in struct tSmeCmd is unused, so remove it. Since that
field is the only user of struct tTdlsCmd, remove it and its composite
structs as well.

Change-Id: I06f8293b7f0ec2827016825c93fccc7075fcc9b7
CRs-Fixed: 2361288
2018-12-05 06:50:39 -08:00
Jeff Johnson
7e7947c307 qcacld-3.0: Remove addStaSessionCmd from tSmeCmd
Field addStaSessionCmd in struct tSmeCmd is unused, so remove it.
Since that field is the only user of struct addstafor_sessioncmd
remove that as well.

Change-Id: I5624ab301c11045de34781dc4dff3ef7d2c784d8
CRs-Fixed: 2361287
2018-12-05 06:50:39 -08:00
Jeff Johnson
db4e363cd9 qcacld-3.0: Remove remainChlCmd from tSmeCmd
Field remainChlCmd in struct tSmeCmd is unused, so remove it. Since
that field is the only user of struct tRemainChlCmd, remove that as
well.

Change-Id: I99c7ee1187f8f17a1e4003fb3c2509e857745e20
CRs-Fixed: 2361286
2018-12-05 06:50:38 -08:00
nshrivas
e2aa6e6335 Release 5.2.0.110C
Release 5.2.0.110C

Change-Id: Ie99bb92ce60651b488403c6a97a8221ef8a41482
CRs-Fixed: 774533
2018-12-05 03:57:38 -08:00
Jeff Johnson
472e1111b3 qcacld-3.0: Remove struct hdd_scan_req
Scan request queueing has moved to the common project and
struct hdd_scan_req is no longer used, so remove it.

Change-Id: I88f2c6c313c7900406d6bddda87e612099d75e58
CRs-Fixed: 2361084
2018-12-05 03:57:38 -08:00
nshrivas
00d4cf95a1 Release 5.2.0.110B
Release 5.2.0.110B

Change-Id: Ib1c0468e33ccc8da9b70885af30e31f21ef00ec4
CRs-Fixed: 774533
2018-12-05 02:18:01 -08:00
Abhinav Kumar
58aaaadfb1 Revert "qcacld-3.0: Flush scan results on interface down"
This reverts the change id- I3505c128276fa8e5e05ea5d9110eb75275a746e9.

When wifi is toggled from GUI, in order to support MAC randomization
security mechanism  driver should not flush scan cache during interface
down. Framework has to set the scan flush flag so that driver will flush
the scan results while interface up and then do the scan.

Remove scan flush logic from driver on interface down.

Change-Id: I45ad1a257ab7ef4bd5474f52fd0dbfde5e3514c4
CRs-Fixed: 2360898
2018-12-05 02:18:01 -08:00
Jeff Johnson
5794d4f337 qcacld-3.0: Rename eHDD_DRV_OP_* enumerations
Per the Linux coding style "mixed-case names are frowned upon" so
remove the leading "e" from the eHDD_DRV_OP_* enumerations .

Change-Id: If756cbc89fb87f0dd8f4b0f7e8200d488a0215e7
CRs-Fixed: 2361015
2018-12-05 02:17:57 -08:00
Jeff Johnson
1c8769caab qcacld-3.0: Remove obsolete MAC Thread definitions
An ancestor of the current driver featured a multi-threaded MAC
implementation. Some definitions from that driver still exist,
including timer durations, service queue sizes, thread entry points,
thread stack sizes, and thread priorities. Since none of these are
used by the current driver, remove them.

Change-Id: I574aeeedcc8a67a4b763f7ef179753416ae1731e
CRs-Fixed: 2361051
2018-12-05 02:17:54 -08:00
nshrivas
74cb32d02d Release 5.2.0.110A
Release 5.2.0.110A

Change-Id: I1c888039ab667bcad9457cdb7e02e00ab32f136c
CRs-Fixed: 774533
2018-12-05 00:35:48 -08:00
Jeff Johnson
874d480846 qcacld-3.0: Remove obsolete DPH structs
The following DPH structs are unused, so remove them:
tDphRateBasedCtr
tDphPhyRates
tDphIFSValues
tDphQueueAttr

Change-Id: Iff29224090b1e6fb9e7f0ba358dc3cd2e5d4fab9
CRs-Fixed: 2360916
2018-12-05 00:35:47 -08:00
Jeff Johnson
d47337f256 qcacld-3.0: Remove typedef tdlsInfo_t
The information previously contained within tdlsInfo_t has been
relocated to struct tdls_info in the TDLS component, and tdlsInfo_t is
no longer being used, so remove it.

Change-Id: I96a4b7c442f9f42e53d6eeb4a7ba3182737d9e2c
CRs-Fixed: 2361021
2018-12-05 00:35:43 -08:00
nshrivas
3624d7b458 Release 5.2.0.110
Release 5.2.0.110

Change-Id: I55ef2bd3046cf2936830978eee374f0d6d783773
CRs-Fixed: 774533
2018-12-04 19:57:55 -08:00
Abhinav Kumar
d4d6eb7d4e qcacld-3.0: ADD MLME INI items of FE_BEAMFORM and WLAN_REG
Add the following WLAN_REG ini configs and FE_BEAMFORM
cfg items to MLME cfg:
1. WNI_CFG_11D_ENABLED
2. WNI_CFG_11H_ENABLED
3. WNI_CFG_TX_BF_CAP
4. WNI_CFG_AS_CAP
5. WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP

Introduce the basic infra APIs related to these configs
from mlme.

In csr_roam_open_session, lim_populate_vht_mcs_set,
lim_sta_send_add_bss, populate_dot11f_tdls_ht_vht_cap,
populate_dot11f_vht_caps and sme_update_nss, local structure
is updated instead of mlme global structure for vht caps and
thus the mlme vht caps contains only the default values.

Fix this by updating mlme vht caps in mlme_update_vht_cap.

Change-Id: I1a948d7a44ad2bcc7f711c46b278971d7e4026e7
CRs-Fixed: 2354562
2018-12-04 19:57:54 -08:00
nshrivas
dfa6faac89 Release 5.2.0.109Z
Release 5.2.0.109Z

Change-Id: Ic1751d6971749a62dd30e2ae94aace3049024c37
CRs-Fixed: 774533
2018-12-04 18:25:52 -08:00
Jeff Johnson
c59ef8b5b6 qcacld-3.0: Replace tpAniSirGlobal in SAP
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sap_api_link_cntl.c
sap_ch_select.c
sap_fsm.c
sap_internal.h
sap_module.c

Change-Id: Iec4f67fc3ba08cf046d00136fb0f4edf37d65d64
CRs-Fixed: 2360297
2018-12-04 18:25:51 -08:00
nshrivas
85ced48a66 Release 5.2.0.109Y
Release 5.2.0.109Y

Change-Id: I02b10a97592ede6e39a8b76a0689808e4cb058e1
CRs-Fixed: 774533
2018-12-04 16:45:11 -08:00
Jeff Johnson
9320c1e6bc qcacld-3.0: Replace tpAniSirGlobal in LIM misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_admit_control.c
lim_admit_control.h
lim_aid_mgmt.c
lim_assoc_utils.c
lim_assoc_utils.h
lim_ft.c
lim_ft.h
lim_ft_preauth.c
lim_ibss_peer_mgmt.c
lim_ibss_peer_mgmt.h
lim_link_monitoring_algo.c
lim_process_action_frame.c
lim_process_assoc_req_frame.c
lim_process_assoc_rsp_frame.c
lim_process_auth_frame.c
lim_process_beacon_frame.c
lim_process_cfg_updates.c
lim_process_deauth_frame.c
lim_process_disassoc_frame.c
lim_process_fils.c
lim_process_fils.h
lim_process_message_queue.c
lim_process_mlm_host_roam.c
lim_process_mlm_req_messages.c
lim_process_mlm_rsp_messages.c
lim_process_probe_req_frame.c
lim_process_probe_rsp_frame.c
lim_process_tdls.c
lim_prop_exts_utils.c
lim_prop_exts_utils.h
lim_reassoc_utils.c
lim_roam_timer_utils.c
lim_scan_result_utils.c
lim_scan_result_utils.h
lim_security_utils.c
lim_security_utils.h
lim_send_frames_host_roam.c
lim_send_management_frames.c
lim_send_messages.c
lim_send_messages.h
lim_send_sme_rsp_messages.c
lim_send_sme_rsp_messages.h
lim_ser_des_utils.c
lim_ser_des_utils.h
lim_session.c
lim_session.h
lim_session_utils.c
lim_session_utils.h
lim_sme_req_utils.c
lim_sme_req_utils.h
lim_sta_hash_api.c
lim_sta_hash_api.h
lim_timer_utils.c
lim_timer_utils.h
lim_trace.c
lim_trace.h

Change-Id: Ia3fa828ad2c1572beeaac363324dbf575e335876
CRs-Fixed: 2360307
2018-12-04 16:45:11 -08:00
Jeff Johnson
83d6c11801 qcacld-3.0: Replace tpAniSirGlobal in lim_process_sme_req_messages.c
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in lim_process_sme_req_messages.c.

Change-Id: If95c95d85de7ee5cfc4e6311b5356dc697b05f0a
CRs-Fixed: 2360306
2018-12-04 16:45:06 -08:00
Jeff Johnson
a271acdc9a qcacld-3.0: Replace tpAniSirGlobal in lim_api
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_api.c
lim_api.h

Change-Id: I9f3c2dcc0fe9f00c44f965fc0d3388327854b7a8
CRs-Fixed: 2360305
2018-12-04 16:45:01 -08:00
Jeff Johnson
8d8a9aba2c qcacld-3.0: Replace tpAniSirGlobal in lim_types.h
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in lim_types.h.

Change-Id: Id7c304df1e7e4c872dd0cdf86d1b288ae1e9d6f8
CRs-Fixed: 2360304
2018-12-04 16:44:56 -08:00
Jeff Johnson
07db4b389f qcacld-3.0: Replace tpAniSirGlobal in nan_datapath
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
nan_datapath.c
nan_datapath.h

Change-Id: Ie81269c78e042a985a3a7a0634037559b94825c7
CRs-Fixed: 2360303
2018-12-04 16:44:51 -08:00