Search Linux Wireless

Re: [PATCH] ath9k: fix drop of multicast / broadcast data during scan

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

 



On Fri, Aug 27, 2010 at 11:43 AM, Luis R. Rodriguez
<lrodriguez@xxxxxxxxxxx> wrote:
> mac80211's scan implementation puts the burden of processing the DTIM
> count on drivers to accurately disallow scanning during certain wait
> constraints. ath9k was allowing to change channel while a few of these
> wait constraints were still in effect causing some drop of buffered
> broadcast and multicast traffic. Fix this by checking for the wait
> constraints prior to switching channels.
>
> This is tested against a Cisco E3000 AP configued with a DTIM Interval of 2
> and beacon interval of 1000. Then setup ath9k to receive multicast
> traffic:
>
>  user@ath9k-RX-box $ iperf -s -u -B 224.0.55.55 -i 1
>
> On the transmit multicast box connected to the same AP:
>
>  user@ath9k-TX-box $ while true ; do iperf -c 224.0.55.55 \
>        -u -T 32 -t 3 -i 1 -b 10M -t 1000; sleep 2 ; done
>
> Without this patch we would otherwise loose that data. You can verify we run into
> this by enabling the ATH_DBG_PS (0x800) when loading ath9k.
>
> Cc: stable@xxxxxxxxxx
> Cc: Amod Bodas <Amod.Bodas@xxxxxxxxxxx>
> Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx>

Sorry ignore this, Jouni noted this would break handling of off
channel operation, amongst other things. Will work on the more proper
solution by letting drivers inform mac80211 of these wait constraints.

  Luis
--
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