aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/driver-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r--net/mac80211/driver-ops.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h
index e8dbda1b5b8a..0eb2bc003058 100644
--- a/net/mac80211/driver-ops.h
+++ b/net/mac80211/driver-ops.h
@@ -476,6 +476,21 @@ int drv_sta_state(struct ieee80211_local *local,
476 return ret; 476 return ret;
477} 477}
478 478
479static inline void drv_sta_rc_update(struct ieee80211_local *local,
480 struct ieee80211_sub_if_data *sdata,
481 struct ieee80211_sta *sta, u32 changed)
482{
483 sdata = get_bss_sdata(sdata);
484 check_sdata_in_driver(sdata);
485
486 trace_drv_sta_rc_update(local, sdata, sta, changed);
487 if (local->ops->sta_rc_update)
488 local->ops->sta_rc_update(&local->hw, &sdata->vif,
489 sta, changed);
490
491 trace_drv_return_void(local);
492}
493
479static inline int drv_conf_tx(struct ieee80211_local *local, 494static inline int drv_conf_tx(struct ieee80211_local *local,
480 struct ieee80211_sub_if_data *sdata, u16 queue, 495 struct ieee80211_sub_if_data *sdata, u16 queue,
481 const struct ieee80211_tx_queue_params *params) 496 const struct ieee80211_tx_queue_params *params)