You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2019/12/31 13:49:22 UTC
[incubator-nuttx] branch master updated: wireless: remove
unnecessary flags (#10)
This is an automated email from the ASF dual-hosted git repository.
gnutt 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 78904cd wireless: remove unnecessary flags (#10)
78904cd is described below
commit 78904cdb1c0038b9fd08c1a0714b6457982f5989
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Dec 31 07:49:16 2019 -0600
wireless: remove unnecessary flags (#10)
Some flags (e.g. IW_TXPOW_NFLAGS) is wrong actually
---
include/nuttx/wireless/wireless.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/nuttx/wireless/wireless.h b/include/nuttx/wireless/wireless.h
index 4671c2a..9893b04 100644
--- a/include/nuttx/wireless/wireless.h
+++ b/include/nuttx/wireless/wireless.h
@@ -243,7 +243,6 @@
#define IW_MODE_SECOND 5 /* Secondary master/repeater (backup) */
#define IW_MODE_MONITOR 6 /* Passive monitor (listen only) */
#define IW_MODE_MESH 7 /* Mesh (IEEE 802.11s) network */
-#define IW_MODE_NFLAGS 8
/* Statistics flags (bitmask in updated) */
@@ -274,7 +273,6 @@
#define IW_FREQ_AUTO 0 /* Let the driver decides */
#define IW_FREQ_FIXED 1 /* Force a specific value */
-#define IW_FREQ_NFLAGS 2
#define IW_MAX_FREQUENCIES 32 /* Max. frequencies in struct iw_range */
@@ -285,7 +283,6 @@
# define IW_TXPOW_MWATT 0x0001 /* Value is in mW */
# define IW_TXPOW_RELATIVE 0x0002 /* Value is in arbitrary units */
#define IW_TXPOW_RANGE 0x1000 /* Range of value between min/max */
-#define IW_TXPOW_NFLAGS IW_TXPOW_RANGE
/* Scan-related */