mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Run codespell -w with the latest dictonary again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
55a7dfc9a7
commit
cde88cabcc
@@ -566,7 +566,7 @@ static uint8_t disconnected_cb(FAR const struct bt_gatt_attr_s *attr,
|
||||
memset(&ccc->value, 0, sizeof(ccc->value));
|
||||
ccc->cfg_changed(ccc->value);
|
||||
|
||||
wlinfo("ccc %p reseted\n", ccc);
|
||||
wlinfo("ccc %p reset\n", ccc);
|
||||
return BT_GATT_ITER_CONTINUE;
|
||||
}
|
||||
|
||||
|
||||
@@ -1238,7 +1238,7 @@ static void bt_smp_encrypt_change(FAR FAR struct bt_conn_s *conn,
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BLUETOOTH_SMP_SELFTEST)
|
||||
/* spaw octets for LE encrypt */
|
||||
/* spawn octets for LE encrypt */
|
||||
|
||||
static void swap_buf(FAR const uint8_t *src, FAR uint8_t *dst, uint16_t len)
|
||||
{
|
||||
|
||||
@@ -110,7 +110,7 @@ config IEEE802154_MACDEV
|
||||
if IEEE802154_MACDEV
|
||||
|
||||
config IEEE802154_MACDEV_RECVRPRIO
|
||||
int "Priority of frame receiver registerd with the MAC layer"
|
||||
int "Priority of frame receiver registered with the MAC layer"
|
||||
default 0
|
||||
---help---
|
||||
When the MAC layer receives an incoming data frame, it passes the frame
|
||||
@@ -141,7 +141,7 @@ config IEEE802154_NETDEV
|
||||
if IEEE802154_NETDEV
|
||||
|
||||
config IEEE802154_NETDEV_RECVRPRIO
|
||||
int "Priority of frame receiver registerd with the MAC layer"
|
||||
int "Priority of frame receiver registered with the MAC layer"
|
||||
default 1
|
||||
---help---
|
||||
When the MAC layer receives an incoming data frame, it passes the frame
|
||||
|
||||
@@ -300,7 +300,7 @@ FAR struct ieee802154_primitive_s *ieee802154_primitive_allocate(void)
|
||||
#endif
|
||||
{
|
||||
/* If we cannot a primitive structure from the free list, then we
|
||||
* will have to allocate one from the kernal memory pool.
|
||||
* will have to allocate one from the kernel memory pool.
|
||||
*/
|
||||
|
||||
leave_critical_section(flags);
|
||||
|
||||
@@ -162,7 +162,7 @@ int mac802154_req_data(MACHANDLE mac,
|
||||
* the struct mac802154_maccb_s->conf_purge callback.
|
||||
*
|
||||
* NOTE: The standard specifies that confirmation should be indicated via
|
||||
* the asynchronous MLME-PURGE.confirm primitve. However, in our
|
||||
* the asynchronous MLME-PURGE.confirm primitive. However, in our
|
||||
* implementation we synchronously return the status from the request.
|
||||
* Therefore, we merge the functionality of the MLME-PURGE.request and
|
||||
* MLME-PURGE.confirm primitives together.
|
||||
@@ -222,7 +222,7 @@ int mac802154_req_gts(MACHANDLE mac, FAR struct ieee802154_gts_req_s *req);
|
||||
* that the MLME performs a reset operation.
|
||||
*
|
||||
* NOTE: The standard specifies that confirmation should be provided via
|
||||
* via the asynchronous MLME-RESET.confirm primitve. However, in our
|
||||
* via the asynchronous MLME-RESET.confirm primitive. However, in our
|
||||
* implementation we synchronously return the value immediately. Therefore,
|
||||
* we merge the functionality of the MLME-RESET.request and MLME-RESET.confirm
|
||||
* primitives together.
|
||||
@@ -274,7 +274,7 @@ int mac802154_req_scan(MACHANDLE mac, FAR struct ieee802154_scan_req_s *req);
|
||||
* attribute.
|
||||
*
|
||||
* NOTE: The standard specifies that the attribute value should be returned
|
||||
* via the asynchronous MLME-GET.confirm primitve. However, in our
|
||||
* via the asynchronous MLME-GET.confirm primitive. However, in our
|
||||
* implementation, we synchronously return the value immediately.Therefore, we
|
||||
* merge the functionality of the MLME-GET.request and MLME-GET.confirm
|
||||
* primitives together.
|
||||
@@ -292,7 +292,7 @@ int mac802154_req_get(MACHANDLE mac, enum ieee802154_attr_e ,
|
||||
* indicated MAC PIB attribute.
|
||||
*
|
||||
* NOTE: The standard specifies that confirmation should be indicated via
|
||||
* the asynchronous MLME-SET.confirm primitve. However, in our implementation
|
||||
* the asynchronous MLME-SET.confirm primitive. However, in our implementation
|
||||
* we synchronously return the status from the request. Therefore, we do merge
|
||||
* the functionality of the MLME-SET.request and MLME-SET.confirm primitives
|
||||
* together.
|
||||
|
||||
@@ -237,7 +237,7 @@ int mac802154_req_associate(MACHANDLE mac,
|
||||
txdesc->frametype = IEEE802154_FRAME_COMMAND;
|
||||
txdesc->ackreq = true;
|
||||
|
||||
/* Save a copy of the destination addressing infromation into the tx
|
||||
/* Save a copy of the destination addressing information into the tx
|
||||
* descriptor. We only do this for commands to help with handling their
|
||||
* progession.
|
||||
*/
|
||||
@@ -764,7 +764,7 @@ void mac802154_rx_assocresp(FAR struct ieee802154_privmac_s *priv,
|
||||
*
|
||||
* TODO: What is supposed to happen in this situation. Are we supposed
|
||||
* to accept the request? Are we supposed to Disassociate with the
|
||||
* network as a convienience to the PAN Coordinator. So that it does
|
||||
* network as a convenience to the PAN Coordinator. So that it does
|
||||
* not need to waste space holding our information?
|
||||
*/
|
||||
|
||||
|
||||
@@ -820,7 +820,7 @@ static int mac802154dev_rxframe(FAR struct mac802154_chardevice_s *dev,
|
||||
* user-space
|
||||
*
|
||||
* Input Parameters:
|
||||
* mac - Pointer to the mac layer struct to be registerd.
|
||||
* mac - Pointer to the mac layer struct to be registered.
|
||||
* minor - The device minor number. The IEEE802.15.4 MAC character device
|
||||
* will be registered as /dev/ieeeN where N is the minor number
|
||||
*
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
* attribute.
|
||||
*
|
||||
* NOTE: The standard specifies that the attribute value should be returned
|
||||
* via the asynchronous MLME-GET.confirm primitve. However, in our
|
||||
* via the asynchronous MLME-GET.confirm primitive. However, in our
|
||||
* implementation, we synchronously return the value immediately.Therefore, we
|
||||
* merge the functionality of the MLME-GET.request and MLME-GET.confirm
|
||||
* primitives together.
|
||||
@@ -165,7 +165,7 @@ int mac802154_req_get(MACHANDLE mac, enum ieee802154_attr_e attr,
|
||||
* indicated MAC PIB attribute.
|
||||
*
|
||||
* NOTE: The standard specifies that confirmation should be indicated via
|
||||
* the asynchronous MLME-SET.confirm primitve. However, in our implementation
|
||||
* the asynchronous MLME-SET.confirm primitive. However, in our implementation
|
||||
* we synchronously return the status from the request. Therefore, we do merge
|
||||
* the functionality of the MLME-SET.request and MLME-SET.confirm primitives
|
||||
* together.
|
||||
|
||||
@@ -343,7 +343,7 @@ static int lo_loopback(FAR struct net_driver_s *dev)
|
||||
IEEE802154_EADDRCOPY(ind.dest.eaddr, g_eaddr);
|
||||
|
||||
/* Loop while there framelist to be sent, i.e., while the freme list is not
|
||||
* emtpy. Sending, of course, just means relaying back through the network
|
||||
* empty. Sending, of course, just means relaying back through the network
|
||||
* for this driver.
|
||||
*/
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ int mac802154_req_poll(MACHANDLE mac, FAR struct ieee802154_poll_req_s *req)
|
||||
txdesc);
|
||||
}
|
||||
|
||||
/* Save a copy of the destination addressing infromation into the tx descriptor.
|
||||
/* Save a copy of the destination addressing information into the tx descriptor.
|
||||
* We only do this for commands to help with handling their progession.
|
||||
*/
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
* the struct mac802154_maccb_s->conf_purge callback.
|
||||
*
|
||||
* NOTE: The standard specifies that confirmation should be indicated via
|
||||
* the asynchronous MLME-PURGE.confirm primitve. However, in our
|
||||
* the asynchronous MLME-PURGE.confirm primitive. However, in our
|
||||
* implementation we synchronously return the status from the request.
|
||||
* Therefore, we merge the functionality of the MLME-PURGE.request and
|
||||
* MLME-PURGE.confirm primitives together.
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
* that the MLME performs a reset operation.
|
||||
*
|
||||
* NOTE: The standard specifies that confirmation should be provided via
|
||||
* via the asynchronous MLME-RESET.confirm primitve. However, in our
|
||||
* via the asynchronous MLME-RESET.confirm primitive. However, in our
|
||||
* implementation we synchronously return the value immediately. Therefore,
|
||||
* we merge the functionality of the MLME-RESET.request and MLME-RESET.confirm
|
||||
* primitives together.
|
||||
|
||||
@@ -322,7 +322,7 @@ static int lo_loopback(FAR struct net_driver_s *dev)
|
||||
memcpy(pktmeta.pm_dest.pa_addr, g_mac_addr, CONFIG_PKTRADIO_ADDRLEN);
|
||||
|
||||
/* Loop while there framelist to be sent, i.e., while the freme list is not
|
||||
* emtpy. Sending, of course, just means relaying back through the network
|
||||
* empty. Sending, of course, just means relaying back through the network
|
||||
* for this driver.
|
||||
*/
|
||||
|
||||
@@ -944,7 +944,7 @@ static int lo_req_data(FAR struct radio_driver_s *netdev,
|
||||
*
|
||||
* Input Parameters:
|
||||
* netdev - The network device to be queried
|
||||
* properties - Location where radio properities will be returned.
|
||||
* properties - Location where radio properties will be returned.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) returned on success; a negated errno value is returned on
|
||||
|
||||
@@ -70,7 +70,7 @@ static sem_t g_metadata_sem;
|
||||
|
||||
static bool g_metadata_initialized;
|
||||
|
||||
/* Pool of pre-allocated meta-data stuctures */
|
||||
/* Pool of pre-allocated meta-data structures */
|
||||
|
||||
static struct pktradio_metadata_s g_metadata_pool[CONFIG_PKTRADIO_NRXMETA];
|
||||
|
||||
@@ -170,7 +170,7 @@ FAR struct pktradio_metadata_s *pktradio_metadata_allocate(void)
|
||||
else
|
||||
{
|
||||
/* If we cannot get a meta-data instance from the free list, then we
|
||||
* will have to allocate one from the kernal memory pool. We won't
|
||||
* will have to allocate one from the kernel memory pool. We won't
|
||||
* access the free list.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user