| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2008-2009 Atheros Communications Inc. | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. |
| 3 * | 3 * |
| 4 * Permission to use, copy, modify, and/or distribute this software for any | 4 * Permission to use, copy, modify, and/or distribute this software for any |
| 5 * purpose with or without fee is hereby granted, provided that the above | 5 * purpose with or without fee is hereby granted, provided that the above |
| 6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
| 7 * | 7 * |
| 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 enum ctl_group { | 25 enum ctl_group { |
| 26 CTL_FCC = 0x10, | 26 CTL_FCC = 0x10, |
| 27 CTL_MKK = 0x40, | 27 CTL_MKK = 0x40, |
| 28 CTL_ETSI = 0x30, | 28 CTL_ETSI = 0x30, |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 #define NO_CTL 0xff | 31 #define NO_CTL 0xff |
| 32 #define SD_NO_CTL 0xE0 | 32 #define SD_NO_CTL 0xE0 |
| 33 #define NO_CTL 0xff | 33 #define NO_CTL 0xff |
| 34 #define CTL_MODE_M 7 | |
| 35 #define CTL_11A 0 | 34 #define CTL_11A 0 |
| 36 #define CTL_11B 1 | 35 #define CTL_11B 1 |
| 37 #define CTL_11G 2 | 36 #define CTL_11G 2 |
| 38 #define CTL_2GHT20 5 | 37 #define CTL_2GHT20 5 |
| 39 #define CTL_5GHT20 6 | 38 #define CTL_5GHT20 6 |
| 40 #define CTL_2GHT40 7 | 39 #define CTL_2GHT40 7 |
| 41 #define CTL_5GHT40 8 | 40 #define CTL_5GHT40 8 |
| 42 | 41 |
| 43 #define CTRY_DEBUG 0x1ff | 42 #define CTRY_DEBUG 0x1ff |
| 44 #define CTRY_DEFAULT 0 | 43 #define CTRY_DEFAULT 0 |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy, | 253 int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy, |
| 255 int (*reg_notifier)(struct wiphy *wiphy, | 254 int (*reg_notifier)(struct wiphy *wiphy, |
| 256 struct regulatory_request *request)); | 255 struct regulatory_request *request)); |
| 257 u32 ath_regd_get_band_ctl(struct ath_regulatory *reg, | 256 u32 ath_regd_get_band_ctl(struct ath_regulatory *reg, |
| 258 enum ieee80211_band band); | 257 enum ieee80211_band band); |
| 259 int ath_reg_notifier_apply(struct wiphy *wiphy, | 258 int ath_reg_notifier_apply(struct wiphy *wiphy, |
| 260 struct regulatory_request *request, | 259 struct regulatory_request *request, |
| 261 struct ath_regulatory *reg); | 260 struct ath_regulatory *reg); |
| 262 | 261 |
| 263 #endif | 262 #endif |
| OLD | NEW |