diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nl80211.h | 9 | ||||
| -rw-r--r-- | include/net/cfg80211.h | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 16eea7229e9..ecf6b68a96d 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
| @@ -545,6 +545,7 @@ enum nl80211_commands { | |||
| 545 | /* source-level API compatibility */ | 545 | /* source-level API compatibility */ |
| 546 | #define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG | 546 | #define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG |
| 547 | #define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG | 547 | #define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG |
| 548 | #define NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE NL80211_MESH_SETUP_IE | ||
| 548 | 549 | ||
| 549 | /** | 550 | /** |
| 550 | * enum nl80211_attrs - nl80211 netlink attributes | 551 | * enum nl80211_attrs - nl80211 netlink attributes |
| @@ -1719,9 +1720,9 @@ enum nl80211_meshconf_params { | |||
| 1719 | * vendor specific path metric or disable it to use the default Airtime | 1720 | * vendor specific path metric or disable it to use the default Airtime |
| 1720 | * metric. | 1721 | * metric. |
| 1721 | * | 1722 | * |
| 1722 | * @NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE: A vendor specific information | 1723 | * @NL80211_MESH_SETUP_IE: Information elements for this mesh, for instance, a |
| 1723 | * element that vendors will use to identify the path selection methods and | 1724 | * robust security network ie, or a vendor specific information element that |
| 1724 | * metrics in use. | 1725 | * vendors will use to identify the path selection methods and metrics in use. |
| 1725 | * | 1726 | * |
| 1726 | * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number | 1727 | * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number |
| 1727 | * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use | 1728 | * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use |
| @@ -1730,7 +1731,7 @@ enum nl80211_mesh_setup_params { | |||
| 1730 | __NL80211_MESH_SETUP_INVALID, | 1731 | __NL80211_MESH_SETUP_INVALID, |
| 1731 | NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL, | 1732 | NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL, |
| 1732 | NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC, | 1733 | NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC, |
| 1733 | NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE, | 1734 | NL80211_MESH_SETUP_IE, |
| 1734 | 1735 | ||
| 1735 | /* keep last */ | 1736 | /* keep last */ |
| 1736 | __NL80211_MESH_SETUP_ATTR_AFTER_LAST, | 1737 | __NL80211_MESH_SETUP_ATTR_AFTER_LAST, |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index ba7384acf4e..1d02ddf5a8a 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
| @@ -689,8 +689,8 @@ struct mesh_config { | |||
| 689 | * @mesh_id_len: length of the mesh ID, at least 1 and at most 32 bytes | 689 | * @mesh_id_len: length of the mesh ID, at least 1 and at most 32 bytes |
| 690 | * @path_sel_proto: which path selection protocol to use | 690 | * @path_sel_proto: which path selection protocol to use |
| 691 | * @path_metric: which metric to use | 691 | * @path_metric: which metric to use |
| 692 | * @vendor_ie: vendor information elements (optional) | 692 | * @ie: vendor information elements (optional) |
| 693 | * @vendor_ie_len: length of vendor information elements | 693 | * @ie_len: length of vendor information elements |
| 694 | * | 694 | * |
| 695 | * These parameters are fixed when the mesh is created. | 695 | * These parameters are fixed when the mesh is created. |
| 696 | */ | 696 | */ |
| @@ -699,8 +699,8 @@ struct mesh_setup { | |||
| 699 | u8 mesh_id_len; | 699 | u8 mesh_id_len; |
| 700 | u8 path_sel_proto; | 700 | u8 path_sel_proto; |
| 701 | u8 path_metric; | 701 | u8 path_metric; |
| 702 | const u8 *vendor_ie; | 702 | const u8 *ie; |
| 703 | u8 vendor_ie_len; | 703 | u8 ie_len; |
| 704 | }; | 704 | }; |
| 705 | 705 | ||
| 706 | /** | 706 | /** |
