Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1adf02ff authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by John W. Linville
Browse files

ath9k_hw: Add hw cap flag for EDMA for the AR9003 family



AR9003 supports extended DMA (EDMA), this comes with some
bells and whistles on top of the legacy DMA that we are used
to. Mark AR9003 and later chips EDMA capable.

Signed-off-by: default avatarVasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3448f912
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2873,6 +2873,9 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
		btcoex_hw->scheme = ATH_BTCOEX_CFG_NONE;
	}

	if (AR_SREV_9300_20_OR_LATER(ah))
		pCap->hw_caps |= ATH9K_HW_CAP_EDMA;

	return 0;
}

+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@ enum ath9k_hw_caps {
	ATH9K_HW_CAP_ENHANCEDPM                 = BIT(14),
	ATH9K_HW_CAP_AUTOSLEEP                  = BIT(15),
	ATH9K_HW_CAP_4KB_SPLITTRANS             = BIT(16),
	ATH9K_HW_CAP_EDMA			= BIT(17),
};

enum ath9k_capability_type {