Skip to content

Commit b537ffb

Browse files
striebitlucacoelho
authored andcommitted
iwlwifi: mvm: trigger WRT when no beacon heard
If the session protection ends but no beacon was heard, the driver triggers a disconnection. Trigger WRT in that case so it can be debugged. Signed-off-by: Shaul Triebitz <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20210805141826.7bf71939826b.Id73f1a466929670f5ec54301227d68883afd9207@changeid Signed-off-by: Luca Coelho <[email protected]>
1 parent e6344c0 commit b537ffb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/time-event.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,16 @@ static bool iwl_mvm_te_check_disconnect(struct iwl_mvm *mvm,
168168
rcu_read_unlock();
169169
}
170170

171+
if (vif->bss_conf.assoc) {
172+
/*
173+
* When not associated, this will be called from
174+
* iwl_mvm_event_mlme_callback_ini()
175+
*/
176+
iwl_dbg_tlv_time_point(&mvm->fwrt,
177+
IWL_FW_INI_TIME_POINT_ASSOC_FAILED,
178+
NULL);
179+
}
180+
171181
iwl_mvm_connection_loss(mvm, vif, errmsg);
172182
return true;
173183
}

0 commit comments

Comments
 (0)