Currently, Host is operating into STA (mission mode) and scan
is pending into the pending queue. As a part of the mission
mode to ftm transition scan pending queue is not flushed. Hence
later during driver unload, host try to flush this pending
request but sta adpater is already freed during con mode
transition which lead to kernel panic.
As a part of this fix, Host ensures to flush pending scan
queue during con mode handling.
Change-Id: I13da323217a36777b9307c1bc76febc1a1b9b591
CRs-Fixed: 2082105
Vendor VHT IE carries different sub type values from different
devices hence vendor VHT IE parsing fails if sub type value is
considered to check IE presence. Do not check for sub type value
in vendor VHT IE parsing
Change-Id: I50a8916214c17c1873fd90b65d29e48f1fa13994
CRs-Fixed: 2115113
Compiler is throwing error - undefined variable 'bus_bw_work' after
MSM_PLATFORM disabled.
Wrap the related code within MSM_PLATFORM.
CRs-Fixed: 2113835
Change-Id: I628df9de911fb17670d63ce577a614408c545aec
HTT_RX_HOST_LATENCY_WORST_LIKELY_MS is changed from 10 to 20
for Helium support. But 20 is aggressive for Rome and traffic
hang is seen.
Fix is to define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS as 10
for Rome support.
Change-Id: Iaaa86ed70d145ac9898300e9b678008781215617
CRs-Fixed: 2050912
wma_get_caps_for_phyidx_hwmode() does not check legacy chips like Rome,
which leads to wrong HT/VHT caps being populated.
Fix is to check legacy chips in wma_get_caps_for_phyidx_hwmode() and
populate HT/VHT caps accordingly including RX LDPC capability.
Change-Id: I496191636f0f21ef3399c24fbfb43a562ca2debc
CRs-Fixed: 2061889
Currently HDD sends a FW memory dump request to firmware without
checking support for this feature. This can lead to a crash as firmware
doesn't send the command response if feature is not supported.
Add a check in HDD so that the request is only sent when FW memory dump
capability is advertised by the firmware.
Change-Id: I73b980f50910e13aa5f2d2434f07b6f985dd5010
CRs-fixed: 1090806
When AP is in 11b-only mode then for a TDLS peer, in the peer_assoc
command to FW, pass phymode as per capability of the TDLS peer.
Change-Id: If1a84b35c2e755aad8b6b67536cbbcc49d378fda
CRs-Fixed: 2093277
cds_get_global_context() is the only remaining API which uses
the v_CONTEXT_t typedef. It was always strange to have an
abstraction for (void *) since that is an integral part of C99
and hence does not require abstraction, so replace the return
type of cds_get_global_context() from v_CONTEXT_t to void *.
Change-Id: I836994bf7405db54eea333bbb29785e606fb0196
CRs-Fixed: 2117092
Currently in hdd_wlan_shutdown() and hdd_wlan_re_init() there are
calls to cds_get_global_context(), but the returned context isn't
actually used, so remove these calls.
Change-Id: I21b2a4955d926fe0694f4f8a3097d9a5d5bef02e
CRs-Fixed: 2117018
Currently cds_init() returns a pointer to the CDS Global Context. At
one time this was necessary since it was required to subsequently pass
this context pointer to other CDS APIs. But now CDS internally
maintains a pointer to its context, and no CDS APIs now require this
pointer, so no longer return the pointer. The ultimate goal is to keep
all references to the CDS context inside CDS.
Change-Id: Id068a2d351e492eca7b84ef23f277939104c8b46
CRs-Fixed: 2117004
The pcds_context field in struct hdd_context is no longer referenced,
so remove the field along with the code that currently initializes it.
Change-Id: Ibac0eedfa0c1e2bd170af9f91812fd25c0ab3ce7
CRs-Fixed: 2116985
In hdd_softap_sta_deauth() and hdd_softap_sta_disassoc() there
currently exist debug logs which are logging the CDS context
pointer. These logs serve no useful purpose, so remove them.
Change-Id: I3844cb1346dcc6050ad16f28caf7b07b1e79cfe4
CRs-Fixed: 2116979
Currently HDD passes the CDS context to sme_get_rssi(), which in turn
passes it to csr_get_rssi(), which in turn uses it to populate the
p_cds_context field in the tAniGetRssiReq message. Upon processing of
this message by csr_update_rssi() the p_cds_context is checked for
NULL but is otherwise unused. Since the CDS context is not needed,
remove it from all of the RSSI APIs.
Change-Id: I5836e3192205576f6ff4614a29356e73fe674848
CRs-Fixed: 2116954
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_channel_change_request() to use the
true struct pointer type.
Change-Id: I829d33be89e319d6e81b99b94badb023109c29b2
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start_beacon_req() to use the true struct pointer type.
Change-Id: I92bb5538425b7f9c8d366854e59bdb57eb8c19aa
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_dfs_send_csa_ie_request() to use the
true struct pointer type.
Change-Id: I7abb2cdefab70e6c7997f438221a7f0aa4c8e3af
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_set_vendor_acs() to use the true struct pointer type.
Change-Id: Iba77a686dc08251dbaee74554ee7de3080ad8b64
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_dfs_nol() to use the true struct pointer type.
Change-Id: I4a430915f8e1cb5378f80e5d6cb34690e33160ea
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_dfs_nol() to use the true struct pointer type.
Change-Id: I762ef985ee5ec40c79d4cdaafc4e89710edb2366
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_scan_callback() to use the true struct pointer type.
Change-Id: I7c77827de37a4beb4bedcfb5716e61573c27eaad
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_cleanup_cac_timer() to use the true struct pointer type.
And since this removes that last usage of CDS_GET_SAP_CB(), remove the
now obsolete macro.
Change-Id: I35338df7dc8cf74cb491d5c901200d685b40a55e
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_set_invalid_session() to use the true
struct pointer type.
Change-Id: Ib7c56dd9b04ececdb7518648f6ba9cc3e3ed7428
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_chan_width() to use the true struct pointer type.
Change-Id: Iec86249524c042ae6dba818bb5983fd91d9e61fd
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_acs_chselect() to use the true struct pointer type.
Change-Id: I954c519954207c5cc487296dd42b8b2b46c08173
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update sap_is_auto_channel_select() to use the true
struct pointer type.
Change-Id: I9a233ba67f773edce6a866dc0664f92cf3610c81
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlan_sap_set_pre_cac_complete_status() to use
the true struct pointer type.
Change-Id: I814af33f02c847e542bb3c1b87d1f8da3cd82ff1
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlan_sap_set_chan_before_pre_cac() to use the
true struct pointer type.
Change-Id: I4dd1a526645317560a2929ddc4fed496d71867d1
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlan_sap_set_pre_cac_status() to use the true
struct pointer type.
Change-Id: Ic9ee7bfa01eb01c7c8c6b665c25300611fb7edde
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlan_sap_update_next_channel() to use the true
struct pointer type.
Change-Id: I10226f1bc7d4e47fb363de54b4bc0bc7784416ef
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_cancel_remain_on_channel() to use the
true struct pointer type.
Change-Id: Ibaa79aa4edd9c60915319e2b8f507e70acc0d774
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_remain_on_channel() to use the true struct pointer type.
Change-Id: Iaa8be32f34e61da652b74e67c36d1cf27f13d961
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_send_action() to use the true struct pointer type.
Change-Id: I122b84fd9156558789b1b9d87120804d5598f3a4
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_key_sta() to use the true struct pointer type.
Change-Id: I401f5dcf04547b263daf89b75cd17a6768d9f1d5
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_set_channel_change_with_csa() to use
the true struct pointer type.
Change-Id: Ia4b31f9f726528e9c76f60d4fc314fc87b892555
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_deauth_sta() to use the true struct pointer type.
Change-Id: Ia58822ad42d2a36333c4c085f6a4f4498d70e5f8
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_disassoc_sta() to use the true struct pointer type.
Change-Id: I20209f92b7313026aee712a639f3605619255079
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_clear_acl() to use the true struct pointer type.
Change-Id: I7ffab7e01a107ad476c2a02ffb60bad4d9b62a97
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_acl_deny_list() to use the true struct pointer type.
Change-Id: I8d0981b6a11d854fc3f4b228703271608367bcab
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_get_acl_accept_list() to use the true
struct pointer type.
Change-Id: I6dd326745fee2769753afb71f64bbf6ef3023a22
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_acl_mode() to use the true struct pointer type.
Change-Id: I4eb660074e58ce7cf6d74b755a12ec10961766b4
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Rename wlansap_set_mode() to wlansap_set_acl_mode() to align
with the naming of the "get" function, and update it to use the true
struct pointer type.
Change-Id: Ic4ad32ffa222f5fc70b0619cb150d737a573c474
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_mac_acl() to use the true struct pointer type.
Change-Id: I3d32647b2e9dfdea2314f8a3ade8aee82c94f8af
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_stop_bss() to use the true struct pointer type.
Change-Id: I225637ad0543e721bee34378cd3619e1fb785c60
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start_bss() to use the true struct pointer type.
Change-Id: Ic6db98d641f5c71967f04e09b7b41ec20285bc99
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_set_vht_ch_width() to use the true struct pointer type.
Change-Id: I0858cb97b0a99fddcbcb88551280858789d8c0e9
CRs-Fixed: 2116267
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_get_vht_ch_width() to use the true struct pointer type.
Change-Id: I1c717866721a6f2573df5bc7adbd0ddb6ea61cc3
CRs-Fixed: 2116267