Search Linux Wireless

Re: [RFC] mac80211: handling Qdisc issues

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

 



> > >>> such as not using QoS packets when hw->queues < 4.
> > >>
> > >> We should not advertise QoS in that case.
> >
> > > Ok :) I'll look if I can fix it.
> >
> > In that case no HT should be published as well.
>
> Yeah. Can you see whether the below patch looks ok to you?
>
> @@ -2046,7 +2054,7 @@ static void ieee80211_rx_mgmt_assoc_resp
>

i would add the check to HT as well:


-	if (elems.ht_cap_elem && elems.ht_info_elem && elems.wmm_param) {
+	if (elems.ht_cap_elem && elems.ht_info_elem && elems.wmm_param
+                    && (ifsta->flags & IEEE80211_STA_WMM_ENABLED)) {
		struct ieee80211_ht_bss_info bss_info;
		ieee80211_ht_cap_ie_to_ht_info(
				(struct ieee80211_ht_cap *)

>        rate_control_rate_init(sta, local);
>
> -       if (elems.wmm_param && (ifsta->flags & IEEE80211_STA_WMM_ENABLED)) {
> +       if (elems.wmm_param) {
>                sta->flags |= WLAN_STA_WME;
>                rcu_read_unlock();
>                ieee80211_sta_wmm_params(dev, ifsta, elems.wmm_param,

All other looks ok

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