This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 946f997 net/wireless: add country code control support 946f997 is described below commit 946f99791bd34b951421f6731a381e797ff6afd5 Author: chao.an <anc...@xiaomi.com> AuthorDate: Wed Jul 29 13:19:15 2020 +0800 net/wireless: add country code control support Change-Id: Ie3917815e9004bae9c1116916bc4eadb752f6e44 Signed-off-by: chao.an <anc...@xiaomi.com> --- include/nuttx/wireless/wireless.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/nuttx/wireless/wireless.h b/include/nuttx/wireless/wireless.h index 593299b..20e6cf0 100644 --- a/include/nuttx/wireless/wireless.h +++ b/include/nuttx/wireless/wireless.h @@ -140,10 +140,14 @@ #define SIOCSIWPMKSA _WLIOC(0x0036) /* PMKSA cache operation */ +/* Country code extension */ + +#define SIOCSIWCOUNTRY _WLIOC(0x0037) /* Country code extension */ + /* Device-specific network IOCTL commands *******************************************/ #define WL_NETFIRST 0x0000 /* First network command */ -#define WL_NNETCMDS 0x0037 /* Number of network commands */ +#define WL_NNETCMDS 0x0038 /* Number of network commands */ /* Reserved for Bluetooth network devices (see bt_ioctls.h) */