mac80211: sync with changes to patches submitted upstream
[openwrt.git] / package / mac80211 / patches / 520-driver_flags.patch
1 --- a/include/net/mac80211.h
2 +++ b/include/net/mac80211.h
3 @@ -386,14 +386,17 @@ 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 - *     relevant only if IEEE80211_TX_STATUS_AMPDU was set.
14 + * @ampdu_ack_len: number of acked aggregated frames.
15 + *     relevant only if ieee80211_tx_status_ampdu was set.
16   * @ampdu_ack_map: block ack bit map for the aggregation.
17   *     relevant only if IEEE80211_TX_STATUS_AMPDU was set.
18 + * @ampdu_len: number of aggregated frames.
19 + *     relevant only if ieee80211_tx_status_ampdu was set.
20   * @ack_signal: signal strength of the ACK frame
21   */
22  struct ieee80211_tx_info {
23 @@ -403,8 +406,8 @@ struct ieee80211_tx_info {
24  
25         u8 antenna_sel_tx;
26  
27 -       /* 2 byte hole */
28 -       u8 pad[2];
29 +       u8 driver_flags;
30 +       u8 pad;
31  
32         union {
33                 struct {
34 @@ -428,7 +431,8 @@ struct ieee80211_tx_info {
35                         u8 ampdu_ack_len;
36                         u64 ampdu_ack_map;
37                         int ack_signal;
38 -                       /* 8 bytes free */
39 +                       u8 ampdu_len;
40 +                       /* 7 bytes free */
41                 } status;
42                 struct {
43                         struct ieee80211_tx_rate driver_rates[