diff options
Diffstat (limited to 'drivers/staging/gdm72xx/hci.h')
| -rw-r--r-- | drivers/staging/gdm72xx/hci.h | 22 | 
1 files changed, 13 insertions, 9 deletions
diff --git a/drivers/staging/gdm72xx/hci.h b/drivers/staging/gdm72xx/hci.h index 2485a3799123..10a6bfa6e998 100644 --- a/drivers/staging/gdm72xx/hci.h +++ b/drivers/staging/gdm72xx/hci.h @@ -11,8 +11,8 @@   * GNU General Public License for more details.   */ -#ifndef HCI_H_20080801 -#define HCI_H_20080801 +#ifndef __GDM72XX_HCI_H__ +#define __GDM72XX_HCI_H__  #define HCI_HEADER_SIZE		4  #define HCI_VALUE_OFFS		(HCI_HEADER_SIZE) @@ -112,13 +112,11 @@  #define W_SCAN_ALL_SUBSCRIPTION		1  #define W_SCAN_SPECIFIED_SUBSCRIPTION	2 -/* - * TLV +/* TLV   *   * [31:31] indicates the type is composite.   * [30:16] is the length of the type. 0 length means length is variable.   * [15:0] is the actual type. - *   */  #define TLV_L(x)		(((x) >> 16) & 0xff)  #define TLV_T(x)		((x) & 0xff) @@ -200,10 +198,16 @@  #define T_FFTSIZE			(0xda	| (4 << 16))  #define T_DUPLEX_MODE			(0xdb	| (4 << 16)) +/* T_CAPABILITY */ +#define T_CAPABILITY_MULTI_CS		(1 << 0) +#define T_CAPABILITY_WIMAX		(1 << 1) +#define T_CAPABILITY_QOS		(1 << 2) +#define T_CAPABILITY_AGGREGATION	(1 << 3) +  struct hci_s { -	unsigned short cmd_evt; -	unsigned short length; -	unsigned char  data[0]; +	__be16	cmd_evt; +	__be16	length; +	u8	data[0];  } __packed; -#endif +#endif /* __GDM72XX_HCI_H__ */  | 
