Release 4.11 net/mac80211/driver-ops.h
/*
* Portions of this file
* Copyright(c) 2016 Intel Deutschland GmbH
*/
#ifndef __MAC80211_DRIVER_OPS
#define __MAC80211_DRIVER_OPS
#include <net/mac80211.h>
#include "ieee80211_i.h"
#include "trace.h"
static inline bool check_sdata_in_driver(struct ieee80211_sub_if_data *sdata)
{
return !WARN(!(sdata->flags & IEEE80211_SDATA_IN_DRIVER),
"%s: Failed check-sdata-in-driver check, flags: 0x%x\n",
sdata->dev ? sdata->dev->name : sdata->name, sdata->flags);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 33 | 71.74% | 3 | 75.00% |
Ben Greear | 13 | 28.26% | 1 | 25.00% |
Total | 46 | 100.00% | 4 | 100.00% |
static inline struct ieee80211_sub_if_data *
get_bss_sdata(struct ieee80211_sub_if_data *sdata)
{
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
sdata = container_of(sdata->bss, struct ieee80211_sub_if_data,
u.ap);
return sdata;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Felix Fietkau | 43 | 100.00% | 1 | 100.00% |
Total | 43 | 100.00% | 1 | 100.00% |
static inline void drv_tx(struct ieee80211_local *local,
struct ieee80211_tx_control *control,
struct sk_buff *skb)
{
local->ops->tx(&local->hw, control, skb);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 31 | 81.58% | 2 | 66.67% |
Thomas Huehn | 7 | 18.42% | 1 | 33.33% |
Total | 38 | 100.00% | 3 | 100.00% |
static inline void drv_sync_rx_queues(struct ieee80211_local *local,
struct sta_info *sta)
{
if (local->ops->sync_rx_queues) {
trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta);
local->ops->sync_rx_queues(&local->hw);
trace_drv_return_void(local);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sara Sharon | 58 | 100.00% | 1 | 100.00% |
Total | 58 | 100.00% | 1 | 100.00% |
static inline void drv_get_et_strings(struct ieee80211_sub_if_data *sdata,
u32 sset, u8 *data)
{
struct ieee80211_local *local = sdata->local;
if (local->ops->get_et_strings) {
trace_drv_get_et_strings(local, sset);
local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data);
trace_drv_return_void(local);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ben Greear | 71 | 100.00% | 1 | 100.00% |
Total | 71 | 100.00% | 1 | 100.00% |
static inline void drv_get_et_stats(struct ieee80211_sub_if_data *sdata,
struct ethtool_stats *stats,
u64 *data)
{
struct ieee80211_local *local = sdata->local;
if (local->ops->get_et_stats) {
trace_drv_get_et_stats(local);
local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data);
trace_drv_return_void(local);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ben Greear | 71 | 100.00% | 1 | 100.00% |
Total | 71 | 100.00% | 1 | 100.00% |
static inline int drv_get_et_sset_count(struct ieee80211_sub_if_data *sdata,
int sset)
{
struct ieee80211_local *local = sdata->local;
int rv = 0;
if (local->ops->get_et_sset_count) {
trace_drv_get_et_sset_count(local, sset);
rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif,
sset);
trace_drv_return_int(local, rv);
}
return rv;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ben Greear | 77 | 100.00% | 1 | 100.00% |
Total | 77 | 100.00% | 1 | 100.00% |
int drv_start(struct ieee80211_local *local);
void drv_stop(struct ieee80211_local *local);
#ifdef CONFIG_PM
static inline int drv_suspend(struct ieee80211_local *local,
struct cfg80211_wowlan *wowlan)
{
int ret;
might_sleep();
trace_drv_suspend(local);
ret = local->ops->suspend(&local->hw, wowlan);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 54 | 100.00% | 1 | 100.00% |
Total | 54 | 100.00% | 1 | 100.00% |
static inline int drv_resume(struct ieee80211_local *local)
{
int ret;
might_sleep();
trace_drv_resume(local);
ret = local->ops->resume(&local->hw);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 47 | 100.00% | 1 | 100.00% |
Total | 47 | 100.00% | 1 | 100.00% |
static inline void drv_set_wakeup(struct ieee80211_local *local,
bool enabled)
{
might_sleep();
if (!local->ops->set_wakeup)
return;
trace_drv_set_wakeup(local, enabled);
local->ops->set_wakeup(&local->hw, enabled);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 54 | 100.00% | 1 | 100.00% |
Total | 54 | 100.00% | 1 | 100.00% |
#endif
int drv_add_interface(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata);
int drv_change_interface(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
enum nl80211_iftype type, bool p2p);
void drv_remove_interface(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata);
static inline int drv_config(struct ieee80211_local *local, u32 changed)
{
int ret;
might_sleep();
trace_drv_config(local, changed);
ret = local->ops->config(&local->hw, changed);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 47 | 87.04% | 3 | 75.00% |
Kalle Valo | 7 | 12.96% | 1 | 25.00% |
Total | 54 | 100.00% | 4 | 100.00% |
static inline void drv_bss_info_changed(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_bss_conf *info,
u32 changed)
{
might_sleep();
if (WARN_ON_ONCE(changed & (BSS_CHANGED_BEACON |
BSS_CHANGED_BEACON_ENABLED) &&
sdata->vif.type != NL80211_IFTYPE_AP &&
sdata->vif.type != NL80211_IFTYPE_ADHOC &&
sdata->vif.type != NL80211_IFTYPE_MESH_POINT &&
sdata->vif.type != NL80211_IFTYPE_OCB))
return;
if (WARN_ON_ONCE(sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE ||
sdata->vif.type == NL80211_IFTYPE_NAN ||
(sdata->vif.type == NL80211_IFTYPE_MONITOR &&
!sdata->vif.mu_mimo_owner)))
return;
if (!check_sdata_in_driver(sdata))
return;
trace_drv_bss_info_changed(local, sdata, info, changed);
if (local->ops->bss_info_changed)
local->ops->bss_info_changed(&local->hw, &sdata->vif, info, changed);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 139 | 83.23% | 9 | 69.23% |
Aviya Erenfeld | 9 | 5.39% | 1 | 7.69% |
Ayala Beker | 8 | 4.79% | 1 | 7.69% |
Rostislav Lisovy | 8 | 4.79% | 1 | 7.69% |
Kalle Valo | 3 | 1.80% | 1 | 7.69% |
Total | 167 | 100.00% | 13 | 100.00% |
static inline u64 drv_prepare_multicast(struct ieee80211_local *local,
struct netdev_hw_addr_list *mc_list)
{
u64 ret = 0;
trace_drv_prepare_multicast(local, mc_list->count);
if (local->ops->prepare_multicast)
ret = local->ops->prepare_multicast(&local->hw, mc_list);
trace_drv_return_u64(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 64 | 98.46% | 2 | 66.67% |
Jiri Pirko | 1 | 1.54% | 1 | 33.33% |
Total | 65 | 100.00% | 3 | 100.00% |
static inline void drv_configure_filter(struct ieee80211_local *local,
unsigned int changed_flags,
unsigned int *total_flags,
u64 multicast)
{
might_sleep();
trace_drv_configure_filter(local, changed_flags, total_flags,
multicast);
local->ops->configure_filter(&local->hw, changed_flags, total_flags,
multicast);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 61 | 100.00% | 4 | 100.00% |
Total | 61 | 100.00% | 4 | 100.00% |
static inline void drv_config_iface_filter(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
unsigned int filter_flags,
unsigned int changed_flags)
{
might_sleep();
trace_drv_config_iface_filter(local, sdata, filter_flags,
changed_flags);
if (local->ops->config_iface_filter)
local->ops->config_iface_filter(&local->hw, &sdata->vif,
filter_flags,
changed_flags);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrei Otcheretianski | 73 | 100.00% | 1 | 100.00% |
Total | 73 | 100.00% | 1 | 100.00% |
static inline int drv_set_tim(struct ieee80211_local *local,
struct ieee80211_sta *sta, bool set)
{
int ret = 0;
trace_drv_set_tim(local, sta, set);
if (local->ops->set_tim)
ret = local->ops->set_tim(&local->hw, sta, set);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 70 | 100.00% | 3 | 100.00% |
Total | 70 | 100.00% | 3 | 100.00% |
static inline int drv_set_key(struct ieee80211_local *local,
enum set_key_cmd cmd,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta,
struct ieee80211_key_conf *key)
{
int ret;
might_sleep();
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return -EIO;
trace_drv_set_key(local, cmd, sdata, sta, key);
ret = local->ops->set_key(&local->hw, cmd, &sdata->vif, sta, key);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 97 | 93.27% | 7 | 87.50% |
Kalle Valo | 7 | 6.73% | 1 | 12.50% |
Total | 104 | 100.00% | 8 | 100.00% |
static inline void drv_update_tkip_key(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_key_conf *conf,
struct sta_info *sta, u32 iv32,
u16 *phase1key)
{
struct ieee80211_sta *ista = NULL;
if (sta)
ista = &sta->sta;
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_update_tkip_key(local, sdata, conf, ista, iv32);
if (local->ops->update_tkip_key)
local->ops->update_tkip_key(&local->hw, &sdata->vif, conf,
ista, iv32, phase1key);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 119 | 100.00% | 7 | 100.00% |
Total | 119 | 100.00% | 7 | 100.00% |
static inline int drv_hw_scan(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_scan_request *req)
{
int ret;
might_sleep();
if (!check_sdata_in_driver(sdata))
return -EIO;
trace_drv_hw_scan(local, sdata);
ret = local->ops->hw_scan(&local->hw, &sdata->vif, req);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 40 | 51.28% | 6 | 66.67% |
Luciano Coelho | 33 | 42.31% | 1 | 11.11% |
Kalle Valo | 4 | 5.13% | 1 | 11.11% |
David Spinadel | 1 | 1.28% | 1 | 11.11% |
Total | 78 | 100.00% | 9 | 100.00% |
static inline void drv_cancel_hw_scan(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata)
{
might_sleep();
if (!check_sdata_in_driver(sdata))
return;
trace_drv_cancel_hw_scan(local, sdata);
local->ops->cancel_hw_scan(&local->hw, &sdata->vif);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Eliad Peller | 49 | 84.48% | 1 | 33.33% |
Johannes Berg | 9 | 15.52% | 2 | 66.67% |
Total | 58 | 100.00% | 3 | 100.00% |
static inline int
drv_sched_scan_start(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct cfg80211_sched_scan_request *req,
struct ieee80211_scan_ies *ies)
{
int ret;
might_sleep();
if (!check_sdata_in_driver(sdata))
return -EIO;
trace_drv_sched_scan_start(local, sdata);
ret = local->ops->sched_scan_start(&local->hw, &sdata->vif,
req, ies);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 43 | 50.59% | 6 | 66.67% |
Luciano Coelho | 38 | 44.71% | 1 | 11.11% |
Kalle Valo | 3 | 3.53% | 1 | 11.11% |
David Spinadel | 1 | 1.18% | 1 | 11.11% |
Total | 85 | 100.00% | 9 | 100.00% |
static inline int drv_sched_scan_stop(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata)
{
int ret;
might_sleep();
if (!check_sdata_in_driver(sdata))
return -EIO;
trace_drv_sched_scan_stop(local, sdata);
ret = local->ops->sched_scan_stop(&local->hw, &sdata->vif);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Luciano Coelho | 47 | 66.20% | 1 | 25.00% |
Johannes Berg | 24 | 33.80% | 3 | 75.00% |
Total | 71 | 100.00% | 4 | 100.00% |
static inline void drv_sw_scan_start(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
const u8 *mac_addr)
{
might_sleep();
trace_drv_sw_scan_start(local, sdata, mac_addr);
if (local->ops->sw_scan_start)
local->ops->sw_scan_start(&local->hw, &sdata->vif, mac_addr);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 63 | 95.45% | 4 | 80.00% |
Kalle Valo | 3 | 4.55% | 1 | 20.00% |
Total | 66 | 100.00% | 5 | 100.00% |
static inline void drv_sw_scan_complete(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata)
{
might_sleep();
trace_drv_sw_scan_complete(local, sdata);
if (local->ops->sw_scan_complete)
local->ops->sw_scan_complete(&local->hw, &sdata->vif);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 54 | 94.74% | 4 | 80.00% |
Kalle Valo | 3 | 5.26% | 1 | 20.00% |
Total | 57 | 100.00% | 5 | 100.00% |
static inline int drv_get_stats(struct ieee80211_local *local,
struct ieee80211_low_level_stats *stats)
{
int ret = -EOPNOTSUPP;
might_sleep();
if (local->ops->get_stats)
ret = local->ops->get_stats(&local->hw, stats);
trace_drv_get_stats(local, stats, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 59 | 95.16% | 2 | 66.67% |
Kalle Valo | 3 | 4.84% | 1 | 33.33% |
Total | 62 | 100.00% | 3 | 100.00% |
static inline void drv_get_key_seq(struct ieee80211_local *local,
struct ieee80211_key *key,
struct ieee80211_key_seq *seq)
{
if (local->ops->get_key_seq)
local->ops->get_key_seq(&local->hw, &key->conf, seq);
trace_drv_get_key_seq(local, &key->conf);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 59 | 100.00% | 3 | 100.00% |
Total | 59 | 100.00% | 3 | 100.00% |
static inline int drv_set_frag_threshold(struct ieee80211_local *local,
u32 value)
{
int ret = 0;
might_sleep();
trace_drv_set_frag_threshold(local, value);
if (local->ops->set_frag_threshold)
ret = local->ops->set_frag_threshold(&local->hw, value);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Arik Nemtsov | 64 | 100.00% | 1 | 100.00% |
Total | 64 | 100.00% | 1 | 100.00% |
static inline int drv_set_rts_threshold(struct ieee80211_local *local,
u32 value)
{
int ret = 0;
might_sleep();
trace_drv_set_rts_threshold(local, value);
if (local->ops->set_rts_threshold)
ret = local->ops->set_rts_threshold(&local->hw, value);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 61 | 95.31% | 3 | 75.00% |
Kalle Valo | 3 | 4.69% | 1 | 25.00% |
Total | 64 | 100.00% | 4 | 100.00% |
static inline int drv_set_coverage_class(struct ieee80211_local *local,
s16 value)
{
int ret = 0;
might_sleep();
trace_drv_set_coverage_class(local, value);
if (local->ops->set_coverage_class)
local->ops->set_coverage_class(&local->hw, value);
else
ret = -EOPNOTSUPP;
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Lukáš Turek | 59 | 86.76% | 1 | 33.33% |
Johannes Berg | 8 | 11.76% | 1 | 33.33% |
Lorenzo Bianconi | 1 | 1.47% | 1 | 33.33% |
Total | 68 | 100.00% | 3 | 100.00% |
static inline void drv_sta_notify(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
enum sta_notify_cmd cmd,
struct ieee80211_sta *sta)
{
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_sta_notify(local, sdata, cmd, sta);
if (local->ops->sta_notify)
local->ops->sta_notify(&local->hw, &sdata->vif, cmd, sta);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 80 | 91.95% | 6 | 85.71% |
Felix Fietkau | 7 | 8.05% | 1 | 14.29% |
Total | 87 | 100.00% | 7 | 100.00% |
static inline int drv_sta_add(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta)
{
int ret = 0;
might_sleep();
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return -EIO;
trace_drv_sta_add(local, sdata, sta);
if (local->ops->sta_add)
ret = local->ops->sta_add(&local->hw, &sdata->vif, sta);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 90 | 92.78% | 4 | 80.00% |
Felix Fietkau | 7 | 7.22% | 1 | 20.00% |
Total | 97 | 100.00% | 5 | 100.00% |
static inline void drv_sta_remove(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta)
{
might_sleep();
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_sta_remove(local, sdata, sta);
if (local->ops->sta_remove)
local->ops->sta_remove(&local->hw, &sdata->vif, sta);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 75 | 91.46% | 4 | 80.00% |
Felix Fietkau | 7 | 8.54% | 1 | 20.00% |
Total | 82 | 100.00% | 5 | 100.00% |
#ifdef CONFIG_MAC80211_DEBUGFS
static inline void drv_sta_add_debugfs(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta,
struct dentry *dir)
{
might_sleep();
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
if (local->ops->sta_add_debugfs)
local->ops->sta_add_debugfs(&local->hw, &sdata->vif,
sta, dir);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sujith Manoharan | 70 | 93.33% | 1 | 50.00% |
Johannes Berg | 5 | 6.67% | 1 | 50.00% |
Total | 75 | 100.00% | 2 | 100.00% |
#endif
static inline void drv_sta_pre_rcu_remove(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct sta_info *sta)
{
might_sleep();
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_sta_pre_rcu_remove(local, sdata, &sta->sta);
if (local->ops->sta_pre_rcu_remove)
local->ops->sta_pre_rcu_remove(&local->hw, &sdata->vif,
&sta->sta);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 88 | 100.00% | 2 | 100.00% |
Total | 88 | 100.00% | 2 | 100.00% |
__must_check
int drv_sta_state(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct sta_info *sta,
enum ieee80211_sta_state old_state,
enum ieee80211_sta_state new_state);
void drv_sta_rc_update(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta, u32 changed);
static inline void drv_sta_rate_tbl_update(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta)
{
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_sta_rate_tbl_update(local, sdata, sta);
if (local->ops->sta_rate_tbl_update)
local->ops->sta_rate_tbl_update(&local->hw, &sdata->vif, sta);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 79 | 100.00% | 1 | 100.00% |
Total | 79 | 100.00% | 1 | 100.00% |
static inline void drv_sta_statistics(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta *sta,
struct station_info *sinfo)
{
sdata = get_bss_sdata(sdata);
if (!check_sdata_in_driver(sdata))
return;
trace_drv_sta_statistics(local, sdata, sta);
if (local->ops->sta_statistics)
local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo);
trace_drv_return_void(local);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 86 | 100.00% | 1 | 100.00% |
Total | 86 | 100.00% | 1 | 100.00% |
int drv_conf_tx(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata, u16 ac,
const struct ieee80211_tx_queue_params *params);
u64 drv_get_tsf(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata);
void drv_set_tsf(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
u64 tsf);
void drv_offset_tsf(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
s64 offset);
void drv_reset_tsf(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata);
static inline int drv_tx_last_beacon(struct ieee80211_local *local)
{
int ret = 0; /* default unsupported op for less congestion */
might_sleep();
trace_drv_tx_last_beacon(local);
if (local->ops->tx_last_beacon)
ret = local->ops->tx_last_beacon(&local->hw);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 53 | 91.38% | 3 | 50.00% |
Kalle Valo | 3 | 5.17% | 1 | 16.67% |
Masanari Iida | 1 | 1.72% | 1 | 16.67% |
Tim Harvey | 1 | 1.72% | 1 | 16.67% |
Total | 58 | 100.00% | 6 | 100.00% |
int drv_ampdu_action(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,
struct ieee80211_ampdu_params *params);
static inline int drv_get_survey(struct ieee80211_local *local, int idx,
struct survey_info *survey)
{
int ret = -EOPNOTSUPP;
trace_drv_get_survey(local, idx, survey);
if (local->ops->get_survey)
ret = local->ops->get_survey(&local->hw, idx, survey);
trace_drv_return_int(local, ret);
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Holger Schurig | 55 | 77.46% | 2 | 66.67% |
John W. Linville | 16 | 22.54% | 1 | 33.33% |
Total | 71 | 100.00% | 3 | 100.00% |
static inline void drv_rfkill_poll(struct ieee80211_local *local)
{
might_sleep();
if (local->ops->rfkill_poll)
local->ops