If DBS is disabled from INI then driver just bails out
in wlan_hdd_update_dbs_scan_and_fw_mode_config() API and never report
it to FW. This creates a confusion when DBS is disable INI but our HW
is capable of doing DBS, i.e. driver thinks that DBS disabled
but FW thinks that DBS is enabled.
Provide a fix that driver should report exact INI setting to FW.
This issue got introduced as part of regression caused by:
Iec2ef7e77e91f332028904c319d24e1ed134306d
ROME platform doesn't support any DBS related commands in FW,
so if driver sends wmi command with dual_mac_config with all params
set to 0 then FW wouldn't respond back and driver would timeout on
waiting for response. This was the original issue for which
Iec2ef7e77e91f332028904c319d24e1ed134306d was added.
Make sure current solution doesn't break backward compatibility.
Add a check to make sure FW supports DBS to eliminate
ROME vs NON-ROME platform.
CRs-Fixed: 2361628
Change-Id: I8a3b795b20e82391ae5d5c86d1e7d814d103ce64
Currently, the support for beacon reception stats is only dependent on
the FW.
Add an ini so that the user can also have a control over the stats
Change-Id: I4a1e654b9d1598836378def494b37a997904d77a
CRs-Fixed: 2366473
LIM exposes a prototype for function peProcessMsg(), but the current
driver does not have a function by that name, so remove the prototype.
Change-Id: I90d5c4983467c58e5d2a44caf6edc9ef6c4a1c99
CRs-Fixed: 2369204
The legacy channel avoidance struct tSirChAvoidIndType, and its member
struct tSirChAvoidFreqType, are unused, so remove them.
Change-Id: Id891a094c674ca7bc3c9f2fdb7a9f990a9e79929
CRs-Fixed: 2369203
The macro ANI_WDS_INFO_MAX_LENGTH has never been used by the current
version of the driver. Since it is unused, remove it.
Change-Id: I5a8f39341e759cd6562de5b04b0043b677e24c0b
CRs-Fixed: 2369202
Change I64d0b71853004679ae694bcd6ca7a2f2347adc84 ("qcacld-3.0: Remove
legacy P2P codes in MAC") removed the last reference to macro
MAX_NO_OF_P2P_SESSIONS. Since it is now unused, remove it.
Change-Id: I455571aeb65f25abcfb7c80706a3a8d9bec887c3
CRs-Fixed: 2369201
Change I3260369879108f167453d5e0b8435c30ed729c5e ("qcacld-3.0: HDD
changes for common scan module") removed the only reference to macro
MAX_PENDING_LOG. Since it is now unused, remove it.
Change-Id: I4b5bf351a5bc7e2b841810302b75102038ae5a43
CRs-Fixed: 2368721
Change I84e9ac5ccfe8faaa00dfc448defb81fb792263d5 ("qcacld-3.0: Add
support for NDP vendor commands and NDI Create") introduced a forward
reference to struct hdd_tgt_cfg. That struct doesn't actually exist,
so remove the forward reference.
Change-Id: Ic3129f6c0c8e55824ba066d5d36a7d10868f9f50
CRs-Fixed: 2368720
Change I64d7a0e3e180a636d710b42837ff3a982853fb12 ("qcacld-3.0: Remove
the excessive logging in hdd_get_adapter_by_vdev") removed the last
reference to macro RATE_LIMIT_ERROR_LOG. Since it is now unused,
remove it.
Change-Id: I531f0496edb064ed0a8208c497a7a5905be21713
CRs-Fixed: 2368719
Change I3a506905f40272efe472028391e8080d764cb390 ("qcacld-3.0: Use max
STA count when iterating SAP clients") removed the only reference to
macro WE_GET_STA_INFO_SIZE. Since it is unused, remove it.
Change-Id: I6c8069f0ce420fbe08d4e2527ce94f5c906027c6
CRs-Fixed: 2368718
The following macros have neer been used by the current version of the
driver, so remove them:
- HDD_P2P_WILDCARD_SSID
- HDD_P2P_WILDCARD_SSID_LEN
Change-Id: Ice446d0e6a9f6a1e95b16267a3cb6aebf85cf5ad
CRs-Fixed: 2368717
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the only reference to macro
HDD_CHANNEL_14. Since it is now obsolete, remove it.
Change-Id: I41267b0e5aef8f60c8a48cd9154529b2689bab5f
CRs-Fixed: 2368716
Change I2e2380b1789cce7841ff0be4120184d1bce0b7e7 ("qcacld-3.0: TDLS:
remove legacy event process") removed the "real" implementation of
hdd_roam_tdls_status_update_handler() but left behind the stub
implementation, so remove the stub as well.
Change-Id: I4862a4cb2b27323c0bb7fb69e6033eaf2a0375b5
CRs-Fixed: 2368715
Change I0fa178bc92bc2a02e45d1ec577f9a54f40d559fb ("qcacld-3.0: Remove
wlan_hdd_tdls_set_params() prototype") removed the last reference to
struct hdd_tdls_config_params. Since it is obsolete, remove the
struct.
Change-Id: I3b5dfc94e17ba1f5b490d10593ba10fd6e33d3f5
CRs-Fixed: 2368714
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0: Remove
legacy P2P codes in HDD") removed the only reference to macro
WLAN_HDD_80211_PEER_ADDR_OFFSET. Since it is obsolete, remove it.
Change-Id: I5a298200fc007472651fdab5ded64fb1ee730636
CRs-Fixed: 2368713
Change I5af85d68ee53ad557e64523f7a1719e328536926 ("qcacld-3.0: Update
for converged NAN config params") relocated the NAN INI parsing.
However the change failed to remove the stub implementations of the
following functions, so remove them now:
- hdd_nan_populate_cds_config()
- hdd_nan_populate_pmo_config()
Change-Id: Ic2e7ed3e9a30fb20541734c0a72b55e6478877cf
CRs-Fixed: 2368712
Change I45181908a6a81de21e4ba906f54ae3190aa212d0 ("qcacld-3.0: Use
common scan api to wait on scan to get completed") removed the logic
that used macro WLAN_WAIT_TIME_ABORTSCAN. Since the macro is obsolete,
remove it.
Change-Id: Ie367743e2ba98bac9f554732682d8430c4016c42
CRs-Fixed: 2368711
The TDLS functionality has moved to its own component. Left behind in
HDD were the following macros which are now obsolete, so remove them:
- WAIT_TIME_TDLS_LINK_ESTABLISH_REQ
- WAIT_TIME_TDLS_MGMT
Change-Id: Ie9667cafc66975e2cd92265353a8299cb5dff441
CRs-Fixed: 2368708
Change I2fa509f53b47d65ba0f4abbc438834b85b9c21f6 ("qcacld-3.0: Report
more information in survey dump") removed the legacy survey code that
utilized the survey_idx field in struct hdd_adapter. Since the field
is now obsolete, remove it.
Change-Id: I59653739949692eee4c15d5db1db386deb2d4182
CRs-Fixed: 2368707
Since they are now unused remove the hdd_ipa field from struct
hdd_context and the ipa_context field from struct hdd_adapter.
Change-Id: Iec841efdd3aa0f16298c0c58ce5756b325563b34
CRs-Fixed: 2368706
Change Iaa1934594d5ffcf3b90dd2ad41bba4eb62f71119 ("qcacld-3.0: Fix
memleak for pm runtime suspend lock") removed the only usage of struct
hdd_connect_pm_context. Since the struct is obsolete, remove it.
Change-Id: If6e043e3aa2c76bcef6ae63858c5bf51fdfa8d09
CRs-Fixed: 2368705
Change Iebded11869c55c1797f0521af05585284f46f544 ("qcacld-3.0:
Relocate legacy DP INI items") removed the only references to
TX_SCHED_WRR_PARAM_STRING_LENGTH. Since it is now unused, remove it.
Change-Id: I0d6729af053a543f23b45ef84371886812414870
CRs-Fixed: 2368704
As part of change I374e870610d79cc0d172ae126bfa70dc6d2db9a9
("qcacld-3.0: Remove not used INI CFG") support for the INI item
"gSapSccChanAvoidance" was removed. However that change left behind
the SapSccChanAvoidance field in struct hdd_config. This is now
obsolete, so remove it.
Change-Id: I4950066f492417922ec4054938da1e9acfaf9668
CRs-Fixed: 2368703
NAN component has been moved to CLD. It includes implementation
of the new NAN command QCA_NL80211_VENDOR_SUBCMD_NAN_EXT.
Change the legacy NAN implementation of vendor cmd
QCA_NL80211_VENDOR_SUBCMD_NAN so that the requests go
through the NAN component. Clean up the legacy path.
Functionality remains unchanged for legacy command.
Route the legacy NAN commands through the NAN component.
Change-Id: I542e5afe832619f8c088220cc4456aa7fe4416fd
CRs-Fixed: 2356772
As part of supporting NAN DBS, new WMI TLVs are defined so
that Host can maintain the status of NAN Discovery in sync
with the Firmware. Add modules that process these events and
updates the NAN states.
Add support for handling the NAN events.
Change-Id: Icfcd9c33cc410d9a65140f63cac69ddd69742306
CRs-Fixed: 2355383
Host will receive the NAN related service capabilities from
the SERVICE_AVAILABLE event. In the HDD callback that gets
called afterwards, set the NAN related capabilities into
the NAN's private PSOC object.
Store the NAN target capabilities inside its private object.
Change-Id: If398b6f253613fc424b7821cfc62b0984ad34b6c
CRs-Fixed: 2356709
As part of the NAN Discovery DBS support, a new vendor command
- QCA_NL80211_VENDOR_SUBCMD_NAN_EXT - has been defined that can
carry the binary blob encapsulated within an attribute and can
carry additional attributes to enhance the NAN command interface.
Add related data structures in NAN component and add modules in
OSIF to parse and sanitize this new command data and forward
the NAN message to the NAN component.
Add support for the new NAN EXT vendor command.
Change-Id: I0e6bb833b01a8cbd65e4d42700b5b70599f3ef99
CRs-Fixed: 2339029
As STA+SAP concurrency is supported by default in the driver,
flag WLAN_AP_STA_CONCURRENCY is removed from Kbuild, remove
this flag from the driver code also.
Change-Id: Id079e657035c5dd5572f323fefad0dbf96272a77
CRs-Fixed: 2364867
In case of RSNE override, the mgmt_encryption_type is not set
and thus AP is not considered as PMF capable by LIM.
TO fix this update mgmt_encryption_type if AP is RSN capable and
profile is RSN capable.
Change-Id: I3350d33ca605c82726156f4f00a8a497dc07d3a8
CRs-Fixed: 2368692
As part of change Iac183da52495aca07c6270edeb9f383ab49c1ff5
("qcacld-3.0: Add CFG items of power") support for the INI item
"gPowerUsage" was moved from HDD to MLME. However that change left
behind the PowerUsageControl field in struct hdd_config. This is now
obsolete, so remove it.
Change-Id: If5eb74b91f79288a2431b0e806ad89cd3d41b503
CRs-Fixed: 2368702
The mcs flags that are sent to the upper layer are derived from mcs
table as present in the driver. Getting the correct values from the
table depends on providing the correct NSS, rate and rate flags.
Currently for the case of TX, all the parameters are passed correctly
but for RX, the NSS is not correct. The rx_nss is set to default value
of 0 where as it should be matched with the value as per the AP
capabilities.
Assign the NSS to the rx_nss as taken from vdev.
Change-Id: Idd579cd23c961d8b194b6b197bc65330be857746
CRs-Fixed: 2366271
Change I374e870610d79cc0d172ae126bfa70dc6d2db9a9 ("qcacld-3.0: Remove
not used INI CFG") removed support for the gRssiFilterPeriod
configuration item. However it failed to remove the underlying
nRssiFilterPeriod field from struct hdd_config, so do so now.
Change-Id: I5c8106e7ea57c7ab97213e17628caa1ecdd82b05
CRs-Fixed: 2367390
Previously change I5bea63b83ddac62504ef38019aa4034c4e18bca7
("qcacld-3.0: Add IPA CFG items and APIs") relocated the IPA
configuration from HDD to the IPA component. As part of that change
the IpaConfig field was removed from struct hdd_config.
Subsequently change I8cd30439d7ac3de7b550aa5042353cf30e04cbda
("qcacld-3.0: Refactor MLME CFG items and APIs for VHT") inexplicably
restored that field. Since that field is obsolete, remove it again.
In addition remove field IpaClkScalingEnable since this field has
never been used by the current version of the driver.
Change-Id: Ic08dc4b1ec82848512e7667c870dc18de1a343be
CRs-Fixed: 2367389
Change I51dcc45d7f2d5ac8a55574b0c6dc0b30458047b8 ("qcacld-3.0: Remove
unused mcast/bcast filter setting") removed some unused MC/BC fields
in the HDD context. However there is still a set of macros that were
used to manipulate these fields that are now unused, so remove thoses
as well.
Change-Id: I7b5a430e125fd7bc4f13943cf63d6d2ec8598e8f
CRs-Fixed: 2367388
As part of change Iddde15330c1ad39a59bd9a3c7ea86af971df61b5
("qcacld-3.0: Remove legacy INI items of QOS aggregation configs") the
legacy support for a large number of configuration items was removed,
but the following macros were temporarily left:
- #define CFG_TX_AGGREGATION_SIZE_MIN 0
- #define CFG_TX_AGGREGATION_SIZE_MAX 64
- #define CFG_RX_AGGREGATION_SIZE_MIN 1
- #define CFG_RX_AGGREGATION_SIZE_MAX 64
Subsequently in change I64f474512463d3ba7ac238b2efd0f4cf2e36999b
("qcacld-3.0: Remove legacy CFG macro definitions") the references to
those macros were changed to utilize the converged configuration
infrastructure, but the macros were not removed.
Since these macros are now obsolete, remove them.
Change-Id: Ib2999532d7d60411948b27034ae5ef2acb5010fc
CRs-Fixed: 2367385
Change I0c6354960b49d680e3efe304ea3300059c37015c ("qcacld-3.0: ADD
MLME INI items of WMM Configuration") relocated some WMM config items
to MLME. However this change left behind in HDD the documentation and
CFG macros for ImplicitQosIsEnabled, so remove these remnants.
Change-Id: If37f7b37495e6658ec3eaaa542bab7b609ad2efd
CRs-Fixed: 2367384
Change I149971768a7193099926e2778f093dcd073f0461 ("qcacld-3.0: ADD
MLME INI items of WMM Config") relocated the definition of
gAddTSWhenACMIsOff to the MLME component. However this change left
behind in HDD the documentation and CFG macros for this item, so
remove these remnants.
Change-Id: I3cb836bc6292c67850cb5219fc8ca2556a4c0e6c
CRs-Fixed: 2367383