iPXE
rc80211.h
Go to the documentation of this file.
1#ifndef _IPXE_RC80211_H
2#define _IPXE_RC80211_H
3
4/** @file
5 *
6 * Rate-control algorithm prototype for 802.11.
7 */
8
9FILE_LICENCE ( GPL2_OR_LATER );
10
11struct net80211_device;
12struct rc80211_ctx;
13
14struct rc80211_ctx * rc80211_init ( struct net80211_device *dev );
15void rc80211_update_tx ( struct net80211_device *dev, int retries, int rc );
16void rc80211_update_rx ( struct net80211_device *dev, int retry, u16 rate );
17void rc80211_free ( struct rc80211_ctx *ctx );
18
19#endif /* _IPXE_RC80211_H */
struct golan_eq_context ctx
Definition CIB_PRM.h:0
struct arbelprm_rc_send_wqe rc
Definition arbel.h:3
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
struct rc80211_ctx * rc80211_init(struct net80211_device *dev)
void rc80211_update_tx(struct net80211_device *dev, int retries, int rc)
Update rate-control state for transmitted packet.
Definition rc80211.c:317
void rc80211_free(struct rc80211_ctx *ctx)
Free rate-control context.
Definition rc80211.c:370
void rc80211_update_rx(struct net80211_device *dev, int retry, u16 rate)
Update rate-control state for received packet.
Definition rc80211.c:352
Structure encapsulating the complete state of an 802.11 device.
Definition net80211.h:787
A rate control context.
Definition rc80211.c:135
#define u16
Definition vga.h:20