Commit Graph

12865 Commits

Author SHA1 Message Date
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
Jeff Johnson
f010c7b544 qcacld-3.0: Replace tpAniSirGlobal in SCH
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sch_api.c
sch_api.h
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c

Change-Id: If8f67e3c3ef6bbd6da3ac2c3acfb45048f58fe53
CRs-Fixed: 2360302
2018-12-04 16:44:39 -08:00
Jeff Johnson
b228e0a9b9 qcacld-3.0: Replace tpAniSirGlobal in LIM RRM
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
rrm_api.c
rrm_api.h

Change-Id: Icc91e689c6ce8024e956500bddb955b3e7862ad1
CRs-Fixed: 2360301
2018-12-04 16:44:34 -08:00
Jeff Johnson
2d3d13f121 qcacld-3.0: Replace tpAniSirGlobal in MAC misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
ani_global.h
cfg_api.c
cfg_api.h
cfg_priv.h
cfg_proc_msg.c
cfg_send_msg.c
dph_hash_table.c
dph_hash_table.h
mac_init_api.c
mac_trace.c
mac_trace.h
sys_entry_func.c
sys_entry_func.h
utils_api.h
wlan_qct_sys.c

Change-Id: Iffe25ad77d7f289bdade2c0bd9ddb566c5ddadff
CRs-Fixed: 2360300
2018-12-04 16:44:31 -08:00
Jeff Johnson
d01da6b5d3 qcacld-3.0: Replace tpAniSirGlobal in lim_utils
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_utils.c
lim_utils.h

Change-Id: If1e5d47c6e5ac12fde3160fe53b2e992e172b156
CRs-Fixed: 2360299
2018-12-04 16:44:27 -08:00
Jeff Johnson
9f18aa74a4 qcacld-3.0: Replace tpAniSirGlobal in WMA
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
wlan_qct_wma_legacy.c
wma.h
wma_api.h
wma_data.c
wma_dev_if.c
wma_features.c
wma_if.h
wma_internal.h
wma_main.c
wma_mgmt.c
wma_scan_roam.c
wma_twt.c
wma_types.h
wma_utils.c

Change-Id: Ic48ad188f1b33da3d13ebead24b0827aed5ae6f0
CRs-Fixed: 2360298
2018-12-04 16:44:23 -08:00
nshrivas
1bce6e8a6e Release 5.2.0.109X
Release 5.2.0.109X

Change-Id: Ibfdd13a2d5d6fca969b67ccad7599c2a095d7929
CRs-Fixed: 774533
2018-12-04 08:28:57 -08:00
Abhinav Kumar
5e002903e1 qcacld-3.0: Check channel_count while handling DCC update ndl event
Invalid channel_count may be sent to driver by user with
QCA_NL80211_VENDOR_SUBCMD_DCC_UPDATE_NDL vendor command, and may also
pass the sanity check with update_ndl_param->dcc_ndl_chan_list_len as
integer overflow, in send_dcc_update_ndl_cmd_tlv. This leads to heap
overflow while updating NDL per channel.

Fix is to validate channel count sent by user in
__wlan_hdd_cfg80211_dcc_update_ndl before accessing it.

Change-Id: Icf385dd5618fcdbdbf427062fe581fa7d3909882
CRs-Fixed: 2339182
2018-12-04 08:28:57 -08:00
nshrivas
73c6949420 Release 5.2.0.109W
Release 5.2.0.109W

Change-Id: I75224bd79dc8a9ff90c1d0c405f3098eadec7fdf
CRs-Fixed: 774533
2018-12-04 05:36:58 -08:00
Jeff Johnson
63af281213 qcacld-3.0: Replace tpAniSirGlobal in SME misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
nan_api.c
nan_datapath_api.c
sme_ft_api.c
sme_ft_api.h
sme_inside.h
sme_nan_datapath.h
sme_power_save.c
sme_power_save_api.h
sme_rrm.c
sme_rrm_api.h
sme_trace.c
sme_trace.h

Change-Id: Ied3f2d5ef4bac2b4e67c0c1e1055dddf58f9868a
CRs-Fixed: 2360296
2018-12-04 05:36:57 -08:00
Jeff Johnson
5b2ad76127 qcacld-3.0: Replace tpAniSirGlobal in legacy parser
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
parser_api.c
parser_api.h
utils_parser.c
utils_parser.h

Change-Id: Iea09e107133f9621ccdfc0ed89aefcf48c1a16a3
CRs-Fixed: 2360294
2018-12-04 05:36:54 -08:00
Jeff Johnson
9b95e306b8 qcacld-3.0: Replace tpAniSirGlobal in SME QOS
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_qos.c
sme_qos_api.h
sme_qos_internal.h

Change-Id: Idb247cfab508543bbdaa9cd1f57a374fc8b6799e
CRs-Fixed: 2360293
2018-12-04 05:36:51 -08:00
Jeff Johnson
edece84530 qcacld-3.0: Replace tpAniSirGlobal in SME CSR
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
csr_api.h
csr_api_roam.c
csr_api_scan.c
csr_cmd_process.c
csr_host_scan_roam.c
csr_inside_api.h
csr_internal.h
csr_neighbor_roam.c
csr_neighbor_roam.h
csr_roam_preauth.c
csr_support.h
csr_util.c

Change-Id: I38a4602d5e31c818e81df2a9de8073667087f44a
CRs-Fixed: 2360292
2018-12-04 05:36:47 -08:00
Jeff Johnson
0a8786ae3f qcacld-3.0: Replace tpAniSirGlobal in sme_api
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_api.h
sme_api.c

Change-Id: If0264aeecf484c1adf4342a895e3449aee8f3006
CRs-Fixed: 2360291
2018-12-04 05:36:44 -08:00
Jeff Johnson
e044f20d1f qcacld-3.0: Replace tpAniSirGlobal in struct sSirSmeReadyReq
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in struct sSirSmeReadyReq.

Change-Id: I29b0ce1559f6907428f7004a44250ed6b25fa67a
CRs-Fixed: 2360290
2018-12-04 05:36:40 -08:00
Krunal Soni
ee6309f48a qcacld-3.0: When PS is disabled from INI, return success to kernel
If power-save is disabled then driver is returning failure to KERNEL
which causes framework and kernel to go out of sync and therefor
kernel doesn't accept any power-save enablement command from framework.

CRs-Fixed: 2357896
Change-Id: I36db68454f1ff6661563d021fc5b75b8161e8a78
2018-12-04 05:36:37 -08:00
nshrivas
e2399366e9 Release 5.2.0.109V
Release 5.2.0.109V

Change-Id: I537d8846fc89c58189cdfc705183b9ebc7dbca11
CRs-Fixed: 774533
2018-12-04 04:04:04 -08:00
Alok Kumar
3f3000fd73 qcacld-3.0: Add INI parameter for PEER UNMAP CONF SUPPORT
Add INI parameter "gEnablePeerUnmapConfSupport" to enable/disable
peer unmap confirmation support. When enabled Host will send
this support to the FW only if FW support is also enabled.
Default Value: False

Change-Id: Id368e61b5a99354e25a1fa2a0ff61b1262217521
CRs-Fixed: 2358126
2018-12-04 04:04:03 -08:00
nshrivas
3672a9ba9b Release 5.2.0.109U
Release 5.2.0.109U

Change-Id: I50bdb2784d92108254797f5209d512967dedc7b2
CRs-Fixed: 774533
2018-12-04 00:06:01 -08:00
Arif Hussain
bd5194c5e0 qcacld-3.0: Refactor CFG_FINE_TIME_MEAS_CAPABILITY cfg
Refactor following CFG_FINE_TIME_MEAS_CAPABILITY cfg items.

Change-Id: I854e584e366490f788ee778adad3fec0c2b5c8cc
CRs-Fixed: 2357070
2018-12-04 00:06:01 -08:00
Arif Hussain
4966f697ef qcacld-3.0: Refactor CFG_WMI_WQ_WATCHDOG cfg
Refactor following  CFG_WMI_WQ_WATCHDOG cfg items.

Change-Id: Ib65c6cda2a2574940604e8b67bc29a6749add842
CRs-Fixed: 2357070
2018-12-04 00:05:57 -08:00
Arif Hussain
224d38154f qcacld-3.0: Refactor more dfs cfg items
Refactor following DFS cfg items
CFG_DISABLE_DFS_CH_SWITCH
CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_NAME
CFG_IGNORE_CAC_NAME
CFG_DFS_RADAR_PRI_MULTIPLIER_NAME
CFG_SAP_TX_LEAKAGE_THRESHOLD_NAME
CFG_DFS_BEACON_TX_ENHANCED
CFG_DISABLE_DFS_JAPAN_W53
CFG_ENABLE_NON_DFS_CHAN_ON_RADAR

Change-Id: I7f39ed0680919c6a383d9b8bae5864f979b6948c
CRs-Fixed: 2351995
2018-12-04 00:05:53 -08:00
nshrivas
461ab006eb Release 5.2.0.109T
Release 5.2.0.109T

