diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index e42c641b6190..0b1747a2313d 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -1183,6 +1183,22 @@ static inline int drv_can_aggregate_in_amsdu(struct ieee80211_local *local, | |||
1183 | return local->ops->can_aggregate_in_amsdu(&local->hw, head, skb); | 1183 | return local->ops->can_aggregate_in_amsdu(&local->hw, head, skb); |
1184 | } | 1184 | } |
1185 | 1185 | ||
1186 | static inline int | ||
1187 | drv_get_ftm_responder_stats(struct ieee80211_local *local, | ||
1188 | struct ieee80211_sub_if_data *sdata, | ||
1189 | struct cfg80211_ftm_responder_stats *ftm_stats) | ||
1190 | { | ||
1191 | u32 ret = -EOPNOTSUPP; | ||
1192 | |||
1193 | if (local->ops->get_ftm_responder_stats) | ||
1194 | ret = local->ops->get_ftm_responder_stats(&local->hw, | ||
1195 | &sdata->vif, | ||
1196 | ftm_stats); | ||
1197 | trace_drv_get_ftm_responder_stats(local, sdata, ftm_stats); | ||
1198 | |||
1199 | return ret; | ||
1200 | } | ||
1201 | |||
1186 | static inline int drv_start_nan(struct ieee80211_local *local, | 1202 | static inline int drv_start_nan(struct ieee80211_local *local, |
1187 | struct ieee80211_sub_if_data *sdata, | 1203 | struct ieee80211_sub_if_data *sdata, |
1188 | struct cfg80211_nan_conf *conf) | 1204 | struct cfg80211_nan_conf *conf) |