This will be used later once crda.c starts using the ieee80211_regdomain data structure passed on from reglib instead of using the mmap()'d regulatory file directly. Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxx> --- reglib.c | 1 + reglib.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/reglib.c b/reglib.c index 642f907..759c676 100644 --- a/reglib.c +++ b/reglib.c @@ -212,6 +212,7 @@ struct ieee80211_regdomain *country2rd(uint8_t *db, int dblen, rd->alpha2[0] = country->alpha2[0]; rd->alpha2[1] = country->alpha2[1]; + rd->dfs_region = country->creqs & 0x3; rd->n_reg_rules = num_rules; for (i = 0; i < num_rules; i++) { diff --git a/reglib.h b/reglib.h index d76ec52..bec6359 100644 --- a/reglib.h +++ b/reglib.h @@ -29,6 +29,7 @@ struct ieee80211_reg_rule { struct ieee80211_regdomain { uint32_t n_reg_rules; char alpha2[2]; + uint8_t dfs_region; struct ieee80211_reg_rule reg_rules[]; }; -- 1.7.4.15.g7811d -- 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