]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlwifi: mld: disconnect only after 6 beacons without Rx
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 15 May 2026 12:15:00 +0000 (15:15 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sat, 16 May 2026 20:31:25 +0000 (23:31 +0300)
commit734a4e051b9767f439137940095d63afbfed0745
tree31be26b9e004817b3fb02849bcac27715ea5dc83
parentb753b3334bad7c4735b6e5face0c331d4be11dda
wifi: iwlwifi: mld: disconnect only after 6 beacons without Rx

After 4 missed beacons since last Rx, the firmware will send an NDP to the
AP. If the NDP is ACK'ed, it'll reset the missed_beacons_since_last_rx
counter.
Disconnecting after 4 beacons doesn't give enough time to the firmware
to send the NDP.

Wait until we get 6 missed beacons since last Rx before disconnecting.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20260515151352.c4ed0d849f98.Iefa2e8be9edfc74683997eea60bb53c2002f31f0@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/mld/constants.h