aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 955fdec5a1b6..d4a602b92edf 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2345,28 +2345,29 @@ struct cfg80211_ops {
2345 2345
2346 2346
2347 int (*add_station)(struct wiphy *wiphy, struct net_device *dev, 2347 int (*add_station)(struct wiphy *wiphy, struct net_device *dev,
2348 u8 *mac, struct station_parameters *params); 2348 const u8 *mac,
2349 struct station_parameters *params);
2349 int (*del_station)(struct wiphy *wiphy, struct net_device *dev, 2350 int (*del_station)(struct wiphy *wiphy, struct net_device *dev,
2350 u8 *mac); 2351 const u8 *mac);
2351 int (*change_station)(struct wiphy *wiphy, struct net_device *dev, 2352 int (*change_station)(struct wiphy *wiphy, struct net_device *dev,
2352 u8 *mac, struct station_parameters *params); 2353 const u8 *mac,
2354 struct station_parameters *params);
2353 int (*get_station)(struct wiphy *wiphy, struct net_device *dev, 2355 int (*get_station)(struct wiphy *wiphy, struct net_device *dev,
2354 u8 *mac, struct station_info *sinfo); 2356 const u8 *mac, struct station_info *sinfo);
2355 int (*dump_station)(struct wiphy *wiphy, struct net_device *dev, 2357 int (*dump_station)(struct wiphy *wiphy, struct net_device *dev,
2356 int idx, u8 *mac, struct station_info *sinfo); 2358 int idx, u8 *mac, struct station_info *sinfo);
2357 2359
2358 int (*add_mpath)(struct wiphy *wiphy, struct net_device *dev, 2360 int (*add_mpath)(struct wiphy *wiphy, struct net_device *dev,
2359 u8 *dst, u8 *next_hop); 2361 const u8 *dst, const u8 *next_hop);
2360 int (*del_mpath)(struct wiphy *wiphy, struct net_device *dev, 2362 int (*del_mpath)(struct wiphy *wiphy, struct net_device *dev,
2361 u8 *dst); 2363 const u8 *dst);
2362 int (*change_mpath)(struct wiphy *wiphy, struct net_device *dev, 2364 int (*change_mpath)(struct wiphy *wiphy, struct net_device *dev,
2363 u8 *dst, u8 *next_hop); 2365 const u8 *dst, const u8 *next_hop);
2364 int (*get_mpath)(struct wiphy *wiphy, struct net_device *dev, 2366 int (*get_mpath)(struct wiphy *wiphy, struct net_device *dev,
2365 u8 *dst, u8 *next_hop, 2367 u8 *dst, u8 *next_hop, struct mpath_info *pinfo);
2366 struct mpath_info *pinfo);
2367 int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev, 2368 int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev,
2368 int idx, u8 *dst, u8 *next_hop, 2369 int idx, u8 *dst, u8 *next_hop,
2369 struct mpath_info *pinfo); 2370 struct mpath_info *pinfo);
2370 int (*get_mesh_config)(struct wiphy *wiphy, 2371 int (*get_mesh_config)(struct wiphy *wiphy,
2371 struct net_device *dev, 2372 struct net_device *dev,
2372 struct mesh_config *conf); 2373 struct mesh_config *conf);
@@ -2496,11 +2497,11 @@ struct cfg80211_ops {
2496 struct cfg80211_gtk_rekey_data *data); 2497 struct cfg80211_gtk_rekey_data *data);
2497 2498
2498 int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev, 2499 int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev,
2499 u8 *peer, u8 action_code, u8 dialog_token, 2500 const u8 *peer, u8 action_code, u8 dialog_token,
2500 u16 status_code, u32 peer_capability, 2501 u16 status_code, u32 peer_capability,
2501 const u8 *buf, size_t len); 2502 const u8 *buf, size_t len);
2502 int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev, 2503 int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev,
2503 u8 *peer, enum nl80211_tdls_operation oper); 2504 const u8 *peer, enum nl80211_tdls_operation oper);
2504 2505
2505 int (*probe_client)(struct wiphy *wiphy, struct net_device *dev, 2506 int (*probe_client)(struct wiphy *wiphy, struct net_device *dev,
2506 const u8 *peer, u64 *cookie); 2507 const u8 *peer, u64 *cookie);