diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 11:19:31 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-19 11:34:42 -0400 |
commit | 3b3a0162fade6b83d5c83efafcd5adb9e4537047 (patch) | |
tree | 072fafe0ab7e1f93debdd466302bcda6ae5dfdb3 /drivers/net/wireless/mwifiex/main.h | |
parent | 8d77ec856200df31623074de3fde44519df7725b (diff) |
cfg80211: constify MAC addresses in cfg80211 ops
This propagates through all the drivers and mac80211.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index d53e1e8c9467..86c6b8cdec22 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -910,8 +910,6 @@ int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv, | |||
910 | struct sk_buff *skb); | 910 | struct sk_buff *skb); |
911 | int mwifiex_process_sta_event(struct mwifiex_private *); | 911 | int mwifiex_process_sta_event(struct mwifiex_private *); |
912 | int mwifiex_process_uap_event(struct mwifiex_private *); | 912 | int mwifiex_process_uap_event(struct mwifiex_private *); |
913 | struct mwifiex_sta_node * | ||
914 | mwifiex_get_sta_entry(struct mwifiex_private *priv, u8 *mac); | ||
915 | void mwifiex_delete_all_station_list(struct mwifiex_private *priv); | 913 | void mwifiex_delete_all_station_list(struct mwifiex_private *priv); |
916 | void *mwifiex_process_sta_txpd(struct mwifiex_private *, struct sk_buff *skb); | 914 | void *mwifiex_process_sta_txpd(struct mwifiex_private *, struct sk_buff *skb); |
917 | void *mwifiex_process_uap_txpd(struct mwifiex_private *, struct sk_buff *skb); | 915 | void *mwifiex_process_uap_txpd(struct mwifiex_private *, struct sk_buff *skb); |
@@ -1220,26 +1218,26 @@ void mwifiex_dnld_txpwr_table(struct mwifiex_private *priv); | |||
1220 | extern const struct ethtool_ops mwifiex_ethtool_ops; | 1218 | extern const struct ethtool_ops mwifiex_ethtool_ops; |
1221 | 1219 | ||
1222 | void mwifiex_del_all_sta_list(struct mwifiex_private *priv); | 1220 | void mwifiex_del_all_sta_list(struct mwifiex_private *priv); |
1223 | void mwifiex_del_sta_entry(struct mwifiex_private *priv, u8 *mac); | 1221 | void mwifiex_del_sta_entry(struct mwifiex_private *priv, const u8 *mac); |
1224 | void | 1222 | void |
1225 | mwifiex_set_sta_ht_cap(struct mwifiex_private *priv, const u8 *ies, | 1223 | mwifiex_set_sta_ht_cap(struct mwifiex_private *priv, const u8 *ies, |
1226 | int ies_len, struct mwifiex_sta_node *node); | 1224 | int ies_len, struct mwifiex_sta_node *node); |
1227 | struct mwifiex_sta_node * | 1225 | struct mwifiex_sta_node * |
1228 | mwifiex_add_sta_entry(struct mwifiex_private *priv, u8 *mac); | 1226 | mwifiex_add_sta_entry(struct mwifiex_private *priv, const u8 *mac); |
1229 | struct mwifiex_sta_node * | 1227 | struct mwifiex_sta_node * |
1230 | mwifiex_get_sta_entry(struct mwifiex_private *priv, u8 *mac); | 1228 | mwifiex_get_sta_entry(struct mwifiex_private *priv, const u8 *mac); |
1231 | int mwifiex_send_tdls_data_frame(struct mwifiex_private *priv, u8 *peer, | 1229 | int mwifiex_send_tdls_data_frame(struct mwifiex_private *priv, const u8 *peer, |
1232 | u8 action_code, u8 dialog_token, | 1230 | u8 action_code, u8 dialog_token, |
1233 | u16 status_code, const u8 *extra_ies, | 1231 | u16 status_code, const u8 *extra_ies, |
1234 | size_t extra_ies_len); | 1232 | size_t extra_ies_len); |
1235 | int mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, | 1233 | int mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, const u8 *peer, |
1236 | u8 *peer, u8 action_code, u8 dialog_token, | 1234 | u8 action_code, u8 dialog_token, |
1237 | u16 status_code, const u8 *extra_ies, | 1235 | u16 status_code, const u8 *extra_ies, |
1238 | size_t extra_ies_len); | 1236 | size_t extra_ies_len); |
1239 | void mwifiex_process_tdls_action_frame(struct mwifiex_private *priv, | 1237 | void mwifiex_process_tdls_action_frame(struct mwifiex_private *priv, |
1240 | u8 *buf, int len); | 1238 | u8 *buf, int len); |
1241 | int mwifiex_tdls_oper(struct mwifiex_private *priv, u8 *peer, u8 action); | 1239 | int mwifiex_tdls_oper(struct mwifiex_private *priv, const u8 *peer, u8 action); |
1242 | int mwifiex_get_tdls_link_status(struct mwifiex_private *priv, u8 *mac); | 1240 | int mwifiex_get_tdls_link_status(struct mwifiex_private *priv, const u8 *mac); |
1243 | void mwifiex_disable_all_tdls_links(struct mwifiex_private *priv); | 1241 | void mwifiex_disable_all_tdls_links(struct mwifiex_private *priv); |
1244 | bool mwifiex_is_bss_in_11ac_mode(struct mwifiex_private *priv); | 1242 | bool mwifiex_is_bss_in_11ac_mode(struct mwifiex_private *priv); |
1245 | u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, | 1243 | u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, |