@@ -161,43 +161,6 @@ static void iwl_mvm_rx_esr_mode_notif(struct iwl_mvm *mvm,
161
161
iwl_mvm_get_primary_link (vif ));
162
162
}
163
163
164
- static void iwl_mvm_rx_esr_trans_fail_notif (struct iwl_mvm * mvm ,
165
- struct iwl_rx_cmd_buffer * rxb )
166
- {
167
- struct iwl_rx_packet * pkt = rxb_addr (rxb );
168
- struct iwl_esr_trans_fail_notif * notif = (void * )pkt -> data ;
169
- struct ieee80211_vif * vif = iwl_mvm_get_bss_vif (mvm );
170
- u8 fw_link_id = le32_to_cpu (notif -> link_id );
171
- struct ieee80211_bss_conf * bss_conf ;
172
-
173
- if (IS_ERR_OR_NULL (vif ))
174
- return ;
175
-
176
- IWL_DEBUG_INFO (mvm , "Failed to %s eSR on link %d, reason %d\n" ,
177
- le32_to_cpu (notif -> activation ) ? "enter" : "exit" ,
178
- le32_to_cpu (notif -> link_id ),
179
- le32_to_cpu (notif -> err_code ));
180
-
181
- /* we couldn't go back to single link, disconnect */
182
- if (!le32_to_cpu (notif -> activation )) {
183
- iwl_mvm_connection_loss (mvm , vif , "emlsr exit failed" );
184
- return ;
185
- }
186
-
187
- bss_conf = iwl_mvm_rcu_fw_link_id_to_link_conf (mvm , fw_link_id , false);
188
- if (IWL_FW_CHECK (mvm , !bss_conf ,
189
- "FW reported failure to activate EMLSR on a non-existing link: %d\n" ,
190
- fw_link_id ))
191
- return ;
192
-
193
- /*
194
- * We failed to activate the second link and enter EMLSR, we need to go
195
- * back to single link.
196
- */
197
- iwl_mvm_exit_esr (mvm , vif , IWL_MVM_ESR_EXIT_FAIL_ENTRY ,
198
- bss_conf -> link_id );
199
- }
200
-
201
164
static void iwl_mvm_rx_monitor_notif (struct iwl_mvm * mvm ,
202
165
struct iwl_rx_cmd_buffer * rxb )
203
166
{
@@ -526,10 +489,6 @@ static const struct iwl_rx_handlers iwl_mvm_rx_handlers[] = {
526
489
RX_HANDLER_GRP (SCAN_GROUP , CHANNEL_SURVEY_NOTIF ,
527
490
iwl_mvm_rx_channel_survey_notif , RX_HANDLER_ASYNC_LOCKED ,
528
491
struct iwl_umac_scan_channel_survey_notif ),
529
- RX_HANDLER_GRP (MAC_CONF_GROUP , EMLSR_TRANS_FAIL_NOTIF ,
530
- iwl_mvm_rx_esr_trans_fail_notif ,
531
- RX_HANDLER_ASYNC_LOCKED_WIPHY ,
532
- struct iwl_esr_trans_fail_notif ),
533
492
};
534
493
#undef RX_HANDLER
535
494
#undef RX_HANDLER_GRP
@@ -660,7 +619,6 @@ static const struct iwl_hcmd_names iwl_mvm_mac_conf_names[] = {
660
619
HCMD_NAME (STA_REMOVE_CMD ),
661
620
HCMD_NAME (STA_DISABLE_TX_CMD ),
662
621
HCMD_NAME (ROC_CMD ),
663
- HCMD_NAME (EMLSR_TRANS_FAIL_NOTIF ),
664
622
HCMD_NAME (ROC_NOTIF ),
665
623
HCMD_NAME (CHANNEL_SWITCH_ERROR_NOTIF ),
666
624
HCMD_NAME (MISSED_VAP_NOTIF ),
0 commit comments