You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
John W. Linville
parent
8a09d6d80c
commit
24bdd9f4c9
+10
-5
@@ -172,10 +172,10 @@
|
||||
* to the specified ISO/IEC 3166-1 alpha2 country code. The core will
|
||||
* store this as a valid request and then query userspace for it.
|
||||
*
|
||||
* @NL80211_CMD_GET_MESH_PARAMS: Get mesh networking properties for the
|
||||
* @NL80211_CMD_GET_MESH_CONFIG: Get mesh networking properties for the
|
||||
* interface identified by %NL80211_ATTR_IFINDEX
|
||||
*
|
||||
* @NL80211_CMD_SET_MESH_PARAMS: Set mesh networking properties for the
|
||||
* @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
|
||||
* interface identified by %NL80211_ATTR_IFINDEX
|
||||
*
|
||||
* @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The
|
||||
@@ -448,8 +448,8 @@ enum nl80211_commands {
|
||||
NL80211_CMD_SET_REG,
|
||||
NL80211_CMD_REQ_SET_REG,
|
||||
|
||||
NL80211_CMD_GET_MESH_PARAMS,
|
||||
NL80211_CMD_SET_MESH_PARAMS,
|
||||
NL80211_CMD_GET_MESH_CONFIG,
|
||||
NL80211_CMD_SET_MESH_CONFIG,
|
||||
|
||||
NL80211_CMD_SET_MGMT_EXTRA_IE /* reserved; not used */,
|
||||
|
||||
@@ -538,6 +538,10 @@ enum nl80211_commands {
|
||||
#define NL80211_CMD_DISASSOCIATE NL80211_CMD_DISASSOCIATE
|
||||
#define NL80211_CMD_REG_BEACON_HINT NL80211_CMD_REG_BEACON_HINT
|
||||
|
||||
/* source-level API compatibility */
|
||||
#define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG
|
||||
#define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG
|
||||
|
||||
/**
|
||||
* enum nl80211_attrs - nl80211 netlink attributes
|
||||
*
|
||||
@@ -922,7 +926,7 @@ enum nl80211_attrs {
|
||||
NL80211_ATTR_REG_ALPHA2,
|
||||
NL80211_ATTR_REG_RULES,
|
||||
|
||||
NL80211_ATTR_MESH_PARAMS,
|
||||
NL80211_ATTR_MESH_CONFIG,
|
||||
|
||||
NL80211_ATTR_BSS_BASIC_RATES,
|
||||
|
||||
@@ -1058,6 +1062,7 @@ enum nl80211_attrs {
|
||||
|
||||
/* source-level API compatibility */
|
||||
#define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION
|
||||
#define NL80211_ATTR_MESH_PARAMS NL80211_ATTR_MESH_CONFIG
|
||||
|
||||
/*
|
||||
* Allow user space programs to use #ifdef on new attributes by defining them
|
||||
|
||||
@@ -1096,9 +1096,9 @@ struct cfg80211_pmksa {
|
||||
* @get_mpath: get a mesh path for the given parameters
|
||||
* @dump_mpath: dump mesh path callback -- resume dump at index @idx
|
||||
*
|
||||
* @get_mesh_params: Put the current mesh parameters into *params
|
||||
* @get_mesh_config: Get the current mesh configuration
|
||||
*
|
||||
* @update_mesh_params: Update mesh parameters on a running mesh.
|
||||
* @update_mesh_config: Update mesh parameters on a running mesh.
|
||||
* The mask is a bitfield which tells us which parameters to
|
||||
* set, and which to leave alone.
|
||||
*
|
||||
@@ -1246,10 +1246,10 @@ struct cfg80211_ops {
|
||||
int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev,
|
||||
int idx, u8 *dst, u8 *next_hop,
|
||||
struct mpath_info *pinfo);
|
||||
int (*get_mesh_params)(struct wiphy *wiphy,
|
||||
int (*get_mesh_config)(struct wiphy *wiphy,
|
||||
struct net_device *dev,
|
||||
struct mesh_config *conf);
|
||||
int (*update_mesh_params)(struct wiphy *wiphy,
|
||||
int (*update_mesh_config)(struct wiphy *wiphy,
|
||||
struct net_device *dev, u32 mask,
|
||||
const struct mesh_config *nconf);
|
||||
int (*join_mesh)(struct wiphy *wiphy, struct net_device *dev,
|
||||
|
||||
Reference in New Issue
Block a user