2dc2092b1a033e2dead6baea7a1c7d0437da7e6a
[openwrt.git] / package / mac80211 / patches / 520-driver_flags.patch
1 --- a/include/net/mac80211.h
2 +++ b/include/net/mac80211.h
3 @@ -386,11 +386,12 @@ struct ieee80211_tx_rate {
4   * @flags: transmit info flags, defined above
5   * @band: the band to transmit on (use for checking for races)
6   * @antenna_sel_tx: antenna to use, 0 for automatic diversity
7 + * @driver_flags: flags for internal driver use
8   * @pad: padding, ignore
9   * @control: union for control data
10   * @status: union for status data
11   * @driver_data: array of driver_data pointers
12 - * @ampdu_ack_len: number of aggregated frames.
13 + * @ampdu_ack_len: number of acked aggregated frames.
14   *     relevant only if IEEE80211_TX_STATUS_AMPDU was set.
15   * @ampdu_ack_map: block ack bit map for the aggregation.
16   *     relevant only if IEEE80211_TX_STATUS_AMPDU was set.
17 @@ -403,8 +404,8 @@ struct ieee80211_tx_info {
18  
19         u8 antenna_sel_tx;
20  
21 -       /* 2 byte hole */
22 -       u8 pad[2];
23 +       u8 driver_flags;
24 +       u8 ampdu_len;
25  
26         union {
27                 struct {