2019-10-21 16:14:33 +02:00
|
|
|
/****************************************************************************
|
2022-10-18 08:55:15 +02:00
|
|
|
* drivers/modem/alt1250/alt1250.h
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
2021-01-25 10:00:05 +01:00
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright ownership. The
|
|
|
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
2021-01-25 10:00:05 +01:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
2021-01-25 10:00:05 +01:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2022-10-18 08:55:15 +02:00
|
|
|
#ifndef __DRIVERS_MODEM_ALT1250_ALT1250_H
|
|
|
|
#define __DRIVERS_MODEM_ALT1250_ALT1250_H
|
2019-10-21 16:14:33 +02:00
|
|
|
|
|
|
|
/****************************************************************************
|
2022-10-18 08:55:15 +02:00
|
|
|
* Included Files
|
2019-10-21 16:14:33 +02:00
|
|
|
****************************************************************************/
|
|
|
|
|
2022-10-18 08:55:15 +02:00
|
|
|
#include <nuttx/config.h>
|
|
|
|
#include <nuttx/wireless/lte/lte_ioctl.h>
|
2019-10-21 16:14:33 +02:00
|
|
|
|
2022-10-18 08:55:15 +02:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2019-10-21 16:14:33 +02:00
|
|
|
|
|
|
|
/****************************************************************************
|
2022-10-18 08:55:15 +02:00
|
|
|
* Public Function Prototypes
|
2019-10-21 16:14:33 +02:00
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
2022-10-18 08:55:15 +02:00
|
|
|
* Name: get_event_lapibuffer
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
|
|
|
* Description:
|
2022-10-18 08:55:15 +02:00
|
|
|
* Gets the buffer used in the LAPI event.
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
2022-10-18 08:55:15 +02:00
|
|
|
* Input Parameters:
|
|
|
|
* dev - An device instance of the ALT11250 driver.
|
|
|
|
* lapicmdid - ID of the LAPI command.
|
|
|
|
* inst - A pointer to an instance of the LAPI event buffer.
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
2022-10-18 08:55:15 +02:00
|
|
|
* Returned Value:
|
|
|
|
* Returns a bitmap indicating the location of the LAPI event buffer.
|
|
|
|
* If the buffer associated with the specified lapicmdid does not exist,
|
|
|
|
* NULL is returned.
|
2019-10-21 16:14:33 +02:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2022-10-18 08:55:15 +02:00
|
|
|
uint64_t get_event_lapibuffer(FAR struct alt1250_dev_s *dev,
|
|
|
|
uint32_t lapicmdid, alt_evtbuf_inst_t **inst);
|
2019-10-21 16:14:33 +02:00
|
|
|
|
2023-12-14 15:22:07 +01:00
|
|
|
#endif /* __DRIVERS_MODEM_ALT1250_ALT1250_H */
|