Cosmetic update to some spacing and comments.

This commit is contained in:
Gregory Nutt 2017-03-13 13:15:49 -06:00
parent 888cff30dc
commit 5f5b20ab74

View File

@ -149,6 +149,7 @@
#define SIOCSIWPMKSA _WLIOC(0x0032) /* PMKSA cache operation */ #define SIOCSIWPMKSA _WLIOC(0x0032) /* PMKSA cache operation */
#define WL_FIRSTCHAR 0x0033
#define WL_NNETCMDS 0x0032 #define WL_NNETCMDS 0x0032
/* Character Driver IOCTL commands *************************************************/ /* Character Driver IOCTL commands *************************************************/
@ -185,7 +186,7 @@
#define NRF24L01_FIRST (CC3000_FIRST + CC3000_NCMDS) #define NRF24L01_FIRST (CC3000_FIRST + CC3000_NCMDS)
#define NRF24L01_NCMDS 14 #define NRF24L01_NCMDS 14
/* Other Definitions ****************************************************************/ /* Other Common Wireless Definitions ***********************************************/
/* Maximum size of the ESSID and NICKN strings */ /* Maximum size of the ESSID and NICKN strings */
@ -195,6 +196,7 @@
* Public Types * Public Types
************************************************************************************/ ************************************************************************************/
/* TODO: /* TODO:
*
* - Add types for statistics (struct iw_statistics and related) * - Add types for statistics (struct iw_statistics and related)
* - Add struct iw_range for use with IOCTL commands that need exchange mode data * - Add struct iw_range for use with IOCTL commands that need exchange mode data
* that could not fit in iwreq. * that could not fit in iwreq.
@ -203,6 +205,8 @@
* - WPA support. * - WPA support.
* - Wireless events. * - Wireless events.
* - Various flag definitions. * - Various flag definitions.
*
* These future additions will all need to be compatible with BSD/Linux definitions.
*/ */
/* Generic format for most parameters that fit in a int32_t */ /* Generic format for most parameters that fit in a int32_t */
@ -280,17 +284,17 @@ union iwreq_data
struct iw_param param; /* Other small parameters */ struct iw_param param; /* Other small parameters */
struct iw_point data; /* Other large parameters */ struct iw_point data; /* Other large parameters */
}; };
/* This is the structure used to exchange data in wireless IOCTLs. This structure /* This is the structure used to exchange data in wireless IOCTLs. This structure
* is the same as 'struct ifreq', but defined for use with wireless IOCTLs. * is the same as 'struct ifreq', but defined for use with wireless IOCTLs.
*/ */
struct iwreq struct iwreq
{ {
char ifrn_name[IFNAMSIZ]; /* Interface name, e.g. "eth0" */ char ifrn_name[IFNAMSIZ]; /* Interface name, e.g. "eth0" */
union iwreq_data u; /* Data payload */ union iwreq_data u; /* Data payload */
}; };
#endif /* CONFIG_DRIVERS_WIRELESS */ #endif /* CONFIG_DRIVERS_WIRELESS */
#endif /* __INCLUDE_NUTTX_WIRELESS_H */ #endif /* __INCLUDE_NUTTX_WIRELESS_H */