Add NL80211_SCAN_FLAG_LOW_PRIORITY flag support. It tells drivers that this is a low priority scan request, so that they can take necessary action. Drivers need to advertise low priority scan capability during registration.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -3048,6 +3048,7 @@ enum nl80211_ap_sme_features { · 3047 unmodified lines | |||
| 3048 | * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of | 3048 | * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of |
| 3049 | * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station | 3049 | * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station |
| 3050 | * mode | 3050 | * mode |
| 3051 | * @NL80211_FEATURE_LOW_PRIORITY_SCAN: This driver supports low priority scan | ||
| 3051 | */ | 3052 | */ |
| 3052 | enum nl80211_feature_flags { | 3053 | enum nl80211_feature_flags { |
| 3053 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, | 3054 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
| @@ -3056,6 +3057,7 @@ enum nl80211_feature_flags { · 2 unmodified lines | |||
| 3056 | NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3, | 3057 | NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3, |
| 3057 | NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4, | 3058 | NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4, |
| 3058 | NL80211_FEATURE_SAE = 1 << 5, | 3059 | NL80211_FEATURE_SAE = 1 << 5, |
| 3060 | NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6, | ||
| 3059 | }; | 3061 | }; |
| 3060 | 3062 | ||
| 3061 | /** | 3063 | /** |
| @@ -3096,9 +3098,11 @@ enum nl80211_connect_failed_reason { · 34 unmodified lines | |||
| 3096 | * Scan request control flags are used to control the handling | 3098 | * Scan request control flags are used to control the handling |
| 3097 | * of NL80211_CMD_TRIGGER_SCAN and NL80211_CMD_START_SCHED_SCAN | 3099 | * of NL80211_CMD_TRIGGER_SCAN and NL80211_CMD_START_SCHED_SCAN |
| 3098 | * requests. | 3100 | * requests. |
| 3099 | * (will be filled) | 3101 | * |
| 3102 | * @NL80211_SCAN_FLAG_LOW_PRIORITY: scan request has low priority | ||
| 3103 | */ | ||
| 3100 | enum nl80211_scan_flags { | 3104 | enum nl80211_scan_flags { |
| 3105 | NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0, | ||
| 3101 | }; | 3106 | }; |
| 3102 | */ | ||
| 3103 | 3107 | ||
| 3104 | #endif /* __LINUX_NL80211_H */ | 3108 | #endif /* __LINUX_NL80211_H */ |