On Tue, Oct 14, 2008 at 12:36 AM, Zhu Yi <yi.zhu@xxxxxxxxx> wrote: > On Tue, 2008-10-14 at 01:04 -0600, Luis R. Rodriguez wrote: >> > Why should the intersection be the correct behavior? In my previous >> > example, the intersection of a BG card and an ABG card is the BG >> bands. >> > Why shouldn't the ABG card have the A band support? >> >> Intersection of ABG and BG is BG. > > That's what I'm saying. This is unacceptable for users. There is 2 > reasons a channel is not listed in the ieee80211_reg_rule: > > 1. the channel is not permitted by regulatory > 2. the channel is not supported by hardware but it might be permitted by > regulatory > > Intersection for the case 2 is wrong. Are you telling me to insert even > A band channels into ieee80211_reg_rule for a BG only card? No, you can add to the regulatory domain structure the regulatory rules that you determine are valid for the card. The hardware capabilities (as expressed to mac80211) of a card are separate but in your case perhaps they are the same (please correct me if I'm wrong) due to the design or your regulatory solution which is built into the EEPROM. The question which I thought was being asked was if you have two cards present, one a dual band card 2.4 GHz and 5 GHz and another a single band 2.4 GHz card what happens in terms of regulatory rules. What I'm suggesting should happen is the intersection of their regulatory rules should be applied and in this case only the 2.4 GHz channels that work on both cards should be used. What currently happens is the regulatory rules of the first card detected takes effect. I have a feeling I am missing the question or problem here though. Please let me know. Luis -- 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