diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-07-04 16:48:00 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-07-05 09:04:53 +0200 |
commit | 89077bfd2abf7984027552c8cee223a0c6dab57c (patch) | |
tree | da4908880e94df66cd735bb5b469005586e88211 /include/device.h | |
parent | cebd23c090f3026b2496e1f0e4a18c42d34ccd14 (diff) | |
download | connman-89077bfd2abf7984027552c8cee223a0c6dab57c.tar.gz connman-89077bfd2abf7984027552c8cee223a0c6dab57c.tar.bz2 connman-89077bfd2abf7984027552c8cee223a0c6dab57c.zip |
device: Add driver capability to set regulatory domain on device basis
Diffstat (limited to 'include/device.h')
-rw-r--r-- | include/device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index f787cf48..f4e802e1 100644 --- a/include/device.h +++ b/include/device.h @@ -108,6 +108,9 @@ void connman_device_unregister(struct connman_device *device); void *connman_device_get_data(struct connman_device *device); void connman_device_set_data(struct connman_device *device, void *data); +int connman_device_set_regdom(struct connman_device *device, + const char *alpha2); + struct connman_device_driver { const char *name; enum connman_device_type type; @@ -122,6 +125,8 @@ struct connman_device_driver { const char *ssid, unsigned int ssid_len, const char *identity, const char* passphrase, void *user_data); + int (*set_regdom) (struct connman_device *device, + const char *alpha2); }; int connman_device_driver_register(struct connman_device_driver *driver); |