Code componentization relocated large portions of protocol code from
HDD to protocol-specific components. Left behind were quite a few
macros that are now no longer used, so remove the following:
- WLAN_HDD_P2P_SINGLE_CHANNEL_SCAN
- WLAN_HDD_P2P_SOCIAL_CHANNELS
- WLAN_HDD_PUBLIC_ACTION_FRAME
- WLAN_HDD_PUBLIC_ACTION_FRAME_ACTION_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_BODY_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_CATEGORY_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_OUI_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_OUI_TYPE_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_SUB_TYPE_OFFSET
- WLAN_HDD_PUBLIC_ACTION_FRAME_TYPE_OFFSET
- WLAN_HDD_SA_QUERY_ACTION_FRAME
- WLAN_HDD_TDLS_ACTION_FRAME
- WLAN_HDD_VENDOR_SPECIFIC_ACTION
- WLAN_HDD_WFA_OUI
- WLAN_HDD_WFA_P2P_OUI_TYPE
Change-Id: I74611f7db2c2d3a6fa50c2719986cba2c33b41b3
CRs-Fixed: 2375425
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed all uses of macro
TDLS_STA_INDEX_VALID. Since it is now unused, remove it.
Change-Id: Iefec2b4565f4a387778ccd5a4ed7e0d9eb9b732e
CRs-Fixed: 2375416
Change Ic72243b918f4a8385a92b803a1ca3c5305423b52 ("qcacld-3.0: Add
support for Android Packet Filter v3") introduced macro
WLAN_WAIT_TIME_APF_GET_CAPS, but didn't actually introduce any code
that uses it. Since it is unused, remove it.
Change-Id: Iad513163ee32ea542b5f1ba22ec349385cfe9457
CRs-Fixed: 2374850
The QCSAP_IOCTL_CLR_STATS ioctl is no longer supported, so remove the
associated macro.
Change-Id: Icc7462005c3ce97833c7309a70f51cf54722660f
CRs-Fixed: 2374849
Change I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de ("qcacld-3.0: Remove
legacy code for policy manager restructuring") removed the client of
wlan_hdd_check_custom_con_channel_rules(). Since this is no longer
used, remove it.
Change-Id: I2e43eec1f2ee7a7916630b1099cf7de000a06a6a
CRs-Fixed: 2374841
Define a new ini param to provide control over enabling and disabling
support for RTT.
Change-Id: I4fcc2370f758f80f00aaf04a4f23e24934d92f52
CRs-Fixed: 2364495
Update qcacld driver to move IBSS INI params to converged CFG
component and cleanup HDD ini entriesi
Change-Id: Id8e4c0505113e556a8d64915a648f17fc5c0daf5
CRs-fixed: 2358493
Move misc offload ini params to converged CFG component and
cleanup HDD ini config.
Change-Id: I14b3d95dc1577d02230168d305d1d1c4c7fef2fd
CRs-fixed: 2358489
Add option to disable idle psoc timer by changing min
value to 0 and when 0 value is set in INI file then do
not start the psoc idle timer.
Change-Id: I6593f8ef9a15e1817215021c694c20ddf1aaa252
CRs-Fixed: 2370954
Add the following new WCNSS_qcom.ini value:
"prefer_roam_score_for_candidate_selection" - choose to sort the
candidates on roam score or preferred AP list send in the BTM
request frame by AP.
When this ini is set, host driver will
modify btm_offload_config bit 7 which will be read by firmware
to get this ini value.
“roam_candidate_validity_timer” - roam cache entries validity
timer. The candidates in the roam cache are valid only for this
time value. This value is sent to firmware over the wmi command
on the structure wmi_roam_offload_tlv_param
"btm_disassoc_timer_threshold" - Disassociation timer threshold
to wait after which the full scan for roaming can be started
after the AP has sent the disassoc imminent
Change-Id: I3ba5ba2182b1b6d722d9c315757332a1b3e62521
CRs-Fixed: 2369018
Change Idf75957707c3799add0c59fdd532fe0c24d27117 ("qcacld-3.0: Remove
obsolete STA support for SIOCSIWESSID") removed the last client of
hdd_wmm_get_uapsd_mask(). Since this function is now unused, remove
it.
Change-Id: I28b1909690e1f1c813f4169b6429a7faecdac7d6
CRs-Fixed: 2371200
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0: Remove
legacy P2P codes in HDD") removed the logic which utilized the
rem_on_chan_ready_event field in struct hdd_adapter. Since this field
is no longer used, remove it.
Change-Id: Ic8947dc70d510bd123759e53e58e33c5b64ec130
CRs-Fixed: 2370881
Change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d ("qcacld-3.0:
Remove legacy P2P codes in HDD") removed the code that utilized
the cancel_rem_on_chan_var completion variable. Since it is no
longer used, remove the remaining references to it.
Change-Id: Icb2701a8335042aade3a2c7eb0af308e8bdfc658
CRs-Fixed: 2370037
Change Ia860904685fc4783453491effa4518777c7406d0 ("qcacld-3.0:
TDLS: remove legacy interfaces") removed the last reference to
enum tdls_concerned_external_events. Since this enum is now unused,
remove it.
Change-Id: Ie21072a45d7c083d4f0f661906ca9cabb17a6178
CRs-Fixed: 2370025
Change I994e53b17788472de979df9dce9e18c6f68de850 ("qcacld-3.0: Add
support for regulatory component ucfg apis") removed the last
reference to macro WLAN_WAIT_TIME_COUNTRY. Since this macro is now
unused, remove it.
Change-Id: Ia0824abe9bb4419966b812f755600853520f8df2
CRs-Fixed: 2370024
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the code that used macro
WLAN_HDD_PUBLIC_ACTION_TDLS_DISC_RESP. Since the macro is now unused,
remove it.
Change-Id: Ie0cd5cea1bc2a16829bbfb9b8339a41b303c6724
CRs-Fixed: 2370023
Change Ia8b85548ff64ad77b5066fe03229e2b0b2f7fae3 ("qcacld-3.0: Remove
legacy scan complete callback") removed the "nil scan report"
feature. However it left behind the last_nil_scan_bug_report_timestamp
field in struct hdd_context. Since this field is now unused, remove
it.
Change-Id: I7a208121c3957a5ab04df455ad8a8b54932dfd1c
CRs-Fixed: 2370022
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
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
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 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
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