Commit Graph

12900 Commits

Author SHA1 Message Date
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
Jianmin Zhu
69e7bf332c qcacld-3.0: Enable CSA of STA mode for VDEV SM
After receive F/W wmi_csa_handling_event
1. Send WLAN_VDEV_SM_EV_FW_VDEV_RESTART before switch channel
	when gLimChannelSwitchTimer timeout.
2. Call __lim_process_channel_switch_timeout in
	mlme_vdev_restart_send.
3. Send WLAN_VDEV_SM_EV_RESTART_RESP in
	wma_vdev_start_resp_handler.
4. Send WMA_SWITCH_CHANNEL_RSP in mlme_vdev_start_continue.
5. Send WLAN_VDEV_SM_EV_START_SUCCESS in
	lim_switch_channel_cback.

Change-Id: I18e64ddf4ca898189cd22a3c8102a67702a025cc
CRs-Fixed: 2355762
2018-12-02 22:31:22 -08:00
nshrivas
11f45acf12 Release 5.2.0.109M
Release 5.2.0.109M

Change-Id: I888fd83691c57b42dd9243ec86dbc08bff02703c
CRs-Fixed: 774533
2018-12-02 19:14:19 -08:00
Jeff Johnson
8f358f6d64 qcacld-3.0: Remove typedef tpPESession
All references to typedef tpPESession have been converted to instead
to refer to the underlying struct, so remove the now obsolete typedef.

Change-Id: I58d80f42527a2edb20ca27a514600aa308e78fd8
CRs-Fixed: 2354302
2018-12-02 19:14:18 -08:00
nshrivas
ef7450bbe1 Release 5.2.0.109L
Release 5.2.0.109L

Change-Id: I1dd4d8970cd8bd3f3825a95d5787608936eb6e1b
CRs-Fixed: 774533
2018-12-02 14:59:45 -08:00
gaurank kathpalia
3d2e38572b qcacld-3.0: Add CFG items of power
Add power items related CFG items in new file,
and store the respective inis in MLME component

Change-Id: Iac183da52495aca07c6270edeb9f383ab49c1ff5
CRs-Fixed: 2341900
2018-12-02 14:59:45 -08:00
Jeff Johnson
5b574dd196 qcacld-3.0: Replace tpPESession in lim_process_assoc_req_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_assoc_req_frame.

Change-Id: Ieab2818e7f0121f65454a29e2bfa716021bd2355
CRs-Fixed: 2354293
2018-12-02 14:59:41 -08:00
Jeff Johnson
f719052617 qcacld-3.0: Replace tpPESession in lim_process_auth_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_auth_frame.

Change-Id: I5b40607744f57e30eeb4f4bc6ab7dd9996035e1e
CRs-Fixed: 2354295
2018-12-02 14:59:38 -08:00
Jeff Johnson
a7071e6e39 qcacld-3.0: Replace tpPESession in lim_process_mlm_req_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_req_messages.

Change-Id: I573e4775936c0139f4853725675359af7b8511ee
CRs-Fixed: 2354285
2018-12-02 14:59:34 -08:00
Jeff Johnson
c246b29551 qcacld-3.0: Replace tpPESession in lim_process_tdls
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_tdls.

Change-Id: I410d0da4f6fc3202b4d96ca79ce7a8cdf5b7e145
CRs-Fixed: 2354290
2018-12-02 14:59:30 -08:00
nshrivas
f7bac73e37 Release 5.2.0.109K
Release 5.2.0.109K

Change-Id: I2d8813412af31c5790c9262bfed64fb275a92e6e
CRs-Fixed: 774533
2018-12-02 13:30:58 -08:00
Jeff Johnson
f6f4aebb26 qcacld-3.0: Replace tpPESession in lim_process_mlm_rsp_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_rsp_messages.

Change-Id: I30b485531801979b8da934975eeda5bcf34294fe
CRs-Fixed: 2354289
2018-12-02 13:30:58 -08:00
Jeff Johnson
c7f8094ceb qcacld-3.0: Correctly export hdd_conn_set_connection_state()
There are multiple issues with how hdd_conn_set_connection_state()
is exported:
1) The prototype is defined in wlan_hdd_cfg80211.h even though the
   implementation is in wlan_hdd_assoc.c.
2) The prototype uses the "extern" keyword which violates the Linux
   Kernel coding style.
3) The implementation is documented instead of the interface.

To address these issues move the prototype (without "extern") as well
as the documentation to wlan_hdd_assoc.h.

Change-Id: Ie2b80e953cc500c10ae14d94c375cc1487241b6c
CRs-Fixed: 2357078
2018-12-02 13:30:54 -08:00
nshrivas
8b667c9f8c Release 5.2.0.109J
Release 5.2.0.109J

Change-Id: Ib46f1602719a26dd9b312dafd3073ca5ea491f53
CRs-Fixed: 774533
2018-12-02 11:55:10 -08:00
Jeff Johnson
209dfa0b2c qcacld-3.0: Replace tpPESession in lim_process_sme_req_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_sme_req_messages.

Change-Id: I1de7a895225db8abaa462c6baef297eac299a77b
CRs-Fixed: 2354329
2018-12-02 11:55:10 -08:00
Jeff Johnson
a781565642 qcacld-3.0: Replace tpPESession in lim_send_management_frames
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_management_frames.

Change-Id: Ieace9841d36d93371c0929ef5232c052cade4d8e
CRs-Fixed: 2354288
2018-12-02 11:55:06 -08:00