Skip to content

Commit 0ce92d5

Browse files
committed
wifi: iwlwifi: mld: Revert "wifi: iwlwifi: mld: add kunit test for emlsr with bt on"
Due to a hw bug, this feature won't be enabled. Revert its tests. This reverts commit f7cc80b ("wifi: iwlwifi: mld: add kunit test for emlsr with bt on") Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20250711183056.5fdf77497ad2.I1160f1dcff734cb42baa8fbf8aac121a1a24a4c5@changeid
1 parent 3735526 commit 0ce92d5

File tree

4 files changed

+2
-148
lines changed

4 files changed

+2
-148
lines changed

drivers/net/wireless/intel/iwlwifi/mld/mlo.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,7 @@ s8 iwl_mld_get_emlsr_rssi_thresh(struct iwl_mld *mld,
693693
#define IWL_MLD_BT_COEX_ENABLE_EMLSR_RSSI_THRESH -63
694694
#define IWL_MLD_BT_COEX_WIFI_LOSS_THRESH 7
695695

696-
VISIBLE_IF_IWLWIFI_KUNIT
697-
bool
696+
static bool
698697
iwl_mld_bt_allows_emlsr(struct iwl_mld *mld, struct ieee80211_bss_conf *link,
699698
bool check_entry)
700699
{
@@ -723,7 +722,6 @@ iwl_mld_bt_allows_emlsr(struct iwl_mld *mld, struct ieee80211_bss_conf *link,
723722
link->link_id, bt_penalty);
724723
return bt_penalty < IWL_MLD_BT_COEX_WIFI_LOSS_THRESH;
725724
}
726-
EXPORT_SYMBOL_IF_IWLWIFI_KUNIT(iwl_mld_bt_allows_emlsr);
727725

728726
static u32
729727
iwl_mld_emlsr_disallowed_with_link(struct iwl_mld *mld,

drivers/net/wireless/intel/iwlwifi/mld/mlo.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ void iwl_mld_emlsr_block_tmp_non_bss(struct iwl_mld *mld);
163163
u32 iwl_mld_emlsr_pair_state(struct ieee80211_vif *vif,
164164
struct iwl_mld_link_sel_data *a,
165165
struct iwl_mld_link_sel_data *b);
166-
167-
bool iwl_mld_bt_allows_emlsr(struct iwl_mld *mld,
168-
struct ieee80211_bss_conf *link,
169-
bool entry_criteria);
170166
#endif
171167

172168
void iwl_mld_start_ignoring_tpt_updates(struct iwl_mld *mld);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2-
iwlmld-tests-y += module.o hcmd.o utils.o link.o rx.o agg.o link-selection.o emlsr_with_bt.o
2+
iwlmld-tests-y += module.o hcmd.o utils.o link.o rx.o agg.o link-selection.o
33

44
ccflags-y += -I$(src)/../
55
obj-$(CONFIG_IWLWIFI_KUNIT_TESTS) += iwlmld-tests.o

drivers/net/wireless/intel/iwlwifi/mld/tests/emlsr_with_bt.c

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)