Search Linux Wireless

Re: [PATCH] mac80211: notify NSS changed when IBSS and HT

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

 



On 16 December 2014 at 20:54, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Tue, 2014-12-16 at 09:56 +0100, Janusz Dziedzic wrote:
>
>>                       drv_sta_rc_update(local, sdata, &sta->sta,
>>                                         IEEE80211_RC_SUPP_RATES_CHANGED);
>> +                     /* Force rx_nss recalculation */
>> +                     sta->sta.rx_nss = 0;
>>                       rate_control_rate_init(sta);
>> +                     if (rx_nss != sta->sta.rx_nss)
>> +                             drv_sta_rc_update(local, sdata, &sta->sta,
>> +                                               IEEE80211_RC_NSS_CHANGED);
>
> Seems to me you should consolidate those two drv_sta_rc_update() calls
> and just make the flags dependent on the NSS change?
>
Will send v2.
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux