Hi Johannes, > > > The only reasonable solution I can come up with is have it make separate > > > hints for 2.4 and 5 GHz and then a single-band card won't say anything > > > about 5 GHz so the dual-band gets to set that part. But OTOH I don't see > > > a reasonable use-case for this whole thing so far---we really only added > > > this after discussions with Marcel at OLS so embedded systems can > > > function w/o crda, but who would build an embedded system with two > > > different cards like that? > > > > and we need to keep it this way. For example the first card can be a > > dual-band card, but the EEPROM value restricts it one band. That might > > be by choice. > > Interesting point. I didn't think that was possible. the question is if that makes sense. Currently the dual-band cards are more expensive than single-band cards, but I expect that to change and we only see dual-band cards in the future. However then is the question why not support both bands. So it is possible, but I think an unlikely case at the moment. There is a difference in the hardware capabilities and the EEPROM settings for regulatory enforcement. > > Then attaching a second card, we can't just extend it and > > let this card go ahead and use the second band. > > True. Well, not entirely true, because the first card would > (1) register its eeprom channels as the regulatory domain for one band > (2) register only the eeprom channels as the per-hw channels > > so when the second card adds the regulatory domain for the second band > the first card still cannot use the extra channels because it doesn't > have those registered in its wiphy. > > However, this really gets complicated. Do we need to go there? I can see it useful when companies actually start building products with two or more cards in the system and have different cards for different tasks in it. So if you stick one card for one band and another one for the other band in there, then it would make sense to do a per-band regulatory hinting. Not sure if this really ever ends up in a product. However I can see the case where you have a laptop with a BG-card and then attach an A-card to it do access an A-network and then it doesn't work. It would be nice to just have this working. Currently this would not work. Also the case when we unplug the first card, does the regulatory hint gets reset and the next card could bring in a new one? I can see use cases where you don't wanna use the built-in card, because it is just too limited. Regards Marcel -- 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