All of lore.kernel.org
 help / color / mirror / Atom feed
* ath10k: 160MHz/80+80 radar detect with Wave2 cards
@ 2018-07-26 10:45 Sven Eckelmann
  0 siblings, 0 replies; only message in thread
From: Sven Eckelmann @ 2018-07-26 10:45 UTC (permalink / raw)
  To: ath10k; +Cc: daniel.bailey, simon.wunderlich


[-- Attachment #1.1: Type: text/plain, Size: 1067 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-26 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26 10:45 ath10k: 160MHz/80+80 radar detect with Wave2 cards Sven Eckelmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.