.. | .. |
---|
26 | 26 | #endif /* RTT_SUPPORT */ |
---|
27 | 27 | |
---|
28 | 28 | #define VENDOR_SCAN_RESULT_EXPIRE (7 * HZ) |
---|
29 | | -#define WIFI_SUBCMD_SET_COUNTRY_CODE 0x0006 |
---|
| 29 | +#define WIFI_SUBCMD_SET_COUNTRY_CODE 0x100E |
---|
30 | 30 | |
---|
31 | 31 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) |
---|
32 | 32 | static const u8 *wpa_scan_get_ie(u8 *res, u8 ie_len, u8 ie) |
---|
.. | .. |
---|
874 | 874 | static int sprdwl_vendor_set_country(struct wiphy *wiphy, |
---|
875 | 875 | struct wireless_dev *wdev, const void *data, int len) |
---|
876 | 876 | { |
---|
877 | | -#define ANDR_WIFI_ATTRIBUTE_COUNTRY 8 |
---|
| 877 | +#define ANDR_WIFI_ATTRIBUTE_COUNTRY 4 |
---|
878 | 878 | int err = 0, rem, type; |
---|
879 | 879 | char country_code[2] = {0}; |
---|
880 | 880 | const struct nlattr *iter; |
---|