[wireless][header] Normalize IOCTL id

Signed-off-by: meijian <meijian@xiaomi.com>
This commit is contained in:
meijian 2023-11-22 20:41:31 +08:00 committed by Xiang Xiao
parent 7f6fb9ce1c
commit 7cebfd0059

View File

@ -140,16 +140,6 @@
#define SIOCSIWPMKSA _WLIOC(0x0036) /* PMKSA cache operation */
/* Country code extension */
#define SIOCSIWCOUNTRY _WLIOC(0x0037) /* Set country code */
#define SIOCGIWCOUNTRY _WLIOC(0x0038) /* Get country code */
/* WIFI / BT coexist type */
#define SIOCSIWPTAPRIO _WLIOC(0x0039) /* Set PTA priority type */
#define SIOCGIWPTAPRIO _WLIOC(0x003a) /* Get PTA priority type */
/* -------------------- DEV PRIVATE IOCTL LIST -------------------- */
/* These 32 ioctl are wireless device private, for 16 commands.
@ -159,6 +149,27 @@
*/
#define SIOCIWFIRSTPRIV _WLIOC(0x00e0)
/* DTIM extension */
#define SIOCSIWDTIM (SIOCIWFIRSTPRIV + 0) /* Set DTIM interval time */
#define SIOCGIWDTIM (SIOCIWFIRSTPRIV + 1) /* Get DTIM interval time */
/* power save mode extension */
#define SIOCSIWPWSAVE (SIOCIWFIRSTPRIV + 2) /* Set power save mode */
#define SIOCGIWPWSAVE (SIOCIWFIRSTPRIV + 3) /* Get power save mode */
/* Country code extension */
#define SIOCSIWCOUNTRY (SIOCIWFIRSTPRIV + 4) /* Set country code */
#define SIOCGIWCOUNTRY (SIOCIWFIRSTPRIV + 5) /* Get country code */
/* WIFI / BT coexist type */
#define SIOCSIWPTAPRIO (SIOCIWFIRSTPRIV + 6) /* Set PTA priority type */
#define SIOCGIWPTAPRIO (SIOCIWFIRSTPRIV + 7) /* Get PTA priority type */
#define SIOCIWLASTPRIV _WLIOC(0x00ff)
/* ------------------------- IOCTL STUFF ------------------------- */