Search Linux Wireless

Re: [PATCH 2/2] iwlwifi: implement disabling/enabling QoS

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

 



On Tue, Mar 23, 2010 at 5:46 AM, Stanislaw Gruszka <sgruszka@xxxxxxxxxx> wrote:
> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
> ---
>  drivers/net/wireless/iwlwifi/iwl-core.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
> index 112149e..f1729ca 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-core.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-core.c
> @@ -2410,6 +2410,15 @@ void iwl_bss_info_changed(struct ieee80211_hw *hw,
>                priv->ibss_beacon = ieee80211_beacon_get(hw, vif);
>        }
>
> +       if (changes & BSS_CHANGED_QOS) {
> +               unsigned long flags;
> +
> +               spin_lock_irqsave(&priv->lock, flags);
> +               priv->qos_data.qos_active = bss_conf->qos_disabled ? 0 : 1;
> +               iwl_activate_qos(priv, 1);
> +               spin_unlock_irqrestore(&priv->lock, flags);
> +       }
> +
>        if (changes & BSS_CHANGED_BEACON_INT) {
>                priv->beacon_int = bss_conf->beacon_int;
>                /* TODO: in AP mode, do something to make this take effect */

What happened without this BTW, did it not associate? What AP was it?
Did you get to test with other drivers by chance?

  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