public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Ali MJ An-Nasrawy <alimjalnasrawy@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: brcmsmac: AP mode: network stalls frequently for power-saving stations
Date: Tue, 11 Sep 2018 16:35:34 +0300	[thread overview]
Message-ID: <20180911163534.21312d08@manjaro> (raw)

Hi

I have been investigating a network problem that I have when connecting
my phones to my laptop as an access point. The problem manifests as
highly variable ping latencies (1ms to several seconds from AP to
clients specifically) and frequent network stalls at random occasions
rendering it unusable for certain applications.

After investigation, I have found that it was due to incomplete
implementation of AP mode for brcmsmac regarding power management:
1. TIM is not updated for beacons as needed and, thus, power-saving
stations have no way to know about buffered traffic for them until they
wake up for different reason.
2. Transmission of broadcast packets doesn't obey DTIM period: they are
transmitted at any time.

I was able to fix point 1 with probably inefficient and buggy patch
that I shall submit and have no idea regarding point 2.

Hope to see professional fixes,
Thank you.

                 reply	other threads:[~2018-09-11 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180911163534.21312d08@manjaro \
    --to=alimjalnasrawy@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox