All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Franky Lin" <frankyl@broadcom.com>
To: "Hao Han" <hhanwm@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Looking for tuning beacon interval on BCM4329
Date: Wed, 20 Jul 2011 10:29:19 -0700	[thread overview]
Message-ID: <4E27106F.6020606@broadcom.com> (raw)
In-Reply-To: <CAGwCZhoYDW-V2a6tmb+hntXvVxcq9RUTf4NFYvfbPprVrAGeSA@mail.gmail.com>

On 7/14/2011 8:40:14 PM, Hao Han <hhanwm@gmail.com> wrote:
> Dear All,
>
> Using BCM4329 driver, my Nexus One can serve in AP mode with default
> beacon interval of 100ms. I am really hoping to be able to tuning such
> a value for some tests. After downloading and searching the source
> code from
>
> http://android.git.kernel.org/?p=kernel/msm.git;a=tree;f=drivers/net/wireless/bcm4329;h=01f09252ff9b80379e6db6dbb22af4fcba004982;hb=HEAD
>
> I cannot find any place where the default value of beacon interval is
> assgined to 100ms. All beacon related lines are parsed in the
> following
>
> ./include/wlioctl.h:98:	uint16		beacon_period;		
> ./include/wlioctl.h:966:#define VNDR_IE_BEACON_FLAG	0x1
> ./include/wlioctl.h:1103:	uint32	rxbeaconmbss;	
> ./include/wlioctl.h:1105:	uint32	rxbeaconobss;	
> ./include/proto/802.11.h:86:#define DOT11_MIN_BEACON_PERIOD		1	
> ./include/proto/802.11.h:87:#define DOT11_MAX_BEACON_PERIOD		0xFFFF	
> ./include/proto/802.11.h:224:	uint16			beacon_interval;
> ./include/proto/802.11.h:746:#define FC_SUBTYPE_BEACON		8	
> ./include/proto/802.11.h:802:#define FC_BEACON	FC_KIND(FC_TYPE_MNG,
> FC_SUBTYPE_BEACON)
> ./include/proto/802.11.h:862:#define DOT11_MNG_BEACON_INT_LEN	2	
> ./include/proto/bcmevent.h:92:#define WLC_E_BEACON_RX		15	
> ./dhd_common.c:548:		{WLC_E_BEACON_RX, "BEACON_RX"},
> ./dhd_common.c:693:	case WLC_E_BEACON_RX:
> ./dhd_common.c:1311:	uint32 listen_interval = LISTEN_INTERVAL; /*
> Default Listen Interval in Beacons */
> ./dhd_common.c:1398:	/* Setup timeout if Beacons are lost and roam is
> off to report link down */
> ./wl_iw.c:8022:	wstats->miss.beacon = 0;
>
> Any feedback would be extremely appreciated :)

Hi Hao,

I am afraid there is no interface exposed for the configuration of 
beacon interval.

BRs
Franky



      reply	other threads:[~2011-07-20 17:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15  3:40 Looking for tuning beacon interval on BCM4329 Hao Han
2011-07-20 17:29 ` Franky Lin [this message]

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=4E27106F.6020606@broadcom.com \
    --to=frankyl@broadcom.com \
    --cc=hhanwm@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 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.