Change-Id: I932842bbcde2c9748906b112d304eaa15280e45b
CRs-Fixed: 774533
2018-12-03 15:18:00 -08:00
Nachiket Kukade
63bb63d833 qcacld-3.0: Complete the NAN component movement into CLD
NAN related OS IF, Target IF and component files have been
merged into CLD. Add Makefile changes, include correct
files, replace lmac tx/rx ops with the new ops and call
updated API's such as init/deinit.

Complete the remaining changes for moving NAN component
into CLD.

Change-Id: Idcf8816337aa49b399596ce3cdfc9cdab811d386
CRs-Fixed: 2338060
2018-12-03 15:17:59 -08:00
nshrivas
3079478a5b Release 5.2.0.109S
Release 5.2.0.109S

Change-Id: I60f377b5638070153968cffd5fc441c8acaad016
CRs-Fixed: 774533
2018-12-03 13:46:33 -08:00
Jeff Johnson
b5c1333cf4 qcacld-3.0: Replace pSessionEntry with pe_session
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon. There are multiple variations of
the identifier "pSessionEntry" currently in use, so replace them with
pe_session everywhere they occur in the driver.

Change-Id: I6cc37504bf9e8821c0e1c3d99e4f97a57aaba24c
CRs-Fixed: 2360166
2018-12-03 11:09:46 -08:00
nshrivas
a806ed3958 Release 5.2.0.109R
Release 5.2.0.109R

Change-Id: Ia11d27a455522ecd8e8d161705934b761ddd997e
CRs-Fixed: 774533
2018-12-03 11:01:22 -08:00
Jeff Johnson
8aebe614be qcacld-3.0: Rename pPeer
To conform to the Linux coding style rename all instances of "pPeer"
to "peer".

Change-Id: I012a647e97a01f29224620682bff70a814ee3cc8
CRs-Fixed: 2359578
2018-12-03 11:01:21 -08:00
nshrivas
c58c6e8adb Release 5.2.0.109Q
Release 5.2.0.109Q

Change-Id: I4dc4eb0370782a46d6415457cecbdbb74c14a063
CRs-Fixed: 774533
2018-12-03 09:13:11 -08:00
Jeff Johnson
f3408a6b99 qcacld-3.0: Rename pftSessionEntry
The identifier pftSessionEntry, which is used throughout the LIM FT
code, does not conform to the Linux coding style, so rename it to
ft_session to be compliant.

Change-Id: I466b396e4f84f1e02fa50dffa857fd43000fba27
CRs-Fixed: 2359658
2018-12-03 09:13:11 -08:00
nshrivas
5b816694cc Release 5.2.0.109P
Release 5.2.0.109P

Change-Id: Icd3ea40f98566f5f8f15c69c130b73681634d37b
CRs-Fixed: 774533
2018-12-03 05:48:09 -08:00
jiad
7b8a5e0e53 qcacld-3.0: Fix TDLS featurization build failure
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of TDLS, so fix the featurization
build failures.

Change-Id: I0e6b21615e763f2c4c86e0092807062cc8397705
CRs-Fixed: 2355801
2018-12-03 05:48:08 -08:00
jiad
6ee0ab11de qcacld-3.0: Enable MOBILE_ROUTER feature on SDXPRAIRIE
Enable MOBILE_ROUTER feature flag on SDXPRAIRIE, which is
a MDM platform.

Change-Id: I039b56b639cd5afb13fba23f4463dc9979c82412
CRs-Fixed: 2359660
2018-12-03 05:48:05 -08:00
nshrivas
4673ededb8 Release 5.2.0.109O
Release 5.2.0.109O

Change-Id: I749aa9d88db4825c011c0c6054bd7aecba0134b9
CRs-Fixed: 774533
2018-12-03 01:41:58 -08:00
Jeff Johnson
ef8cc9b2e1 qcacld-3.0: Fix wlan_hdd_nud_tracking.h copyright comment block
The copyright comment block in wlan_hdd_nud_tracking.h is not properly
aligned, so fix it.

Change-Id: I180980435c062fbdc43db58f84d9b48335f6bdc6
CRs-Fixed: 2359488
2018-12-03 01:41:58 -08:00
nshrivas
bfd3ec638b Release 5.2.0.109N
Release 5.2.0.109N

Change-Id: Iea1497a9913181269d84fc0a1caa5ee982d71b4a
CRs-Fixed: 774533
2018-12-02 22:31:23 -08:00