Search Linux Wireless

Re: [PATCH] mac80211: Add 802.11h CSA support

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

 



> +       } else {
> +               ieee80211_stop_queues_by_reason(&sdata->local->hw,
> +                                               IEEE80211_QUEUE_STOP_REASON_CSA);
Why to stop the queues before the switching time

> +               ifsta->flags |= IEEE80211_STA_CSA_RECEIVED;
> +               exp = sw_elem->count * (1024 * bss->beacon_int / 1000 * HZ / 1000);
> +               mod_timer(&ifsta->chswitch_timer, jiffies + exp);
What about:
      mod_timer(&ifsta->chswitch_timer, jiffies +
        msecs_to_jiffies(sw_elm->count * local->hw.conf.beacon_int));

> +       }
> +}

Thanks
Tomas
--
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