diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 31d823a3092b..74f4f85be32f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -424,6 +424,17 @@ enum plink_actions { | |||
424 | }; | 424 | }; |
425 | 425 | ||
426 | /** | 426 | /** |
427 | * enum station_parameters_apply_mask - station parameter values to apply | ||
428 | * @STATION_PARAM_APPLY_UAPSD: apply new uAPSD parameters (uapsd_queues, max_sp) | ||
429 | * | ||
430 | * Not all station parameters have in-band "no change" signalling, | ||
431 | * for those that don't these flags will are used. | ||
432 | */ | ||
433 | enum station_parameters_apply_mask { | ||
434 | STATION_PARAM_APPLY_UAPSD = BIT(0), | ||
435 | }; | ||
436 | |||
437 | /** | ||
427 | * struct station_parameters - station parameters | 438 | * struct station_parameters - station parameters |
428 | * | 439 | * |
429 | * Used to change and create a new station. | 440 | * Used to change and create a new station. |
@@ -450,6 +461,7 @@ struct station_parameters { | |||
450 | u8 *supported_rates; | 461 | u8 *supported_rates; |
451 | struct net_device *vlan; | 462 | struct net_device *vlan; |
452 | u32 sta_flags_mask, sta_flags_set; | 463 | u32 sta_flags_mask, sta_flags_set; |
464 | u32 sta_modify_mask; | ||
453 | int listen_interval; | 465 | int listen_interval; |
454 | u16 aid; | 466 | u16 aid; |
455 | u8 supported_rates_len; | 467 | u8 supported_rates_len; |
@@ -1410,6 +1422,9 @@ struct cfg80211_gtk_rekey_data { | |||
1410 | * @set_ringparam: Set tx and rx ring sizes. | 1422 | * @set_ringparam: Set tx and rx ring sizes. |
1411 | * | 1423 | * |
1412 | * @get_ringparam: Get tx and rx ring current and maximum sizes. | 1424 | * @get_ringparam: Get tx and rx ring current and maximum sizes. |
1425 | * | ||
1426 | * @tdls_mgmt: Transmit a TDLS management frame. | ||
1427 | * @tdls_oper: Perform a high-level TDLS operation (e.g. TDLS link setup). | ||
1413 | */ | 1428 | */ |
1414 | struct cfg80211_ops { | 1429 | struct cfg80211_ops { |
1415 | int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); | 1430 | int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); |
@@ -1593,6 +1608,12 @@ struct cfg80211_ops { | |||
1593 | 1608 | ||
1594 | int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev, | 1609 | int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev, |
1595 | struct cfg80211_gtk_rekey_data *data); | 1610 | struct cfg80211_gtk_rekey_data *data); |
1611 | |||
1612 | int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev, | ||
1613 | u8 *peer, u8 action_code, u8 dialog_token, | ||
1614 | u16 status_code, const u8 *buf, size_t len); | ||
1615 | int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev, | ||
1616 | u8 *peer, enum nl80211_tdls_operation oper); | ||
1596 | }; | 1617 | }; |
1597 | 1618 | ||
1598 | /* | 1619 | /* |
@@ -1645,6 +1666,12 @@ struct cfg80211_ops { | |||
1645 | * @WIPHY_FLAG_SUPPORTS_FW_ROAM: The device supports roaming feature in the | 1666 | * @WIPHY_FLAG_SUPPORTS_FW_ROAM: The device supports roaming feature in the |
1646 | * firmware. | 1667 | * firmware. |
1647 | * @WIPHY_FLAG_AP_UAPSD: The device supports uapsd on AP. | 1668 | * @WIPHY_FLAG_AP_UAPSD: The device supports uapsd on AP. |
1669 | * @WIPHY_FLAG_SUPPORTS_TDLS: The device supports TDLS (802.11z) operation. | ||
1670 | * @WIPHY_FLAG_TDLS_EXTERNAL_SETUP: The device does not handle TDLS (802.11z) | ||
1671 | * link setup/discovery operations internally. Setup, discovery and | ||
1672 | * teardown packets should be sent through the @NL80211_CMD_TDLS_MGMT | ||
1673 | * command. When this flag is not set, @NL80211_CMD_TDLS_OPER should be | ||
1674 | * used for asking the driver/firmware to perform a TDLS operation. | ||
1648 | */ | 1675 | */ |
1649 | enum wiphy_flags { | 1676 | enum wiphy_flags { |
1650 | WIPHY_FLAG_CUSTOM_REGULATORY = BIT(0), | 1677 | WIPHY_FLAG_CUSTOM_REGULATORY = BIT(0), |
@@ -1661,6 +1688,8 @@ enum wiphy_flags { | |||
1661 | WIPHY_FLAG_ENFORCE_COMBINATIONS = BIT(12), | 1688 | WIPHY_FLAG_ENFORCE_COMBINATIONS = BIT(12), |
1662 | WIPHY_FLAG_SUPPORTS_FW_ROAM = BIT(13), | 1689 | WIPHY_FLAG_SUPPORTS_FW_ROAM = BIT(13), |
1663 | WIPHY_FLAG_AP_UAPSD = BIT(14), | 1690 | WIPHY_FLAG_AP_UAPSD = BIT(14), |
1691 | WIPHY_FLAG_SUPPORTS_TDLS = BIT(15), | ||
1692 | WIPHY_FLAG_TDLS_EXTERNAL_SETUP = BIT(16), | ||
1664 | }; | 1693 | }; |
1665 | 1694 | ||
1666 | /** | 1695 | /** |