diff options
author | Javier Cardona <javier@cozybit.com> | 2010-12-16 20:37:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:46:57 -0500 |
commit | 24bdd9f4c9af75b33b438d60381a67626de0128d (patch) | |
tree | f5ff8c4f9ec2a7cdb976f419532179f2c46b06e8 /include/linux/nl80211.h | |
parent | 8a09d6d80c90c02f2f8c89f69c702cab0c8d9b42 (diff) |
mac80211: Rename mesh_params to mesh_config to prepare for mesh_setup
Mesh parameters can be to setup a mesh or to configure it.
This patch renames the ambiguous name mesh_params to mesh_config
in preparation for mesh_setup.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 7483a89cee8f..11a1de67b618 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -172,10 +172,10 @@ | |||
172 | * to the specified ISO/IEC 3166-1 alpha2 country code. The core will | 172 | * to the specified ISO/IEC 3166-1 alpha2 country code. The core will |
173 | * store this as a valid request and then query userspace for it. | 173 | * store this as a valid request and then query userspace for it. |
174 | * | 174 | * |
175 | * @NL80211_CMD_GET_MESH_PARAMS: Get mesh networking properties for the | 175 | * @NL80211_CMD_GET_MESH_CONFIG: Get mesh networking properties for the |
176 | * interface identified by %NL80211_ATTR_IFINDEX | 176 | * interface identified by %NL80211_ATTR_IFINDEX |
177 | * | 177 | * |
178 | * @NL80211_CMD_SET_MESH_PARAMS: Set mesh networking properties for the | 178 | * @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the |
179 | * interface identified by %NL80211_ATTR_IFINDEX | 179 | * interface identified by %NL80211_ATTR_IFINDEX |
180 | * | 180 | * |
181 | * @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The | 181 | * @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The |
@@ -448,8 +448,8 @@ enum nl80211_commands { | |||
448 | NL80211_CMD_SET_REG, | 448 | NL80211_CMD_SET_REG, |
449 | NL80211_CMD_REQ_SET_REG, | 449 | NL80211_CMD_REQ_SET_REG, |
450 | 450 | ||
451 | NL80211_CMD_GET_MESH_PARAMS, | 451 | NL80211_CMD_GET_MESH_CONFIG, |
452 | NL80211_CMD_SET_MESH_PARAMS, | 452 | NL80211_CMD_SET_MESH_CONFIG, |
453 | 453 | ||
454 | NL80211_CMD_SET_MGMT_EXTRA_IE /* reserved; not used */, | 454 | NL80211_CMD_SET_MGMT_EXTRA_IE /* reserved; not used */, |
455 | 455 | ||
@@ -538,6 +538,10 @@ enum nl80211_commands { | |||
538 | #define NL80211_CMD_DISASSOCIATE NL80211_CMD_DISASSOCIATE | 538 | #define NL80211_CMD_DISASSOCIATE NL80211_CMD_DISASSOCIATE |
539 | #define NL80211_CMD_REG_BEACON_HINT NL80211_CMD_REG_BEACON_HINT | 539 | #define NL80211_CMD_REG_BEACON_HINT NL80211_CMD_REG_BEACON_HINT |
540 | 540 | ||
541 | /* source-level API compatibility */ | ||
542 | #define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG | ||
543 | #define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG | ||
544 | |||
541 | /** | 545 | /** |
542 | * enum nl80211_attrs - nl80211 netlink attributes | 546 | * enum nl80211_attrs - nl80211 netlink attributes |
543 | * | 547 | * |
@@ -922,7 +926,7 @@ enum nl80211_attrs { | |||
922 | NL80211_ATTR_REG_ALPHA2, | 926 | NL80211_ATTR_REG_ALPHA2, |
923 | NL80211_ATTR_REG_RULES, | 927 | NL80211_ATTR_REG_RULES, |
924 | 928 | ||
925 | NL80211_ATTR_MESH_PARAMS, | 929 | NL80211_ATTR_MESH_CONFIG, |
926 | 930 | ||
927 | NL80211_ATTR_BSS_BASIC_RATES, | 931 | NL80211_ATTR_BSS_BASIC_RATES, |
928 | 932 | ||
@@ -1058,6 +1062,7 @@ enum nl80211_attrs { | |||
1058 | 1062 | ||
1059 | /* source-level API compatibility */ | 1063 | /* source-level API compatibility */ |
1060 | #define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION | 1064 | #define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION |
1065 | #define NL80211_ATTR_MESH_PARAMS NL80211_ATTR_MESH_CONFIG | ||
1061 | 1066 | ||
1062 | /* | 1067 | /* |
1063 | * Allow user space programs to use #ifdef on new attributes by defining them | 1068 | * Allow user space programs to use #ifdef on new attributes by defining them |