Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121822
b: refs/heads/master
c: 5166ccd
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Nov 10, 2008
1 parent 8ce5358 commit 5ae8c38
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b219cee191e7cfe88a695a57249a295d0d5b22e9
refs/heads/master: 5166ccd220f187b2e9edfc5f01eb49f4a0ebf586
22 changes: 19 additions & 3 deletions trunk/net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,24 @@
#include "core.h"
#include "reg.h"

/*
* wiphy is set if this request's initiator is
* REGDOM_SET_BY_COUNTRY_IE or _DRIVER
/**
* struct regulatory_request - receipt of last regulatory request
*
* @wiphy: this is set if this request's initiator is
* %REGDOM_SET_BY_COUNTRY_IE or %REGDOM_SET_BY_DRIVER. This
* can be used by the wireless core to deal with conflicts
* and potentially inform users of which devices specifically
* cased the conflicts.
* @initiator: indicates who sent this request, could be any of
* of those set in reg_set_by, %REGDOM_SET_BY_*
* @alpha2: the ISO / IEC 3166 alpha2 country code of the requested
* regulatory domain. We have a few special codes:
* 00 - World regulatory domain
* 99 - built by driver but a specific alpha2 cannot be determined
* 98 - result of an intersection between two regulatory domains
* @intersect: indicates whether the wireless core should intersect
* the requested regulatory domain with the presently set regulatory
* domain.
*/
struct regulatory_request {
struct wiphy *wiphy;
Expand All @@ -53,6 +68,7 @@ struct regulatory_request {
bool intersect;
};

/* Receipt of information from last regulatory request */
static struct regulatory_request *last_request;

/* To trigger userspace events */
Expand Down

0 comments on commit 5ae8c38

Please sign in to comment.