driver-ops.h (ca25ebe550688e697764c76b06f406d9ea4b7d02) driver-ops.h (4fdbc67a25ce577b79b3af595e874e9ef921329f)
1/*
2* Portions of this file
3* Copyright(c) 2016 Intel Deutschland GmbH
4*/
5
6#ifndef __MAC80211_DRIVER_OPS
7#define __MAC80211_DRIVER_OPS
8

--- 1074 unchanged lines hidden (view full) ---

1083
1084 trace_drv_leave_ibss(local, sdata);
1085 if (local->ops->leave_ibss)
1086 local->ops->leave_ibss(&local->hw, &sdata->vif);
1087 trace_drv_return_void(local);
1088}
1089
1090static inline u32 drv_get_expected_throughput(struct ieee80211_local *local,
1/*
2* Portions of this file
3* Copyright(c) 2016 Intel Deutschland GmbH
4*/
5
6#ifndef __MAC80211_DRIVER_OPS
7#define __MAC80211_DRIVER_OPS
8

--- 1074 unchanged lines hidden (view full) ---

1083
1084 trace_drv_leave_ibss(local, sdata);
1085 if (local->ops->leave_ibss)
1086 local->ops->leave_ibss(&local->hw, &sdata->vif);
1087 trace_drv_return_void(local);
1088}
1089
1090static inline u32 drv_get_expected_throughput(struct ieee80211_local *local,
1091 struct ieee80211_sta *sta)
1091 struct sta_info *sta)
1092{
1093 u32 ret = 0;
1094
1092{
1093 u32 ret = 0;
1094
1095 trace_drv_get_expected_throughput(sta);
1096 if (local->ops->get_expected_throughput)
1097 ret = local->ops->get_expected_throughput(&local->hw, sta);
1095 trace_drv_get_expected_throughput(&sta->sta);
1096 if (local->ops->get_expected_throughput && sta->uploaded)
1097 ret = local->ops->get_expected_throughput(&local->hw, &sta->sta);
1098 trace_drv_return_u32(local, ret);
1099
1100 return ret;
1101}
1102
1103static inline int drv_get_txpower(struct ieee80211_local *local,
1104 struct ieee80211_sub_if_data *sdata, int *dbm)
1105{

--- 77 unchanged lines hidden ---
1098 trace_drv_return_u32(local, ret);
1099
1100 return ret;
1101}
1102
1103static inline int drv_get_txpower(struct ieee80211_local *local,
1104 struct ieee80211_sub_if_data *sdata, int *dbm)
1105{

--- 77 unchanged lines hidden ---