linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mac80211: AQM and block_tx
@ 2018-07-05  8:47 Sven Eckelmann
  2018-07-10  6:55 ` Sven Eckelmann
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Eckelmann @ 2018-07-05  8:47 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen
  Cc: simon.wunderlich, Daniel Bailey, Shashidhar Lakkavalli, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Hi Toke,

we are currently testing DFS with ath10k and noticed that AQM seems to ignore 
cfg80211_csa_settings->block_tx. Problem is now that the channel switch is 
started on a detected radar

  echo 1 >/sys/kernel/debug/ieee80211/phy1/ath10k/dfs_simulate_radar

NL80211_ATTR_CH_SWITCH_BLOCK_TX is set for the channel switch by hostapd but 
the AP still sends QoS data to the client.

Was there a fix for such a problem which I might have missed? I've just worked 
around that by setting wake_tx_queue TO NULL in ath10k. This still must be 
verified but at least I didn't see any packets anymore on a monitor interface.

Kind regards,
	Sven

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mac80211: AQM and block_tx
  2018-07-05  8:47 mac80211: AQM and block_tx Sven Eckelmann
@ 2018-07-10  6:55 ` Sven Eckelmann
  2018-07-10 12:09   ` Toke Høiland-Jørgensen
  2018-07-10 12:39   ` Manikanta Pubbisetty
  0 siblings, 2 replies; 5+ messages in thread
From: Sven Eckelmann @ 2018-07-10  6:55 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen
  Cc: simon.wunderlich, Daniel Bailey, Shashidhar Lakkavalli, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

On Donnerstag, 5. Juli 2018 10:47:11 CEST Sven Eckelmann wrote:
> Hi Toke,
> 
> we are currently testing DFS with ath10k and noticed that AQM seems to ignore 
> cfg80211_csa_settings->block_tx. Problem is now that the channel switch is 
> started on a detected radar
> 
>   echo 1 >/sys/kernel/debug/ieee80211/phy1/ath10k/dfs_simulate_radar
> 
> NL80211_ATTR_CH_SWITCH_BLOCK_TX is set for the channel switch by hostapd but 
> the AP still sends QoS data to the client.
> 
> Was there a fix for such a problem which I might have missed? I've just worked 
> around that by setting wake_tx_queue TO NULL in ath10k. This still must be 
> verified but at least I didn't see any packets anymore on a monitor interface.


Just as information, the ath10k Dakota devices went through DFS certification 
but the AQM had to be disabled. Otherwise we would have had problems with the 
FCC closing time.

Kind regards,
	Sven

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mac80211: AQM and block_tx
  2018-07-10  6:55 ` Sven Eckelmann
@ 2018-07-10 12:09   ` Toke Høiland-Jørgensen
  2018-07-10 12:39   ` Manikanta Pubbisetty
  1 sibling, 0 replies; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2018-07-10 12:09 UTC (permalink / raw)
  To: Sven Eckelmann
  Cc: simon.wunderlich, Daniel Bailey, Shashidhar Lakkavalli, linux-wireless

Sven Eckelmann <sven.eckelmann@openmesh.com> writes:

> On Donnerstag, 5. Juli 2018 10:47:11 CEST Sven Eckelmann wrote:
>> Hi Toke,
>> 
>> we are currently testing DFS with ath10k and noticed that AQM seems to ignore 
>> cfg80211_csa_settings->block_tx. Problem is now that the channel switch is 
>> started on a detected radar
>> 
>>   echo 1 >/sys/kernel/debug/ieee80211/phy1/ath10k/dfs_simulate_radar
>> 
>> NL80211_ATTR_CH_SWITCH_BLOCK_TX is set for the channel switch by hostapd but 
>> the AP still sends QoS data to the client.
>> 
>> Was there a fix for such a problem which I might have missed? I've just worked 
>> around that by setting wake_tx_queue TO NULL in ath10k. This still must be 
>> verified but at least I didn't see any packets anymore on a monitor interface.
>
>
> Just as information, the ath10k Dakota devices went through DFS
> certification

Cool! (I think? Not quite sure what the implications of passing / not
passing certification are?)

> but the AQM had to be disabled. Otherwise we would have had problems
> with the FCC closing time.

Hmm, too bad; but I guess this can be fixed :)

-Toke

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mac80211: AQM and block_tx
  2018-07-10  6:55 ` Sven Eckelmann
  2018-07-10 12:09   ` Toke Høiland-Jørgensen
@ 2018-07-10 12:39   ` Manikanta Pubbisetty
  2018-07-10 13:40     ` Sven Eckelmann
  1 sibling, 1 reply; 5+ messages in thread
From: Manikanta Pubbisetty @ 2018-07-10 12:39 UTC (permalink / raw)
  To: Sven Eckelmann, Toke Høiland-Jørgensen
  Cc: simon.wunderlich, Daniel Bailey, Shashidhar Lakkavalli, linux-wireless



On 7/10/2018 12:25 PM, Sven Eckelmann wrote:
> On Donnerstag, 5. Juli 2018 10:47:11 CEST Sven Eckelmann wrote:
>> Hi Toke,
>>
>> we are currently testing DFS with ath10k and noticed that AQM seems to ignore
>> cfg80211_csa_settings->block_tx. Problem is now that the channel switch is
>> started on a detected radar
>>
>>    echo 1 >/sys/kernel/debug/ieee80211/phy1/ath10k/dfs_simulate_radar
>>
>> NL80211_ATTR_CH_SWITCH_BLOCK_TX is set for the channel switch by hostapd but
>> the AP still sends QoS data to the client.
>>
>> Was there a fix for such a problem which I might have missed? I've just worked
>> around that by setting wake_tx_queue TO NULL in ath10k. This still must be
>> verified but at least I didn't see any packets anymore on a monitor interface.
>
> Just as information, the ath10k Dakota devices went through DFS certification
> but the AQM had to be disabled. Otherwise we would have had problems with the
> FCC closing time.

I am working on a patch which takes care of stopping the iTXQs after 
detecting a radar(covering other scenarios where stopping iTXQs is 
important)
and there by making sure packets are not transmitted.

The patch is still under discussion but it's worth trying the patch 
given below and see if it fixes the DFS channel closing time issue; you 
need not disable AQM while trying this patch.
https://patchwork.kernel.org/patch/10516887/

-Manikanta

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mac80211: AQM and block_tx
  2018-07-10 12:39   ` Manikanta Pubbisetty
@ 2018-07-10 13:40     ` Sven Eckelmann
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Eckelmann @ 2018-07-10 13:40 UTC (permalink / raw)
  To: Manikanta Pubbisetty
  Cc: Toke Høiland-Jørgensen, simon.wunderlich,
	Daniel Bailey, Shashidhar Lakkavalli, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

On Dienstag, 10. Juli 2018 18:09:37 CEST Manikanta Pubbisetty wrote:
[...]
> I am working on a patch which takes care of stopping the iTXQs after 
> detecting a radar(covering other scenarios where stopping iTXQs is 
> important)
> and there by making sure packets are not transmitted.
[...]
> https://patchwork.kernel.org/patch/10516887/

Thanks for telling me about this patch. It indeed prevents the unwanted TX 
during CSA (and thanks for the explanation in the commit message about the 
underlying problem).

Kind regards,
	Sven

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-10 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05  8:47 mac80211: AQM and block_tx Sven Eckelmann
2018-07-10  6:55 ` Sven Eckelmann
2018-07-10 12:09   ` Toke Høiland-Jørgensen
2018-07-10 12:39   ` Manikanta Pubbisetty
2018-07-10 13:40     ` Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).