aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/rc80211.h
blob: 0856896c8fed50ccc7b617922ef83b8dac8ca985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _GPXE_RC80211_H
#define _GPXE_RC80211_H

/** @file
 *
 * Rate-control algorithm prototype for 802.11.
 */

FILE_LICENCE ( GPL2_OR_LATER );

struct net80211_device;
struct rc80211_ctx;

struct rc80211_ctx * rc80211_init ( struct net80211_device *dev );
void rc80211_update_tx ( struct net80211_device *dev, int retries, int rc );
void rc80211_update_rx ( struct net80211_device *dev, int retry, u16 rate );
void rc80211_free ( struct rc80211_ctx *ctx );

#endif /* _GPXE_RC80211_H */