Right. I think there is a function something like "send_rate_low" that sends the lowest entry in the mac80211 enabled rates table for control and mgmt packets. If the NIC is associated to an HT Only AP then that lowest entry should be HT20 MCS 1, I'd think. Also, does circumventing "set channel type" code work properly across bands? If you start on 5 GHz will it send 6 Mbps probes or 1 Mbps probes? Dan On Sun, Feb 6, 2011 at 1:09 PM, Felix Fietkau <nbd@xxxxxxxxxxx> wrote: > On 2011-02-06 10:07 PM, Ben Greear wrote: >> On 02/06/2011 12:23 PM, Daniel Halperin wrote: >>> Could be rate selection. >>> >>> Ben, a sanity check: is it possible for the device to be associated >>> to an "HT-Only" AP and thus not be able to sent NO_HT packets? Could >>> that be why there might need to be a channel change sometimes? >> >> I don't know. The code and comments in ieee80211_set_channel_type >> make me think that it's always possible to send NO_HT packets regardless >> of hardware's channel type. >> >> One thing I haven't figured out yet: What actually tells the >> hardware to send NO_HT v/s HT20 v/s HT40, etc. I have previously tested >> HT20 STAs concurrent with HT40 stas, and both can send/receive at once >> while the hardware stays in HT40 mode. > mac80211 tx info sets the mode for the transmission (as part of the rate > series). Drivers like ath9k translate that to descriptor fields. > Rate control selects these things based on peer HT capabilities. > > - Felix > -- 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