| .. | .. |
|---|
| 44 | 44 | * and potentially inform users of which devices specifically |
|---|
| 45 | 45 | * cased the conflicts. |
|---|
| 46 | 46 | * @initiator: indicates who sent this request, could be any of |
|---|
| 47 | | - * of those set in nl80211_reg_initiator (%NL80211_REGDOM_SET_BY_*) |
|---|
| 47 | + * those set in nl80211_reg_initiator (%NL80211_REGDOM_SET_BY_*) |
|---|
| 48 | 48 | * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested |
|---|
| 49 | 49 | * regulatory domain. We have a few special codes: |
|---|
| 50 | 50 | * 00 - World regulatory domain |
|---|
| .. | .. |
|---|
| 230 | 230 | enum nl80211_dfs_regions dfs_region; |
|---|
| 231 | 231 | struct ieee80211_reg_rule reg_rules[]; |
|---|
| 232 | 232 | }; |
|---|
| 233 | | - |
|---|
| 234 | | -#define MHZ_TO_KHZ(freq) ((freq) * 1000) |
|---|
| 235 | | -#define KHZ_TO_MHZ(freq) ((freq) / 1000) |
|---|
| 236 | | -#define DBI_TO_MBI(gain) ((gain) * 100) |
|---|
| 237 | | -#define MBI_TO_DBI(gain) ((gain) / 100) |
|---|
| 238 | | -#define DBM_TO_MBM(gain) ((gain) * 100) |
|---|
| 239 | | -#define MBM_TO_DBM(gain) ((gain) / 100) |
|---|
| 240 | 233 | |
|---|
| 241 | 234 | #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \ |
|---|
| 242 | 235 | { \ |
|---|