diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index c3d844093a2f..35e1e581e806 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -84,16 +84,14 @@ static inline void drv_bss_info_changed(struct ieee80211_local *local, | |||
84 | } | 84 | } |
85 | 85 | ||
86 | static inline u64 drv_prepare_multicast(struct ieee80211_local *local, | 86 | static inline u64 drv_prepare_multicast(struct ieee80211_local *local, |
87 | int mc_count, | 87 | struct netdev_hw_addr_list *mc_list) |
88 | struct dev_addr_list *mc_list) | ||
89 | { | 88 | { |
90 | u64 ret = 0; | 89 | u64 ret = 0; |
91 | 90 | ||
92 | if (local->ops->prepare_multicast) | 91 | if (local->ops->prepare_multicast) |
93 | ret = local->ops->prepare_multicast(&local->hw, mc_count, | 92 | ret = local->ops->prepare_multicast(&local->hw, mc_list); |
94 | mc_list); | ||
95 | 93 | ||
96 | trace_drv_prepare_multicast(local, mc_count, ret); | 94 | trace_drv_prepare_multicast(local, mc_list->count, ret); |
97 | 95 | ||
98 | return ret; | 96 | return ret; |
99 | } | 97 | } |
@@ -346,6 +344,15 @@ static inline int drv_ampdu_action(struct ieee80211_local *local, | |||
346 | return ret; | 344 | return ret; |
347 | } | 345 | } |
348 | 346 | ||
347 | static inline int drv_get_survey(struct ieee80211_local *local, int idx, | ||
348 | struct survey_info *survey) | ||
349 | { | ||
350 | int ret = -EOPNOTSUPP; | ||
351 | if (local->ops->conf_tx) | ||
352 | ret = local->ops->get_survey(&local->hw, idx, survey); | ||
353 | /* trace_drv_get_survey(local, idx, survey, ret); */ | ||
354 | return ret; | ||
355 | } | ||
349 | 356 | ||
350 | static inline void drv_rfkill_poll(struct ieee80211_local *local) | 357 | static inline void drv_rfkill_poll(struct ieee80211_local *local) |
351 | { | 358 | { |