diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-17 18:04:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-17 18:04:31 -0400 |
commit | af4330631cd48987755f1a8d324dc318f60cf16b (patch) | |
tree | 3c9233e81b450921326da13a7f8abacb58ab1f5e /include/net | |
parent | 2d6a5e9500103680464a723a4564961675652680 (diff) | |
parent | 808ff697b357cee54e214efd27921a9ec6461a94 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 75fa556728ce..50f3fd9ff524 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -349,30 +349,9 @@ struct bss_parameters { | |||
349 | }; | 349 | }; |
350 | 350 | ||
351 | /** | 351 | /** |
352 | * enum reg_set_by - Indicates who is trying to set the regulatory domain | ||
353 | * @REGDOM_SET_BY_INIT: regulatory domain was set by initialization. We will be | ||
354 | * using a static world regulatory domain by default. | ||
355 | * @REGDOM_SET_BY_CORE: Core queried CRDA for a dynamic world regulatory domain. | ||
356 | * @REGDOM_SET_BY_USER: User asked the wireless core to set the | ||
357 | * regulatory domain. | ||
358 | * @REGDOM_SET_BY_DRIVER: a wireless drivers has hinted to the wireless core | ||
359 | * it thinks its knows the regulatory domain we should be in. | ||
360 | * @REGDOM_SET_BY_COUNTRY_IE: the wireless core has received an 802.11 country | ||
361 | * information element with regulatory information it thinks we | ||
362 | * should consider. | ||
363 | */ | ||
364 | enum reg_set_by { | ||
365 | REGDOM_SET_BY_INIT, | ||
366 | REGDOM_SET_BY_CORE, | ||
367 | REGDOM_SET_BY_USER, | ||
368 | REGDOM_SET_BY_DRIVER, | ||
369 | REGDOM_SET_BY_COUNTRY_IE, | ||
370 | }; | ||
371 | |||
372 | /** | ||
373 | * enum environment_cap - Environment parsed from country IE | 352 | * enum environment_cap - Environment parsed from country IE |
374 | * @ENVIRON_ANY: indicates country IE applies to both indoor and | 353 | * @ENVIRON_ANY: indicates country IE applies to both indoor and |
375 | * outdoor operation. | 354 | * outdoor operation. |
376 | * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation | 355 | * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation |
377 | * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation | 356 | * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation |
378 | */ | 357 | */ |
@@ -391,7 +370,7 @@ enum environment_cap { | |||
391 | * and potentially inform users of which devices specifically | 370 | * and potentially inform users of which devices specifically |
392 | * cased the conflicts. | 371 | * cased the conflicts. |
393 | * @initiator: indicates who sent this request, could be any of | 372 | * @initiator: indicates who sent this request, could be any of |
394 | * of those set in reg_set_by, %REGDOM_SET_BY_* | 373 | * of those set in nl80211_reg_initiator (%NL80211_REGDOM_SET_BY_*) |
395 | * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested | 374 | * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested |
396 | * regulatory domain. We have a few special codes: | 375 | * regulatory domain. We have a few special codes: |
397 | * 00 - World regulatory domain | 376 | * 00 - World regulatory domain |
@@ -408,7 +387,7 @@ enum environment_cap { | |||
408 | */ | 387 | */ |
409 | struct regulatory_request { | 388 | struct regulatory_request { |
410 | int wiphy_idx; | 389 | int wiphy_idx; |
411 | enum reg_set_by initiator; | 390 | enum nl80211_reg_initiator initiator; |
412 | char alpha2[2]; | 391 | char alpha2[2]; |
413 | bool intersect; | 392 | bool intersect; |
414 | u32 country_ie_checksum; | 393 | u32 country_ie_checksum; |