Cosmetic update to some spacing and comments.
This commit is contained in:
parent
888cff30dc
commit
5f5b20ab74
@ -149,6 +149,7 @@
|
||||
|
||||
#define SIOCSIWPMKSA _WLIOC(0x0032) /* PMKSA cache operation */
|
||||
|
||||
#define WL_FIRSTCHAR 0x0033
|
||||
#define WL_NNETCMDS 0x0032
|
||||
|
||||
/* Character Driver IOCTL commands *************************************************/
|
||||
@ -185,7 +186,7 @@
|
||||
#define NRF24L01_FIRST (CC3000_FIRST + CC3000_NCMDS)
|
||||
#define NRF24L01_NCMDS 14
|
||||
|
||||
/* Other Definitions ****************************************************************/
|
||||
/* Other Common Wireless Definitions ***********************************************/
|
||||
|
||||
/* Maximum size of the ESSID and NICKN strings */
|
||||
|
||||
@ -195,6 +196,7 @@
|
||||
* Public Types
|
||||
************************************************************************************/
|
||||
/* TODO:
|
||||
*
|
||||
* - Add types for statistics (struct iw_statistics and related)
|
||||
* - Add struct iw_range for use with IOCTL commands that need exchange mode data
|
||||
* that could not fit in iwreq.
|
||||
@ -203,6 +205,8 @@
|
||||
* - WPA support.
|
||||
* - Wireless events.
|
||||
* - 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 */
|
||||
@ -280,17 +284,17 @@ union iwreq_data
|
||||
|
||||
struct iw_param param; /* Other small parameters */
|
||||
struct iw_point data; /* Other large parameters */
|
||||
};
|
||||
};
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
struct iwreq
|
||||
{
|
||||
char ifrn_name[IFNAMSIZ]; /* Interface name, e.g. "eth0" */
|
||||
union iwreq_data u; /* Data payload */
|
||||
};
|
||||
};
|
||||
|
||||
#endif /* CONFIG_DRIVERS_WIRELESS */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user