This feature might come handy in future. Because aggregation
does not always work as smoothly as hoped. Furthermore,
the original firmware did something similar.
But be advised that once the aggregation for any particular
frame retry was disabled. It should remain disabled for all
following tries and not be enabled again.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
/* update MAC flags */
super->f.hdr.mac.erp_prot = super->s.ri[super->s.rix].erp_prot;
+ super->f.hdr.mac.ampdu = super->s.ri[super->s.rix].ampdu;
/* reinitialize try counter */
super->s.cnt = 1;
struct ar9170_tx_rate_info {
u8 tries:3;
u8 erp_prot:2;
- u8 free:3; /* free for use (e.g.:RIFS/TXOP/AMPDU) */
+ u8 ampdu:1;
+ u8 free:2; /* free for use (e.g.:RIFS/TXOP/AMPDU) */
} __packed;
struct carl9170_tx_superdesc {
#define CARL9170_TX_SUPER_RI_TRIES_S 0
#define CARL9170_TX_SUPER_RI_ERP_PROT 0x18
#define CARL9170_TX_SUPER_RI_ERP_PROT_S 3
+#define CARL9170_TX_SUPER_RI_AMPDU 0x20
+#define CARL9170_TX_SUPER_RI_AMPDU_S 5
struct _carl9170_tx_superdesc {
__le16 len;