Skip to contentSkip to conversation

ath10k: 160MHz/80+80 radar detect with Wave2 cards

DISCUSSION Sven Eckelmann 1 participant 1 message Jul 26, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Hi,

as we know, some wave2 cards support 160MHz (with some limitations). This also requires support for radar detection with 160MHz/80+80 or otherwise cfg80211 will reject this setting. I would like to propose following change but I am unsure whether it actually works correctly on this hardware (QCA9888).

    diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
    index 2bea5e8..3b43759 100644
    --- a/drivers/net/wireless/ath/ath10k/mac.c
    +++ b/drivers/net/wireless/ath/ath10k/mac.c
    @@ -7951,7 +7951,9 @@ static const struct ieee80211_iface_combination ath10k_10_4_if_comb[] = {
     		.radar_detect_widths =	BIT(NL80211_CHAN_WIDTH_20_NOHT) |
     					BIT(NL80211_CHAN_WIDTH_20) |
     					BIT(NL80211_CHAN_WIDTH_40) |
    -					BIT(NL80211_CHAN_WIDTH_80),
    +					BIT(NL80211_CHAN_WIDTH_80) |
    +					BIT(NL80211_CHAN_WIDTH_80P80) |
    +					BIT(NL80211_CHAN_WIDTH_160)
     #endif
     	},
     };

Does anyone know whether radar detection is supported for these channel widths?

Kind regards,
Sven

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k