Commit Graph

13474 Commits

Author SHA1 Message Date
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
Linux Build Service Account
ee4ea408f6 Merge commit 'bf95f89d580858f9aaa5a09ec9bc1b0b0c410ef7' into wlan-cld3.driver.lnx.2.0
Change-Id: I0923b31931ebf99ef4d3a717bba279e8bade0dfb
2018-12-04 17:20:13 +05:30
Linux Build Service Account
bf95f89d58 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../qca-wifi-host-cmn into HEAD 2018-12-04 16:15:31 +05:30
Linux Build Service Account
2954fcd110 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../os/qca-wifi-host-cmn into HEAD 2018-12-04 16:14:25 +05:30
Linux Build Service Account
ec542fe9bd Move to os_if/tdls
Change-Id: I4f48da96ff9e3d726cffd4f1795657c9ada2429e
2018-12-04 16:14:01 +05:30
Linux Build Service Account
8f8a4f35e0 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../target/qca-wifi-host-cmn into HEAD 2018-12-04 16:12:45 +05:30
Linux Build Service Account
951c7235f4 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../qca-wifi-host-cmn into HEAD 2018-12-04 16:12:15 +05:30
Linux Build Service Account
8b821af056 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../os/qca-wifi-host-cmn into HEAD 2018-12-04 16:06:49 +05:30
Linux Build Service Account
c4ee8ca270 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../target2/qca-wifi-host-cmn into HEAD 2018-12-04 16:06:27 +05:30
Linux Build Service Account
0ce7a041e0 Merge branch 'wlan-cmn.driver.lnx.2.0' of ../qca-wifi-host-cmn into HEAD 2018-12-04 16:05:56 +05:30
Linux Build Service Account
09afffa36f Move to os_if/p2p
Change-Id: I08c7707a4a1acc4caa1842acd21e2104ddbd084a
2018-12-04 16:04:42 +05:30
Linux Build Service Account
478b1fa7a8 Move umac/cmn_services/policy_mgr to components/cmn_services/policy_mgr
Change-Id: Ie67730cd3f1a249c3dcbb2b6eaf95a55cbd08306
2018-12-04 15:59:42 +05:30
Linux Build Service Account
83edbc80fe Move os_if/linxu/tdls to components/os_if/linux/tdls
Change-Id: I89891b041b9ead12fec9c4fa86bad991326b5b28
2018-12-04 15:51:25 +05:30
Linux Build Service Account
d2bb8757a6 Move target_if/tdls to components/target_if/tdls
Change-Id: Ia72f8dddc21df49bab8ba63be38ce080d858c603
2018-12-04 15:49:52 +05:30
Linux Build Service Account
92728a078f Move umac/tdls to components/tdls
Change-Id: I12eedee6215337be7f5dbcf6d546910cecedd3c3
2018-12-04 15:47:36 +05:30
Linux Build Service Account
22109fd150 Move os_if/linux/p2p to components/os_if/linux/p2p
Change-Id: I834f4ca6b8f5e56559a4de3f28c955d78deca7cb
2018-12-04 15:36:30 +05:30
Linux Build Service Account
7f1b42dbad Move target_if/p2p to components/target_if/p2p
Change-Id: I1ea8a2cc9f31223407fac0925b74e3c5a37bc6e5
2018-12-04 15:34:44 +05:30
Linux Build Service Account
11a56702a8 Move umac/p2p to components/p2p
Change-Id: I8ca4c55470674422eca2dc80dd269cf45d4942ea
2018-12-04 15:32:54 +05:30
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