mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
wireless/ieee802154: add missinf FAR
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
8d565fc0e3
commit
521b92a5db
1 changed files with 4 additions and 4 deletions
|
@ -1056,7 +1056,7 @@ static void mac802154_rxframe_worker(FAR void *arg)
|
||||||
(FAR struct ieee802154_privmac_s *)arg;
|
(FAR struct ieee802154_privmac_s *)arg;
|
||||||
FAR struct ieee802154_data_ind_s *ind;
|
FAR struct ieee802154_data_ind_s *ind;
|
||||||
FAR struct iob_s *iob;
|
FAR struct iob_s *iob;
|
||||||
uint16_t *frame_ctrl;
|
FAR uint16_t *frame_ctrl;
|
||||||
bool panid_comp;
|
bool panid_comp;
|
||||||
uint8_t ftype;
|
uint8_t ftype;
|
||||||
|
|
||||||
|
@ -1094,7 +1094,7 @@ static void mac802154_rxframe_worker(FAR void *arg)
|
||||||
* the frame control field
|
* the frame control field
|
||||||
*/
|
*/
|
||||||
|
|
||||||
frame_ctrl = (uint16_t *)&iob->io_data[iob->io_offset];
|
frame_ctrl = (FAR uint16_t *)&iob->io_data[iob->io_offset];
|
||||||
iob->io_offset += 2;
|
iob->io_offset += 2;
|
||||||
|
|
||||||
/* We use the data_ind_s as a container for the frame information even
|
/* We use the data_ind_s as a container for the frame information even
|
||||||
|
@ -1438,11 +1438,11 @@ static void mac802154_rxdataframe(FAR struct ieee802154_privmac_s *priv,
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
||||||
FAR struct ieee802154_data_ind_s *ind)
|
FAR struct ieee802154_data_ind_s *ind)
|
||||||
{
|
{
|
||||||
FAR struct ieee802154_txdesc_s *txdesc;
|
FAR struct ieee802154_txdesc_s *txdesc;
|
||||||
FAR struct iob_s *iob;
|
FAR struct iob_s *iob;
|
||||||
uint16_t *frame_ctrl;
|
FAR uint16_t *frame_ctrl;
|
||||||
|
|
||||||
/* Get exclusive access to the MAC */
|
/* Get exclusive access to the MAC */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue