Johannes Berg says: ==================== Three fixes: * fix a logic bug introduced by a previous cleanup * fix nl80211 attribute confusing (trying to use a single attribute for two purposes) * fix a long-standing BSS leak that happens when an association attempt is abandoned ====================
Showing the changes to include/uapi/linux (1 of 7 files). Show all
Unified · Split
| @@ -323,7 +323,7 @@ · 322 unmodified lines | |||
| 323 | * @NL80211_CMD_GET_SCAN: get scan results | 323 | * @NL80211_CMD_GET_SCAN: get scan results |
| 324 | * @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters | 324 | * @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters |
| 325 | * %NL80211_ATTR_TX_NO_CCK_RATE is used to decide whether to send the | 325 | * %NL80211_ATTR_TX_NO_CCK_RATE is used to decide whether to send the |
| 326 | * probe requests at CCK rate or not. %NL80211_ATTR_MAC can be used to | 326 | * probe requests at CCK rate or not. %NL80211_ATTR_BSSID can be used to |
| 327 | * specify a BSSID to scan for; if not included, the wildcard BSSID will | 327 | * specify a BSSID to scan for; if not included, the wildcard BSSID will |
| 328 | * be used. | 328 | * be used. |
| 329 | * @NL80211_CMD_NEW_SCAN_RESULTS: scan notification (as a reply to | 329 | * @NL80211_CMD_NEW_SCAN_RESULTS: scan notification (as a reply to |
| @@ -1977,6 +1977,9 @@ enum nl80211_commands { · 1647 unmodified lines | |||
| 1977 | * @NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED: Indicates whether or not multicast | 1977 | * @NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED: Indicates whether or not multicast |
| 1978 | * packets should be send out as unicast to all stations (flag attribute). | 1978 | * packets should be send out as unicast to all stations (flag attribute). |
| 1979 | * | 1979 | * |
| 1980 | * @NL80211_ATTR_BSSID: The BSSID of the AP. Note that %NL80211_ATTR_MAC is also | ||
| 1981 | * used in various commands/events for specifying the BSSID. | ||
| 1982 | * | ||
| 1980 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available | 1983 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available |
| 1981 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 1984 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 1982 | * @__NL80211_ATTR_AFTER_LAST: internal use | 1985 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| @@ -2381,6 +2384,8 @@ enum nl80211_attrs { · 398 unmodified lines | |||
| 2381 | 2384 | ||
| 2382 | NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED, | 2385 | NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED, |
| 2383 | 2386 | ||
| 2387 | NL80211_ATTR_BSSID, | ||
| 2388 | |||
| 2384 | /* add attributes here, update the policy in nl80211.c */ | 2389 | /* add attributes here, update the policy in nl80211.c */ |
| 2385 | 2390 | ||
| 2386 | __NL80211_ATTR_AFTER_LAST, | 2391 | __NL80211_ATTR_AFTER_LAST, |