3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

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.
This commit is contained in:
James Prestwood 2022-09-21 15:31:46 -07:00 committed by Denis Kenzior
parent 3d8865f2c0
commit 7d97869c1f

View File

@ -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 {