]> git.karo-electronics.de Git - linux-beck.git/blobdiff - net/mac80211/ieee80211_i.h
mac80211: use rate index in TX control
[linux-beck.git] / net / mac80211 / ieee80211_i.h
index ed0d9b35ae6f6d161922f0ddb2df83a192bdbc3b..a4cccd1b7d539f8a21c169e3a116395fbe050a52 100644 (file)
@@ -159,11 +159,11 @@ struct ieee80211_tx_data {
 
        struct ieee80211_tx_control *control;
        struct ieee80211_channel *channel;
-       struct ieee80211_rate *rate;
+       s8 rate_idx;
        /* use this rate (if set) for last fragment; rate can
         * be set to lower rate for the first fragments, e.g.,
         * when using CTS protection with IEEE 802.11g. */
-       struct ieee80211_rate *last_frag_rate;
+       s8 last_frag_rate_idx;
 
        /* Extra fragments (in addition to the first fragment
         * in skb) */
@@ -225,9 +225,9 @@ struct ieee80211_tx_stored_packet {
        struct ieee80211_tx_control control;
        struct sk_buff *skb;
        struct sk_buff **extra_frag;
-       struct ieee80211_rate *last_frag_rate;
+       s8 last_frag_rate_idx;
        int num_extra_frag;
-       unsigned int last_frag_rate_ctrl_probe;
+       bool last_frag_rate_ctrl_probe;
 };
 
 struct beacon_data {