Search Linux Wireless

Re: [PATCH v4 0/5] mac80211: beacon filtering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:

> On Wed, 2009-03-25 at 21:34 +0200, Kalle Valo wrote:
>
>> > It has to be dynamic, no? Much of the information in there would be
>> > things wpa_supplicant is only interested in. If it was just the kernel
>> > code -- yes, we could just have a static list somewhere -- but much of
>> > the 11k things for instance are only useful for wpa_supplicant.
>> 
>> But if we already know what wpa_supplicant needs, can't we do the
>> first implementation with a static list? Sure, the dynamic list is
>> something we should aim for.
>
> True. The userspace part is easy to add though, just make it part of the
> assoc() nl80211 command. So we just need the static list for the
> mac80211 part.

Sounds easy enough.

>> Do we have any knowledge how different hardware support beacon
>> checksumming? I only know how stlc45xx does it.
>
> Not really... how about wl12xx?

Heh, I'm so focused on my thesis right now that forgot wl12xx
altogether :)

I haven't investigate wl12xx beacon filtering in detail yet, but below
is what I quickly found from the firmware interface header files.
Looks like just what we would have expected.


Name:       ACX_BEACON_FILTER_TABLE

Desc: This information element configures beacon filtering handling
      for the set of information elements. An information element in a
      beacon can be set to be: ignored (never compared, and changes
      will not cause beacon transfer), checked (compared, and
      transferred in case of a change), or transferred (transferred to
      the host for each appearance or disappearance).

      The table contains all information elements that are subject to
      monitoring for host transfer.

      All information elements that are not in the table should be
      ignored for monitoring.

      This functionality is only enabled when beacon filtering is enabled by 
      ACX_BEACON_FILTER_OPT.

         Type:   Filtering Configuration

         Access: Write Only

         Length: 101

         Notes:  the field measuring the value of received beacons for
                 which the device wakes up the host in
                 ACX_BEACON_FILTER_OPT does not affect this
                 information element.

http://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=blob;f=sta_dk_4_0_4_32/common/src/hal/FirmwareApi/public_infoele.h;h=9a7d1c1203de4db83f700d8cc961cee04e7e5de9;hb=HEAD#l720

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux