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 
9 FILE_LICENCE ( GPL2_OR_LATER );
10 
11 struct net80211_device;
12 struct rc80211_ctx;
13 
14 struct rc80211_ctx * rc80211_init ( struct net80211_device *dev );
15 void rc80211_update_tx ( struct net80211_device *dev, int retries, int rc );
16 void rc80211_update_rx ( struct net80211_device *dev, int retry, u16 rate );
17 void rc80211_free ( struct rc80211_ctx *ctx );
18 
19 #endif /* _IPXE_RC80211_H */
uint16_t u16
Definition: stdint.h:21
void rc80211_update_tx(struct net80211_device *dev, int retries, int rc)
Update rate-control state for transmitted packet.
Definition: rc80211.c:316
struct arbelprm_rc_send_wqe rc
Definition: arbel.h:14
void rc80211_free(struct rc80211_ctx *ctx)
Free rate-control context.
Definition: rc80211.c:369
struct rc80211_ctx * rc80211_init(struct net80211_device *dev)
A rate control context.
Definition: rc80211.c:133
FILE_LICENCE(GPL2_OR_LATER)
Structure encapsulating the complete state of an 802.11 device.
Definition: net80211.h:786
struct golan_eq_context ctx
Definition: CIB_PRM.h:28
void rc80211_update_rx(struct net80211_device *dev, int retry, u16 rate)
Update rate-control state for received packet.
Definition: rc80211.c:351