net/wireless: add country code control support

Change-Id: Ie3917815e9004bae9c1116916bc4eadb752f6e44
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-07-29 13:19:15 +08:00 committed by Alan Carvalho de Assis
parent ebb5fb7480
commit 946f99791b
1 changed files with 5 additions and 1 deletions

View File

@ -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) */