aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-28 05:04:23 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-10 14:54:09 -0400
commitd748b4642a53cd1ead303f9e2b008295391466b7 (patch)
treea557d45efb433b2022125fc5c4665ded20e27e1c /include/net/mac80211.h
parent8f727ef3c4859f2c397a7609beb845dcd66729f5 (diff)
mac80211: remove antenna_sel_tx TX info field
This field is never set to anything non-zero in mac80211, so we should be able to remove it. Unfortunately though, the iwlwifi and iwlegacy drivers use it for their internal TX status processing (which shouldn't be using the rate control API to start with), so add a new field "status.antenna" for them, at least for now. In the future, I plan to use the new field to hold the hardware queue, while the SKB's queue mapping holds the AC. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index dc0d3e71575..a0e79d13fa8 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -522,7 +522,7 @@ struct ieee80211_tx_rate {
522 * 522 *
523 * @flags: transmit info flags, defined above 523 * @flags: transmit info flags, defined above
524 * @band: the band to transmit on (use for checking for races) 524 * @band: the band to transmit on (use for checking for races)
525 * @antenna_sel_tx: antenna to use, 0 for automatic diversity 525 * @reserved: reserved for future use
526 * @ack_frame_id: internal frame ID for TX status, used internally 526 * @ack_frame_id: internal frame ID for TX status, used internally
527 * @control: union for control data 527 * @control: union for control data
528 * @status: union for status data 528 * @status: union for status data
@@ -538,7 +538,7 @@ struct ieee80211_tx_info {
538 u32 flags; 538 u32 flags;
539 u8 band; 539 u8 band;
540 540
541 u8 antenna_sel_tx; 541 u8 reserved;
542 542
543 u16 ack_frame_id; 543 u16 ack_frame_id;
544 544
@@ -564,7 +564,8 @@ struct ieee80211_tx_info {
564 u8 ampdu_ack_len; 564 u8 ampdu_ack_len;
565 int ack_signal; 565 int ack_signal;
566 u8 ampdu_len; 566 u8 ampdu_len;
567 /* 15 bytes free */ 567 u8 antenna;
568 /* 14 bytes free */
568 } status; 569 } status;
569 struct { 570 struct {
570 struct ieee80211_tx_rate driver_rates[ 571 struct ieee80211_tx_rate driver_rates[