9584fa46e9
Update generate_uapi_headers.sh to checkout the android mainline kernel. Also, add a small modification to look for the kernel directory in common not linux-stable. Remove deprecated android headers from android/uapi/linux. Also, remove f_accessory.h since it's in the android mainline kernel. Test: Builds and runs on walleye. Change-Id: Ia371305e19f56e6bcc2db6d5b4d299819f07ffc6
50 lines
1.7 KiB
C
50 lines
1.7 KiB
C
/****************************************************************************
|
|
****************************************************************************
|
|
***
|
|
*** This header was automatically generated from a Linux kernel header
|
|
*** of the same name, to make information necessary for userspace to
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
*** structures, and macros generated from the original header, and thus,
|
|
*** contains no copyrightable information.
|
|
***
|
|
*** To edit the content of this header, modify the corresponding
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
***
|
|
*** Any manual change here will be lost the next time this script will
|
|
*** be run. You've been warned!
|
|
***
|
|
****************************************************************************
|
|
****************************************************************************/
|
|
#ifndef _LINUX_GSMMUX_H
|
|
#define _LINUX_GSMMUX_H
|
|
#include <linux/if.h>
|
|
#include <linux/ioctl.h>
|
|
#include <linux/types.h>
|
|
struct gsm_config {
|
|
unsigned int adaption;
|
|
unsigned int encapsulation;
|
|
unsigned int initiator;
|
|
unsigned int t1;
|
|
unsigned int t2;
|
|
unsigned int t3;
|
|
unsigned int n2;
|
|
unsigned int mru;
|
|
unsigned int mtu;
|
|
unsigned int k;
|
|
unsigned int i;
|
|
unsigned int unused[8];
|
|
};
|
|
#define GSMIOC_GETCONF _IOR('G', 0, struct gsm_config)
|
|
#define GSMIOC_SETCONF _IOW('G', 1, struct gsm_config)
|
|
struct gsm_netconfig {
|
|
unsigned int adaption;
|
|
unsigned short protocol;
|
|
unsigned short unused2;
|
|
char if_name[IFNAMSIZ];
|
|
__u8 unused[28];
|
|
};
|
|
#define GSMIOC_ENABLE_NET _IOW('G', 2, struct gsm_netconfig)
|
|
#define GSMIOC_DISABLE_NET _IO('G', 3)
|
|
#define GSMIOC_GETFIRST _IOR('G', 4, __u32)
|
|
#endif
|