mac80211.h (c316cf670491def52a396d3bdc5a63ad01f7fefa) mac80211.h (484a54c2e597dbc4ace79c1687022282905afba0)
1/*
2 * mac80211 <-> driver interface
3 *
4 * Copyright 2002-2005, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
6 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH

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

4200 */
4201void ieee80211_get_tx_rates(struct ieee80211_vif *vif,
4202 struct ieee80211_sta *sta,
4203 struct sk_buff *skb,
4204 struct ieee80211_tx_rate *dest,
4205 int max_rates);
4206
4207/**
1/*
2 * mac80211 <-> driver interface
3 *
4 * Copyright 2002-2005, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
6 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH

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

4200 */
4201void ieee80211_get_tx_rates(struct ieee80211_vif *vif,
4202 struct ieee80211_sta *sta,
4203 struct sk_buff *skb,
4204 struct ieee80211_tx_rate *dest,
4205 int max_rates);
4206
4207/**
4208 * ieee80211_sta_set_expected_throughput - set the expected tpt for a station
4209 *
4210 * Call this function to notify mac80211 about a change in expected throughput
4211 * to a station. A driver for a device that does rate control in firmware can
4212 * call this function when the expected throughput estimate towards a station
4213 * changes. The information is used to tune the CoDel AQM applied to traffic
4214 * going towards that station (which can otherwise be too aggressive and cause
4215 * slow stations to starve).
4216 *
4217 * @pubsta: the station to set throughput for.
4218 * @thr: the current expected throughput in kbps.
4219 */
4220void ieee80211_sta_set_expected_throughput(struct ieee80211_sta *pubsta,
4221 u32 thr);
4222
4223/**
4208 * ieee80211_tx_status - transmit status callback
4209 *
4210 * Call this function for all transmitted frames after they have been
4211 * transmitted. It is permissible to not call this function for
4212 * multicast frames but this can affect statistics.
4213 *
4214 * This function may not be called in IRQ context. Calls to this function
4215 * for a single hardware must be synchronized against each other. Calls

--- 1671 unchanged lines hidden ---
4224 * ieee80211_tx_status - transmit status callback
4225 *
4226 * Call this function for all transmitted frames after they have been
4227 * transmitted. It is permissible to not call this function for
4228 * multicast frames but this can affect statistics.
4229 *
4230 * This function may not be called in IRQ context. Calls to this function
4231 * for a single hardware must be synchronized against each other. Calls

--- 1671 unchanged lines hidden ---