From aba2cf71cc9517edf33f355b19e608d995894444 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 29 Jul 2020 13:19:15 +0800 Subject: [PATCH] net/wireless: add country code control support Change-Id: Ie3917815e9004bae9c1116916bc4eadb752f6e44 Signed-off-by: chao.an --- 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 593299b3a81..20e6cf03292 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) */