On Mon, 2021-10-11 at 15:48 +0800, Wen Gong wrote: > > > IMO, Only power rules and PSD info might vary for AP and STATION. Rest > > of the rules will remains same right? > > > The freq_range may also be different for AP and STATION. > and reg_rules number also may also be different for AP and STATION. > > for example: > SUBORDINATE CLIENT of STANDARD POWER reg rules number 2 > reg rule 1: (5945 - 6425 @ 160) (0, 30) (FLAGS 0) (psd flag 1 EIRP 17 > dB/MHz) > reg rule 2: (6525 - 6885 @ 160) (0, 30) (FLAGS 0) (psd flag 1 EIRP 17 > dB/MHz) > > INDOOR AP reg rules number 1 > reg rule 1: (5945 - 7125 @ 160) (0, 24) (FLAGS 0) (psd flag 0 EIRP 0 > dB/MHz) That seems right, but isn't that an orthogonal question? Here, on this patch, we're discussing what data we should have in the channel information, and it would seem that if it's different for AP/client, then we do need both information stored, so that we can cope with concurrency between AP and client? If we additionally need to have different data for the regulatory rules for AP and client, that might mean we need to go back and actually change the code there *as well*, and then fill in the right fields in this patch? Unless somehow we're convinced that for this feature we don't need to worry about concurrently using AP and client modes? johannes