Search Linux Wireless

Re: [RFC PATCH v2 1/4] mac80211: decrease execution of the associated timer

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

 



On Sat, 2009-03-14 at 19:14 +0200, Kalle Valo wrote:

> +void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata,
> +			     struct ieee80211_hdr *hdr)
> +{
> +	/* timer triggers only when there is no unicast traffic */
> +	if (!is_multicast_ether_addr(hdr->addr1))
> +		mod_timer(&sdata->u.mgd.timer,
> +			  jiffies + IEEE80211_MONITORING_INTERVAL);
> +}

Do we really need the multicast check? The frame will be coming from the
AP in managed mode in both cases, so why regard the data path as idle
when we're receiving multicast traffic?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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