mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
Adjust ioctl function of cellular
Add SIOCGCELLNETDEV Give a uint8_t[136] for cellular to save data Signed-off-by: tangyusong1 <tangyusong1@xiaomi.com>
This commit is contained in:
@@ -176,15 +176,6 @@ struct can_ioctl_filter_s
|
||||
uint8_t fprio; /* See CAN_MSGPRIO_* definitions */
|
||||
};
|
||||
|
||||
/* Structure passed to get or set the cellular network device features */
|
||||
|
||||
struct cell_ioctl_data_s
|
||||
{
|
||||
uint8_t mdp_chnidx; /* MDP(Multi Data Path) channel idx bound to this network device */
|
||||
uint8_t sim_id; /* Sim ID in dual sim system */
|
||||
uint8_t cell_id; /* Cell Identification in mobile phone networks */
|
||||
};
|
||||
|
||||
/* There are two forms of the I/F request structure.
|
||||
* One for IPv6 and one for IPv4.
|
||||
* Notice that they are (and must be) cast compatible and really different
|
||||
@@ -211,7 +202,6 @@ struct lifreq
|
||||
struct mii_ioctl_data_s lifru_mii_data; /* MII request data */
|
||||
struct can_ioctl_data_s lifru_can_data; /* CAN bitrate request data */
|
||||
struct can_ioctl_filter_s lifru_can_filter; /* CAN filter request data */
|
||||
struct cell_ioctl_data_s lifru_cell_data; /* Cellular network data */
|
||||
} lifr_ifru;
|
||||
};
|
||||
|
||||
@@ -265,7 +255,6 @@ struct ifreq
|
||||
struct mii_ioctl_data_s ifru_mii_data; /* MII request data */
|
||||
struct can_ioctl_data_s ifru_can_data; /* CAN bitrate request data */
|
||||
struct can_ioctl_filter_s ifru_can_filter; /* CAN filter request data */
|
||||
struct cell_ioctl_data_s ifru_cell_data; /* Cellular network data */
|
||||
} ifr_ifru;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user