diff options
author | Luis R. Rodriguez <mcgrof@frijolero.org> | 2012-01-18 17:43:34 -0800 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@frijolero.org> | 2012-01-18 17:51:24 -0800 |
commit | 271fb366ffe0988482325a83a9b3d9bc4dc31566 (patch) | |
tree | 550fe5645df6001f21767b918820df34937c2c03 | |
parent | 7ce0874d14662275c38b50aa9dee7c841b593862 (diff) | |
download | crda-271fb366ffe0988482325a83a9b3d9bc4dc31566.tar.gz |
crda: add dfs_region to the ieee80211_regdomain data structure
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@frijolero.org>
-rw-r--r-- | reglib.c | 1 | ||||
-rw-r--r-- | reglib.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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++) { @@ -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[]; }; |