X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=target_firmware%2Fwlan%2Fif_athrate.h;h=068902012dce335ba0c2784524f42304145afad7;hb=24b5105e0730aaeffb8a7b0b6b0d93eec6190b86;hp=1ca50b1d7b17c502f2cb0f0a7c4d28fac51ea670;hpb=8804cc94e3b66550797279f540b960d18a78421f;p=open-ath9k-htc-firmware.git diff --git a/target_firmware/wlan/if_athrate.h b/target_firmware/wlan/if_athrate.h index 1ca50b1..0689020 100755 --- a/target_firmware/wlan/if_athrate.h +++ b/target_firmware/wlan/if_athrate.h @@ -39,13 +39,13 @@ #ifndef _ATH_RATECTRL_H_ #define _ATH_RATECTRL_H_ -struct ath_softc; struct ath_softc_tgt; struct ath_node; struct ath_node_target; struct ath_desc; struct ieee80211vap; struct ieee80211com_target; +struct ath_tx_desc; struct ath_ratectrl { size_t arc_space; /* space required for per-node state */ @@ -82,7 +82,6 @@ struct ath_rc_series { * Attach/detach a rate control module. */ struct ath_ratectrl *ath_rate_attach(struct ath_softc_tgt *); -void ath_rate_detach(struct ath_ratectrl *); /* * Return the transmit info for a data packet. If multi-rate state @@ -114,4 +113,10 @@ void ath_rate_tx_complete(struct ath_softc_tgt *, struct ath_node_target *, void ath_rate_stateupdate(struct ath_softc_tgt *sc, struct ath_node_target *an, enum ath_rc_cwmode cwmode); + +void ath_tx_status_update_rate(struct ath_softc_tgt *sc, + struct ath_rc_series rcs[], + int series, + WMI_TXSTATUS_EVENT *txs); + #endif /* _ATH_RATECTRL_H_ */