|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -230,16 +230,6 @@ lim_populate_ml_probe_req(struct mac_context *mac,
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
-
|
|
|
-static bool
|
|
|
-lim_check_join_req_and_num_of_partner_link(struct pe_session *session)
|
|
|
-{
|
|
|
- if (session && session->lim_join_req &&
|
|
|
- session->lim_join_req->partner_info.num_partner_links)
|
|
|
- return true;
|
|
|
-
|
|
|
- return false;
|
|
|
-}
|
|
|
#else
|
|
|
static QDF_STATUS
|
|
|
lim_populate_ml_probe_req(struct mac_context *mac,
|
|
@@ -249,12 +239,6 @@ lim_populate_ml_probe_req(struct mac_context *mac,
|
|
|
{
|
|
|
return QDF_STATUS_E_NOSUPPORT;
|
|
|
}
|
|
|
-
|
|
|
-static bool
|
|
|
-lim_check_join_req_and_num_of_partner_link(struct pe_session *session)
|
|
|
-{
|
|
|
- return false;
|
|
|
-}
|
|
|
#endif
|
|
|
|
|
|
/**
|
|
@@ -452,7 +436,7 @@ lim_send_probe_req_mgmt_frame(struct mac_context *mac_ctx,
|
|
|
&pr->he_6ghz_band_cap);
|
|
|
|
|
|
if (IS_DOT11_MODE_EHT(dot11mode) && pesession &&
|
|
|
- lim_check_join_req_and_num_of_partner_link(pesession)) {
|
|
|
+ pesession->lim_join_req) {
|
|
|
lim_update_session_eht_capable(mac_ctx, pesession);
|
|
|
lim_populate_ml_probe_req(mac_ctx, pesession,
|
|
|
&ml_probe_req_ie,
|