On Tue, 2013-03-12 at 08:39 +0530, Mahesh Palivela wrote: > On Mon, 2013-03-11 at 17:25 +0200, Johannes Berg wrote: > > On Mon, 2013-03-11 at 20:51 +0530, Mahesh Palivela wrote: > > > > > I tested this patch. scan works. > > > > Works how? It never tells the driver to go to a different channel ... > > sorry. I missed this. But my patch takes care of crash in mac80211 once > we remove 'use_chanctx' check in sw_scan function. Yes, but it doesn't make it *do* anything, so the patch is completely pointless. I don't see how chanctx and SW scan/roc can ever possibly work together. > > > Anyways chan context is a WIP. > > > > It pretty much works. > > For AP mode yes it works. But for STA mode, we have work I guess. You may have, but in mac80211 it should work just as designed. > VHT assoc. To enable VHT on both AP and STA. For VHT to work we need > chan_ctx. Isn't it? Right now, yes, you do. However, I would argue that if you really want only VHT support, you should remove the channel/channel_type fields from struct ieee80211_conf and instead add a cfg80211_chan_def. This means a lot of changes in all the drivers, but I'd hate to see the data all duplicated, and the changes are trivial anyway. 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