various cosmetic changes related to ieee802154

This commit is contained in:
raiden00pl
2024-02-16 21:17:09 +01:00
committed by Xiang Xiao
parent de61a8e009
commit a99275ec1a
3 changed files with 18 additions and 10 deletions

View File

@@ -458,9 +458,9 @@ static void mac802154_notify_worker(FAR void *arg)
* This function is called in the following scenarios:
* - The MAC receives a START.request primitive
* - Upon receiving the IEEE802154_SFEVENT_ENDOFACTIVE event from the
* this radio layer, the MAC checks the bf_update flag and if set
* calls function. The bf_update flag is set when various attributes
* that effect the beacon are updated.
* this radio layer, the MAC checks the beaconupdate flag and if set
* calls function. The beaconupdate flag is set when various
* attributes that effect the beacon are updated.
*
* Internal function used by various parts of the MAC layer. This function
* uses the various MAC attributes to update the beacon frame. It loads
@@ -778,8 +778,8 @@ static void mac802154_purge_worker(FAR void *arg)
****************************************************************************/
static int
mac802154_radiopoll(FAR const struct ieee802154_radiocb_s *radiocb,
bool gts, FAR struct ieee802154_txdesc_s **txdesc)
mac802154_radiopoll(FAR const struct ieee802154_radiocb_s *radiocb,
bool gts, FAR struct ieee802154_txdesc_s **txdesc)
{
FAR struct mac802154_radiocb_s *cb =
(FAR struct mac802154_radiocb_s *)radiocb;

View File

@@ -146,7 +146,9 @@ int mac802154_req_associate(MACHANDLE mac,
return ret;
}
/* Get a uin16_t reference to the first two bytes. ie frame control field */
/* Get a uint16_t reference to the first two bytes. ie frame control
* field
*/
iob->io_data[0] = 0;
iob->io_data[1] = 0;
@@ -879,7 +881,7 @@ static void mac802154_assoctimeout(FAR void *arg)
}
/****************************************************************************
* Name: mac802154_extract_assocrespj
* Name: mac802154_extract_assocresp
*
* Description:
* Create and send a Data request command to extract the Association