* Re: [RFC PATCH v3 5/5] mac80211: add beacon filtering support
[not found] ` <20090321120930.11613.15570.stgit@tikku>
@ 2009-03-21 12:46 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2009-03-21 12:46 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless, Jouni Malinen, Luis R.Rodriguez
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
On Sat, 2009-03-21 at 14:09 +0200, Kalle Valo wrote:
> +/**
> + * ieee80211_beacon_loss - inform hardware does not receive beacons
> + *
> + * @hw: pointer as obtained from ieee80211_alloc_hw()
> + * @vif: &struct ieee80211_vif pointer from &struct ieee80211_if_init_conf.
> + *
> + * When beacon filtering is enabled with IEEE80211_HW_BEACON_FILTERING and
> + * IEEE80211_CONF_PS is set, the driver needs to inform whenever the
> + * hardware is not receiving beacons with this function.
> + */
> +void ieee80211_beacon_loss(struct ieee80211_hw *hw,
> + struct ieee80211_vif *vif);
Strictly speaking there's no need to pass both since the mac80211 sdata
can be obtained from vif and that has a pointer to local, but it doesn't
really matter.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC PATCH v3 0/5] mac80211: beacon filtering
[not found] <20090321120558.11613.56299.stgit@tikku>
[not found] ` <20090321120930.11613.15570.stgit@tikku>
@ 2009-03-21 12:46 ` Johannes Berg
1 sibling, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2009-03-21 12:46 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless, Jouni Malinen, Luis R.Rodriguez
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
On Sat, 2009-03-21 at 14:08 +0200, Kalle Valo wrote:
> Here's my proposal how to implement beacon filtering in mac80211. The
> basic idea is simple, the driver enables filtering whenever mac80211
> enables power save and the driver calls ieee80211_beacon_loss()
> whenever hardware informs about beacon loss.
>
> I have tested this with stlc45xx (with beacon filtering) and iwl3945
> (without beacon filtering) and based on simple tests this seems to
> work. For reference I'll send the stlc45xx patch as a followup.
Looks good to me.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-21 12:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090321120558.11613.56299.stgit@tikku>
[not found] ` <20090321120930.11613.15570.stgit@tikku>
2009-03-21 12:46 ` [RFC PATCH v3 5/5] mac80211: add beacon filtering support Johannes Berg
2009-03-21 12:46 ` [RFC PATCH v3 0/5] mac80211: beacon filtering Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox