Search Linux Wireless

Re: [RFCv2] mac80211: Don't let regulatory make us deaf

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

 



On Sun, 2012-02-26 at 12:25 +0100, Johannes Berg wrote:

> > Looking at this in mac80211 (ieee80211_enable_ht) in more detail for
> > other reasons, I believe our current behaviour is wrong in other cases
> > as well, not just the regulatory case.
> > 
> > If the AP is advertising HT40, but 40MHz-intolerant at the same time, I
> > believe we should also configure the channel to HT40, and prohibit using
> > 40 MHz TX for the time in which 40MHz-intolerant is set. Otherwise, when
> > the AP changes the 40MHz-intolerant flag, we may reconfigure our channel
> > too late to receive 40MHz transmissions. Also, some devices don't like
> > having the channel reconfigured while associated and doing so would be
> > particularly messy when we start talking about multi-channel operation.
> > 
> > I think overall better behaviour would be to set up the HT channel
> > already in ieee80211_mgd_auth() according to what the AP advertises,
> 
> Correction: ieee80211_mgd_assoc(), during auth we don't yet know what
> ciphers we'll use etc. so we don't yet know if HT will be disabled.
> However, during auth we also don't care about the channel type, so
> there's no problem for multi-channel.
> 
> > disregarding regulatory information and 40MHz-intolerant bits. While
> > associated, the only possible changes would be
> >  1) changes in HT opmode (protection, non-GF/non-HT sta etc.)
> >  2) 40MHz-intolerant changes (e.g. when such a STA joins)
> > This would affect both the driver and rate control, and for drivers
> > having rate control built-in we need to also tell them directly.


Come to think of it, we could also simply configure the channel to be
the right HT channel during auth, and then still associate as a non-HT
station later. I realise this isn't the best configuration, but given
that this is a corner case (TKIP used on an HT AP!) I think we can live
with that.

Sorry to flood you all with my incoherent ramblings -- anyone have
thoughts about this?

FWIW, in the interest of full disclosure :), part of the reason for this
is that our device hates having the channel reconfigured in the middle
of something, that causes issues with passive channels etc.

More importantly though, I think having to worry about reconfiguring the
channel will also be a big hassle in upcoming multi-channel code.

johannes

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