From 7d97869c1fbedaa2dee20622153e8528a7873193 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 21 Sep 2022 15:31:46 -0700 Subject: [PATCH] wiphy: add new work priority for FT FT is special in that it really should not be interrupted. Since FRAME/OFFCHANNEL have the highest priority we run the risk of DPP or some other offchannel operation interfering with FT. --- src/wiphy.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wiphy.h b/src/wiphy.h index 2159fc00..9cd18451 100644 --- a/src/wiphy.h +++ b/src/wiphy.h @@ -46,11 +46,12 @@ struct wiphy_radio_work_item { }; enum { - WIPHY_WORK_PRIORITY_FRAME = 0, - WIPHY_WORK_PRIORITY_OFFCHANNEL = 0, - WIPHY_WORK_PRIORITY_CONNECT = 1, - WIPHY_WORK_PRIORITY_SCAN = 2, - WIPHY_WORK_PRIORITY_PERIODIC_SCAN = 3, + WIPHY_WORK_PRIORITY_FT = 0, + WIPHY_WORK_PRIORITY_FRAME = 1, + WIPHY_WORK_PRIORITY_OFFCHANNEL = 1, + WIPHY_WORK_PRIORITY_CONNECT = 2, + WIPHY_WORK_PRIORITY_SCAN = 3, + WIPHY_WORK_PRIORITY_PERIODIC_SCAN = 4, }; enum wiphy_state_watch_event {