Send the netdetect configuration information in the response to NL8021_CMD_GET_WOWLAN commands. This includes the scan interval, SSIDs to match and frequencies to scan. Additionally, add the NL80211_WOWLAN_TRIG_NET_DETECT with NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -3734,7 +3734,9 @@ struct nl80211_pattern_support { · 3733 unmodified lines | ||
| 3734 | 3734 | * same attributes used with @NL80211_CMD_START_SCHED_SCAN. It |
| 3735 | 3735 | * specifies how the scan is performed (e.g. the interval and the |
| 3736 | 3736 | * channels to scan) as well as the scan results that will |
| 3737 | − * trigger a wake (i.e. the matchsets). | |
| 3737 | + * trigger a wake (i.e. the matchsets). This attribute is also | |
| 3738 | + * sent in a response to @NL80211_CMD_GET_WIPHY, indicating the | |
| 3739 | + * number of match sets supported by the driver (u32). | |
| 3738 | 3740 | * @NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS: nested attribute |
| 3739 | 3741 | * containing an array with information about what triggered the |
| 3740 | 3742 | * wake up. If no elements are present in the array, it means |