iPXE
rc80211.h
Go to the documentation of this file.
00001 #ifndef _IPXE_RC80211_H
00002 #define _IPXE_RC80211_H
00003 
00004 /** @file
00005  *
00006  * Rate-control algorithm prototype for 802.11.
00007  */
00008 
00009 FILE_LICENCE ( GPL2_OR_LATER );
00010 
00011 struct net80211_device;
00012 struct rc80211_ctx;
00013 
00014 struct rc80211_ctx * rc80211_init ( struct net80211_device *dev );
00015 void rc80211_update_tx ( struct net80211_device *dev, int retries, int rc );
00016 void rc80211_update_rx ( struct net80211_device *dev, int retry, u16 rate );
00017 void rc80211_free ( struct rc80211_ctx *ctx );
00018 
00019 #endif /* _IPXE_RC80211_H */