Home | History | Annotate | Download | only in gpxe
      1 #ifndef _GPXE_RC80211_H
      2 #define _GPXE_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 /* _GPXE_RC80211_H */
     20