There are two different implementations of wlan_ptp_gettime()
depending upon the version of the Linux Kernel. The implementation
for versions before Linux Kernel 4.1 has an unused stack variable,
tsf_reg_read_enabled. This can result in compiler warnings, so
remove it.
Change-Id: I1ed7e15ff0cf8867356e8cea39bff5f4ee362877
CRs-Fixed: 3426059
Currently, on obss color collision detection driver sends bss color
change IE in beacon and updates the color switch count in IE in
every beacon until color switch count reaches 0.
If the wlan driver enters suspend during this updation of bss color
change IE in beacon, the bss color change is not completed until wlan
resumes. This will lead to delay in bss color change after bss color
collision is detected.
To fix this issue, acquire wakelock once obss color collision is
detected and release it once obss color change is completed. This fix
is similar to how CSA is handled currently in driver.
Change-Id: I9c3e7cfe16da116905121b044054c0987afbca09
CRs-Fixed: 3405919
The following patch removed all usage of the defer_key_complete member
in struct hdd_roaming_info:
qcacld-3.0: Remove unused code for defer key
Change-Id I8afcebf00b00bcf39ba7da999c55e5eacdf26aaa
Since it is obsolete, remove it.
Change-Id: I4ed0eeba29ed74ddc82bf2a6723d73b49a9b907f
CRs-Fixed: 3424957
The tAniSirLim struct contains multiple counters. Although all of them
are initialized, only some of them are ever incremented, and very few
of them actually have their values read. Since it is pointless to keep
counters that are never examined, remove the ones that are never read.
As part of the cleanup replace the tAniSirLim typedef with a properly
named struct to align with the coding standard.
Change-Id: I8b306ff9ae92a54953dd54b80c58e691612c43a0
CRs-Fixed: 3424936
Member numChannelsDefault in struct csr_scanstruct is written but
never read. Since the value is unused, this member is obsolete, so
remove it.
Change-Id: Id08de8421a1891a4b7cde5d191c4e168b2313c12
CRs-Fixed: 3424922
NAN componentization removed the usage of most legacy NAN data
structures in sir_api.h, so remove those that are no longer used.
Change-Id: I8389dee19a8a044e8d06ff52207fc11a3bbf97a0
CRs-Fixed: 3424918
The function wlan_hdd_display_txrx_stats() was removed as part of
datapath componentization in:
qcacld-3.0: Code cleanup from HDD module
Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a
However the prototype was left behind, so remove it as well.
Change-Id: I9b41bceff4a149e3aaf2938713ad0ca4a6735aa6
CRs-Fixed: 3426033
Host driver may abort the roam sync due to multiple reason.
The expectation is to revert the state of vdevs/links to original
state i.e. before receiving the roam sync indication.
Currently, there is a cleanup of vdev MLO bitmap assuming that
roam abort should reset whatever is set as part of roam sync
handling. But these flags might get set in previous connection
and are not supposed to reset upon roam sync abort.
Driver does the disconnection as part of HO_FAIL event handling
and corresponding vdev MLO flags gets cleared as part of that.
So, don't cleanup any vdev flags as part of roam sync abort.
Cleanup wlan_connect_req_links which is set only when roam sync
starts.
Change-Id: I5ca0d789a49fcf954dac332f494650866913f94b
CRs-Fixed: 3418430
Currently in the driver as part of ML unified_ll_get_sta stats,
the peer mac address for partner link is not being updated in
the callback function, causing driver to report incorrect
stats to upper layers.
To fix this issue, update peer mac address before invoking
vdev station stats callback function.
Change-Id: I39c460467a3572aad05e4c5fab136a844b753941
CRs-Fixed: 3421153
The following patch added logic to HDD to read the value of the
CFG_DP_RX_FISA_LRU_DEL_ENABLE configuration item and store it in
struct hdd_config:
qcacld-3.0: Add ini to enable FISA LRU eviction
Change-Id I9930ec260bcab5ba8c8f1e594dbfde35965dff2e
However, the datapath maintains this configuration item on its own, and
the copy maintained by HDD is not used, so remove that logic.
Change-Id: I970195cf199c33802db5f84eeea4f622306703cd
CRs-Fixed: 3424797
In the driver, the debugfs replacement command for getConfig
WEXT command logs ini configuration into a separate file only
but doesn't log into the wlan host_driver_logs file.
So, fix this by logging ini configuration to wlan host_driver_logs.
Change-Id: I134847a7b498defbcdd58b575fb775b2d0ef3070
CRs-Fixed: 3424575
The functionality that called hdd_txrx_get_tx_ack_count() was remove by:
qcacld-3.0: Code cleanup from HDD module
Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a
Since datapath componentization made hdd_txrx_get_tx_ack_count()
obsolete, remove it.
Change-Id: I86cb82794f6ae324034d8a4fb76ac5084aced3aa
CRs-Fixed: 3424800
The logic that utilized struct lim_max_tx_pwr_attr was removed with:
qcacld-3.0: Add TPC calculation logic to obtain max tx power
Change-Id I80a2454c2ef0dbc3b1d69e8b233b1a56567ec1a1
Since this struct is obsolete, remove it.
Change-Id: I5c885e5b37ee2e451a0c5474c2d6e7540ada93b9
CRs-Fixed: 3423249
Update wlan_hdd_set_ratemask_param_policy nl policy from
QCA_WLAN_VENDOR_ATTR_RATEMASK_PARAMS_LIST to NLA_NESTED
in order to allow use array indices as nested attribute.
Change-Id: I68abd4c920dba625bea0b37f542ccb748b35db39
CRs-Fixed: 3419294
The logic that used struct hdd_context::disconnect_for_sta_mon_conc
was removed with:
qcacld-3.0: Code cleanup for connection manager in HDD
Change-Id I2934e4a867458561c50170b0e786e63f20f1af4a
This member is now only written and never read, hence it is obsolete,
so remove it.
Change-Id: Iff1b4a1e508bc193c9d40c11f31317f353874b52
CRs-Fixed: 3424792
The following patch removed the use of hdd_wait_for_dp_tx():
qcacld-3.0: Update HDD to use DP component APIs
Change-Id I377aecc4343e75dd17d279a2eb84fc49e737e784
Since the function is obsolete, remove it.
Note that this removes the only code that depends upon the
dp_protect_entry_count atomic variable, which means that is also
obsolete, as are the hdd_dp_ssr_protect() and hdd_dp_ssr_unprotect()
functions that increment and decrement it.
Change-Id: I02621dabf2e67a39259c4a51a604312f1927f72d
CRs-Fixed: 3424826
One of the parameters to the ucfg_dp_config_direct_link() stub
implementation does not match the associated parameter in the
prototype. The stub and the prototype should match, so modify the
stub to align with the prototype, which matches the non-stub
implementation.
Change-Id: If9dda7db2bfbbce94c0356a73b33ae7569337955
CRs-Fixed: 3424788
The logic that invoked wma_lro_init() was removed by the patch:
qcacld-3.0: Code cleanup from HDD module
Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a
Since this function is no longer used, remove it.
That removes the logic which used to send the WMA_LRO_CONFIG_CMD
command. Since that command is no longer used, also remove the
command handler, wma_lro_config_cmd(), along with the command
definition itself.
Change-Id: I1416d8c635a908d33cc41046ffd0ff63837dae99
CRs-Fixed: 3424790
The kernel-doc script identified documentation issues in
core/wma/inc/wma_api.h, so fix them.
Change-Id: I723daf02378ea794628adbcc4d14c0e5d031c599
CRs-Fixed: 3424666
The wma_sta_mlme_vdev_down_send() prototype was added by:
qcacld-3.0: Add VDEV state machine for STA disconnection
Change-Id Iee7274fbc8ae985d034a29f920faa38aab68ccc7
However, it didn't add a function body, and one hasn't been added
since then, so remove the unused prototype.
Change-Id: I729c758676a2b0c77d44916808c50a9996a6c698
CRs-Fixed: 3424626
The following patch removed all usage of struct vdev_create_req_param:
qcacld-3.0: Send the vdev create to firmware in the caller thread
Change-Id Iafb186b13d948e421d152c3142cb8614fdbbffa6
However it didn't remove the actual struct, so remove it now.
Change-Id: I20937b00ecdc61f7b349dd287092d5ebd6d7e9c4
CRs-Fixed: 3424785
The functions sme_send_he_om_ctrl_bw_update() and
sme_send_he_om_ctrl_nss_update() were removed by the following patch:
qcacld-3.0: Add support to configure HE +HTC support and OMI Tx
Change-Id Ic3ad5952198472ecda79471a37ff527dfdbcdbf0
However the prototypes were not removed, so remove them now.
Change-Id: I8d3bc19b629d22eb06161dff972388d816b652ab
CRs-Fixed: 3424786
wlan_mlme_public_struct.h has some documentation that is not being
processed by kernel-doc since it isn't using the kernel-doc comment
indicator "/**". Fix those comments, and also fix the documentation
syntax errors now reported by kernel-doc.
Change-Id: I407b5abefe8313071e5e99d52d69f181880c431d
CRs-Fixed: 3424372
enum pkt_origin is unused, and is poorly defined so it should not be
used in the future, so remove it.
Change-Id: Ia51ffa4518b36ea50f9ed67007978e228b18c7fc
CRs-Fixed: 3424371
For QCA_LL_LEGACY_TX_FLOW_CONTROL data flow control,
currently it cannot support TX off for thermal mgmt.
Similar to thermal implementation in FW, refine
ol_tx_set_throttle_phase_time() to support thermal
mitigation TX off processing when INI throttle duty
cycle set to maximum 100.
Change-Id: I208288bda2ad7ca1a14be0b80a0d57361ce0ec8c
CRs-Fixed: 3413545
The following change removed most of the legacy crypto code following
the transition to the converged crypto component:
qcacld-3.0: Cleanup CRYPTO_SET_KEY_CONVERGED for WMA layer
Change-Id If70fc5cb01f2a0123030c92410e126ce8078e1c6
This change removed wma_setup_install_key_cmd(), but left behind the
now unused function wma_fill_in_wapi_key_params() that it used to call
when FEATURE_WLAN_WAPI was enabled.
So remove the unused function, along with struct wma_set_key_params
which is now unused as well.
Change-Id: Ie16d6ce20d8f5f99ef1c625b34bea3685d3d8029
CRs-Fixed: 3424774
Function lim_process_rx_channel_status_event() was removed by:
qcacld-3.0: Refactor code to store chan info status in cp_stats
Change-Id I2e7219c112e96916d3b73f974dd9803b9c2821c3
However the prototype was not removed then, so remove it now.
Change-Id: I2c3fa2bd3ae70cb8a16d6dd6a57ec298a6c32423
CRs-Fixed: 3424284
The follow change removed all usage of the t_wma_handle ocb_config_req
member:
qcacld-3.0: Clean up OCB legacy code
Change-Id Ib8a26c9e67e78e53f8b2b4929276060687254ea1
However the member itself was not removed, so remove it now.
Change-Id: Id61a2575b9e7d447bb88133322fae9aa7ef33cb5
CRs-Fixed: 3424783
As part of new requirement of 'SAP PS with TWT enabled',
send configured ini value 'g_sap_ps_with_twt_enable'
through vdev set param i.e whether power save
enabled or disabled, during vdev_create to the firmware.
Change-Id: I22fa5754229b5efd7fe3f9b97e0e565f31c01949
CRs-Fixed: 3421619
As part of new requirement of 'SAP PS with TWT enabled',
add ini 'g_sap_ps_with_twt_enable' support in host
to enabled/disabled SAP power save with TWT enable.
Change-Id: Iea76f9cdef6f0753a6dfcebedc2aeab17d121faf
CRs-Fixed: 3421610
As part of modification
of reg_set_channel_params_for_freq API to
reg_set_channel_params_for_pwrmode to make it
compatible with new API need to modify
the wlan_reg_get_usable_channel with extra argument
of REG_CURRENT_PWR_MODE, to invoke
reg_set_channel_params_for_pwrmode which is having
extra parameter of type supported_6g_pwr_types.
Change-Id: I4589bc604ae6bbe25f24c4d0261bcf96347589a8
CRs-Fixed: 3311839