Add a new flag 'update' which is set to true during start_ap() if (and only if) one of the following two conditions are met: - Userspace passed an empty nested attribute which indicates that the feature should be disabled and templates deleted. - Userspace passed all the parameters for the nested attribute. Existing configuration will not be changed while the flag remains false. Add similar changes for unsolicited broadcast probe response transmission.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -2690,11 +2690,13 @@ enum nl80211_commands { · 2689 unmodified lines | |||
| 2690 | * | 2690 | * |
| 2691 | * @NL80211_ATTR_FILS_DISCOVERY: Optional parameter to configure FILS | 2691 | * @NL80211_ATTR_FILS_DISCOVERY: Optional parameter to configure FILS |
| 2692 | * discovery. It is a nested attribute, see | 2692 | * discovery. It is a nested attribute, see |
| 2693 | * &enum nl80211_fils_discovery_attributes. | 2693 | * &enum nl80211_fils_discovery_attributes. Userspace should pass an empty |
| 2694 | * nested attribute to disable this feature and delete the templates. | ||
| 2694 | * | 2695 | * |
| 2695 | * @NL80211_ATTR_UNSOL_BCAST_PROBE_RESP: Optional parameter to configure | 2696 | * @NL80211_ATTR_UNSOL_BCAST_PROBE_RESP: Optional parameter to configure |
| 2696 | * unsolicited broadcast probe response. It is a nested attribute, see | 2697 | * unsolicited broadcast probe response. It is a nested attribute, see |
| 2697 | * &enum nl80211_unsol_bcast_probe_resp_attributes. | 2698 | * &enum nl80211_unsol_bcast_probe_resp_attributes. Userspace should pass an empty |
| 2699 | * nested attribute to disable this feature and delete the templates. | ||
| 2698 | * | 2700 | * |
| 2699 | * @NL80211_ATTR_S1G_CAPABILITY: S1G Capability information element (from | 2701 | * @NL80211_ATTR_S1G_CAPABILITY: S1G Capability information element (from |
| 2700 | * association request when used with NL80211_CMD_NEW_STATION) | 2702 | * association request when used with NL80211_CMD_NEW_STATION) |
| @@ -7606,7 +7608,7 @@ enum nl80211_iftype_akm_attributes { · 4905 unmodified lines | |||
| 7606 | * @NL80211_FILS_DISCOVERY_ATTR_INT_MIN: Minimum packet interval (u32, TU). | 7608 | * @NL80211_FILS_DISCOVERY_ATTR_INT_MIN: Minimum packet interval (u32, TU). |
| 7607 | * Allowed range: 0..10000 (TU = Time Unit) | 7609 | * Allowed range: 0..10000 (TU = Time Unit) |
| 7608 | * @NL80211_FILS_DISCOVERY_ATTR_INT_MAX: Maximum packet interval (u32, TU). | 7610 | * @NL80211_FILS_DISCOVERY_ATTR_INT_MAX: Maximum packet interval (u32, TU). |
| 7609 | * Allowed range: 0..10000 (TU = Time Unit) | 7611 | * Allowed range: 0..10000 (TU = Time Unit). If set to 0, the feature is disabled. |
| 7610 | * @NL80211_FILS_DISCOVERY_ATTR_TMPL: Template data for FILS discovery action | 7612 | * @NL80211_FILS_DISCOVERY_ATTR_TMPL: Template data for FILS discovery action |
| 7611 | * frame including the headers. | 7613 | * frame including the headers. |
| 7612 | * | 7614 | * |
| @@ -7639,7 +7641,8 @@ enum nl80211_fils_discovery_attributes { · 26 unmodified lines | |||
| 7639 | * | 7641 | * |
| 7640 | * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT: Maximum packet interval (u32, TU). | 7642 | * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT: Maximum packet interval (u32, TU). |
| 7641 | * Allowed range: 0..20 (TU = Time Unit). IEEE P802.11ax/D6.0 | 7643 | * Allowed range: 0..20 (TU = Time Unit). IEEE P802.11ax/D6.0 |
| 7642 | * 26.17.2.3.2 (AP behavior for fast passive scanning). | 7644 | * 26.17.2.3.2 (AP behavior for fast passive scanning). If set to 0, the feature is |
| 7645 | * disabled. | ||
| 7643 | * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL: Unsolicited broadcast probe response | 7646 | * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL: Unsolicited broadcast probe response |
| 7644 | * frame template (binary). | 7647 | * frame template (binary). |
| 7645 | * | 7648 | * |