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
Add changes in the NAN component and Target IF to support the
NAN Enable and Disable commands. Add changes to support all
the other generic NAN commands as well. Add a state machine
to keep track of the status of the NAN Discovery in the Target.
Add support for the NAN Enable/Disable commands
Change-Id: I20c303cad8b7a30deba50345032b33b1deba4802
CRs-Fixed: 2338054
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
Change I8cd30439d7ac3de7b550aa5042353cf30e04cbda ("qcacld-3.0:
Refactor MLME CFG items and APIs for VHT") relocated the definitions
of gEnableRXSTBC and gEnableTXSTBC to the MLME component. However this
change left behind in HDD the documentation and CFG macros for these
items, so remove these remnants.
Change-Id: I22eb72e454fa1f9dcb2c6013c28b5148009ff0d9
CRs-Fixed: 2367382
Change Ib2fcdc6318adb488eca5cf47b2b59541020e6009 ("qcacld-3.0: Add
support for PMKID modes of PMK caching and OKC") replaced the config
item OkcEnabled with a new item pmkidModes. However it left behind the
documentation as well as the CFG macros for OkcEnabled, so now remove
those remnants, along with the prototype for the now removed function
hdd_is_okc_mode_enabled().
Change-Id: If2c99717e0e8f3fedfdcc5aee97f2d2de2189bc8
CRs-Fixed: 2367381
Previously change I9b9ff1f8701168787985cbcb219361a3f63c787f
("qcacld-3.0: Refine PMO configures based on converged cfg component")
introduced PMO items to the converged configuration.
Subsequently change I2cdf18c1000d8cc923c80c00bf530b2b0c60563e
("qcacld-3.0: Apply PMO configures") removed PMO items from the legacy
configuration.
This subsequent change was incomplete. It left behind the legacy
documentation as well as the legacy configuration macros for the
following items, so now remove them:
- gHwFilterMode
- gMCAddrListEnable
- g_enable_packet_filter_bitmap
Change-Id: I7876fc0cd810e1c4f36c30840c1af08387a9d70f
CRs-Fixed: 2367380
Previously change I374e870610d79cc0d172ae126bfa70dc6d2db9a9
("qcacld-3.0: Remove not used INI CFG") removed most of the code
associated with the obsolete configuration object gEnableMemoryDebug.
However it left behind the documentation as well as the CFG macros, so
remove those as well.
Change-Id: Ic4d302416630588020111307b73694710e5a269a
CRs-Fixed: 2367379
Recently change I1938c3f5ab8164e792cb9b1c76e6afa79444bd6f
("qcacld-3.0: Relocate HDD DP ini items") relocated the DP Trace
configuration from the legacy configuration to the converged
mechanism. But this change left behind some macros that are now unused
and obsolete, so remove them.
Change-Id: I1af43a3dd7d85465558195110744a303cce4dff3
CRs-Fixed: 2367378
Previously change Idca5285d58bea659a1a481c1f33827608377ab98
("qcacld-3.0: Cleanup scan concurrent active and passive min time")
partially removed the support for the concurrent scan min timers.
However it left behind the macros used to define the config
parameters, so remove those as well.
Change-Id: I7c5c6e1dc2f89dcb39d7381e01d74ae1c381b7cd
CRs-Fixed: 2367377
Change Iebda5bbb3c5c68b922b7f6ac1adaf25cccf903a6 ("qcacld-3.0: Apply
mlme lfr configuraions") relocated a large number of config items from
the legacy HDD config to the MLME config. However this change did not
remove all of the legacy support, so now remove the documentation and
CFG macros for the following:
- roam_bad_rssi_thresh_offset_2g
- enable_5g_band_pref
- 5g_rssi_boost_threshold
- 5g_rssi_boost_factor
- 5g_max_rssi_boost
- 5g_rssi_penalize_threshold
- 5g_rssi_penalize_factor
- 5g_max_rssi_penalize
Change-Id: Idb07ebbe5d6af03de8c46a09365bd74934883719
CRs-Fixed: 2367376
As part of change Ic63e07abdabae9795bba6f76daa954235c894245
("qcacld-3.0: Add hdd tx-rx apis for High Latency systems (6/6)") some
data structures were added to support INI configuation for the
QCA_BAD_PEER_TX_FLOW_CL feature. However the INI support is incomplete
and the associated data structures are not being used, so remove them.
Change-Id: I925b53ef7a44a1252ac1cbca5e97d90d0528879d
CRs-Fixed: 2367375
Previously change I2cdf18c1000d8cc923c80c00bf530b2b0c60563e
("qcacld-3.0: Apply PMO configures") relocated the PMO configuration
items from HDD to the PMO component.
Subsequently change I5046edec1a668e198ed4fcc997a0d24affe342ea
("qcacld-3.0: Add FW offload INI items (1)") inexplicably re-added the
auto_pwr_save_fail_mode and packet_filters_bitmap PMO fields back into
struct hdd_config, so re-remove them.
Change-Id: Iebc9f9046dd537c7be3ede857827b7173ecaf59a
CRs-Fixed: 2367374
Change Ifbb38adba434aa19fade4838e30d39884b6e4615 ("qcacld-3.0: Remove
unnecessary includes from ol_if_athvar.h") removed the only place
where ol_params.h was referenced. Since this file is unused, remove
it.
Change-Id: I8c0e5335f30a0307e7ebac5d33828db41bb8156d
CRs-Fixed: 2366966
The header file ol_if_athvar.h is strange in that it is a qcacld-3.0
file that is included by files in the qca-wifi-host-cmn project. That
model does not conform to the software architecture so there is a plan
to correctly refactor the file. As a preliminary step remove all
include directives that are not actually required by the files that
include this header file.
Change-Id: Ifbb38adba434aa19fade4838e30d39884b6e4615
CRs-Fixed: 2366965
Currently ol_if_athvar.h defines the following:
- struct ol_version
- enum ol_ath_tx_ecodes
- struct ol_ath_stats
None of these are used, so remove them. This leaves behind just a set
of #include directives.
Change-Id: Ie8c2ee1fa1b3c34f37430633c28987651e60434b
CRs-Fixed: 2366964
Header file i_bmi.h utilizes several QDF data structures, but it does
not explicitly include the header files which define them. This must
mean that the data structures are being included as a side-effect of
including an unrelated header file.
In an upcoming change the header file ol_if_athvar.h is being
refactored, and that change somehow interferes with the side-effect
that causes the QDF header files to be included by i_bmi.h. So rather
than rely upon the side-effect, explicitly include the necessary
header files.
Change-Id: Icf7d7e4babb14faa41b2ac18c6181a206da9b858
CRs-Fixed: 2366963
The functionality provided by cds_rand_get_bytes() replicates
functionality provided by qdf_get_random_bytes(), so use
qdf_get_random_bytes().
Change-Id: I0b855556c9a9861c7067dfadaf0b8a4cdaf8709e
CRs-Fixed: 2366960
Currently in cds_config.h the macro MAX_PMKID_LEN is not used, and the
pmkid field in struct cds_fils_connection_info uses the "magic number"
16, so replace the magic number with the macro.
Change-Id: I11e7f55d43e5cdd3f222f54434a33c94654f2384
CRs-Fixed: 2366959
In i_bmi.h the hif_reg_based_get_target_info() conditional
compilation references SNOC but this is not a macro defined
by the driver. Replace this with the correct macro, HIF_SNOC.
Change-Id: I52969426c58c078b3dd558e825e2a9fb68394536
CRs-Fixed: 2366958
WNI_CFG_WPS_UUID should be refactored and adopted by the mlme
component.
Move the cfg item to cfg_mlme_wps_params.h
Change-Id: I79db155ad16998e9d7a7e20c01efbcba1681d61e
CRs-Fixed: 2366599
Change I2c217891d0ca4b503e7388b3ebe2f787e8325af5 ("qcacld-3.0: Add
firmware download support for sdio bus (Part 5 - HIF SDIO)") added a
prototype for ol_get_fw_files() but did not add an implementation.
Since nothing uses this prototype, remove it.
Change-Id: Ie3b9aee767e14acc425ca7c365d10cbb73682fb5
CRs-Fixed: 2366957
Previously change I6984096719a5abd7fa4f0a4f6641a17d29348332
("qcacld-3.0: Relocate HDD ini items (2)") added macro
CFG_ACTION_OUI_MAX_LEN, but did not add any code which uses it.
All of the Action OUI config items use ACTION_OUI_MAX_STR_LEN,
therefore remove the unused macro.
Change-Id: I8b194ebbbe901a4effef696014551346b3c52645
CRs-Fixed: 2365062
Previously change I5828002d2363e01f63b0a643a0c59abd52bc4f19
("qcacld-3.0: NAN datapath cleanup") removed the code that uses
the pe_ndp_event_handler but did not remove the field from the
t_wma_handle structure, so remove it now.
Change-Id: I4b23e55fcdb8178d6a272fd46094af5505b94cc7
CRs-Fixed: 2365061
Add the functionality changes to replace the legacy powersave
parameters corresponding to the ini values that were converged.
Remove the legacy powersave ini items.
Change-Id: I1da9af9aac4a02a16dc22a43f7f9d526e196d599
CRs-Fixed: 2364964