All of lore.kernel.org
 help / color / mirror / Atom feed
* Looking for tuning beacon interval on BCM4329
@ 2011-07-15  3:40 Hao Han
  2011-07-20 17:29 ` Franky Lin
  0 siblings, 1 reply; 2+ messages in thread
From: Hao Han @ 2011-07-15  3:40 UTC (permalink / raw)
  To: linux-wireless

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 :)

Thanks,
Hao

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

* Re: Looking for tuning beacon interval on BCM4329
  2011-07-15  3:40 Looking for tuning beacon interval on BCM4329 Hao Han
@ 2011-07-20 17:29 ` Franky Lin
  0 siblings, 0 replies; 2+ messages in thread
From: Franky Lin @ 2011-07-20 17:29 UTC (permalink / raw)
  To: Hao Han; +Cc: linux-wireless

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



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

end of thread, other threads:[~2011-07-20 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-15  3:40 Looking for tuning beacon interval on BCM4329 Hao Han
2011-07-20 17:29 ` Franky Lin

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.