ieee802154: Cleans up some wireless logging

This commit is contained in:
Anthony Merlino
2017-07-01 17:04:02 -04:00
parent 29e028f7ac
commit 7d9c4ace34
4 changed files with 13 additions and 16 deletions
+3 -3
View File
@@ -784,7 +784,7 @@ static void mac802154_txdone_worker(FAR void *arg)
notif =(FAR struct ieee802154_notif_s *)txdesc->conf;
wlinfo("tx status: %s\n", IEEE802154_STATUS_STRING[txdesc->conf->status]);
wlinfo("Tx status: %s\n", IEEE802154_STATUS_STRING[txdesc->conf->status]);
switch(txdesc->frametype)
{
@@ -915,7 +915,7 @@ static void mac802154_rxframe(FAR const struct ieee802154_radiocb_s *radiocb,
sq_addlast((FAR sq_entry_t *)ind, &priv->dataind_queue);
wlinfo("frame received\n");
wlinfo("Frame received\n");
mac802154_givesem(&priv->exclsem);
@@ -2004,7 +2004,7 @@ static void mac802154_timeout_expiry(int argc, wdparm_t arg, ...)
DEBUGASSERT(priv->timeout_worker != NULL);
wlinfo("timer expired\n");
wlinfo("Timer expired\n");
work_queue(MAC802154_WORK, &priv->timeout_work, (worker_t)priv->timeout_worker,
priv, 0);
+3 -3
View File
@@ -527,7 +527,7 @@ void mac802154_txdone_assocreq(FAR struct ieee802154_privmac_s *priv,
* Interval = aBaseSuperframeDuration * 2^macBeaconOrder
*/
wlinfo("starting timeout timer\n");
wlinfo("Starting timeout timer\n");
mac802154_timerstart(priv, (priv->resp_waittime *
(IEEE802154_BASE_SUPERFRAME_DURATION * (1 << priv->sfspec.beaconorder))),
mac802154_assoctimeout);
@@ -658,7 +658,7 @@ void mac802154_txdone_datareq_assoc(FAR struct ieee802154_privmac_s *priv,
* next highest layer of the failure.
*/
wlinfo("starting timeout timer\n");
wlinfo("Starting timeout timer\n");
mac802154_timerstart(priv, priv->max_frame_waittime,
mac802154_assoctimeout);
@@ -774,7 +774,7 @@ void mac802154_rx_assocresp(FAR struct ieee802154_privmac_s *priv,
* to waste space holding our information?
*/
wlinfo("ignoring association response frame\n");
wlinfo("Ignoring association response frame\n");
return;
}
+3 -3
View File
@@ -615,7 +615,7 @@ static inline int mac802154_timercancel(FAR struct ieee802154_privmac_s *priv)
{
wd_cancel(priv->timeout);
priv->timeout_worker = NULL;
wlinfo("timer cancelled\n");
wlinfo("Timer cancelled\n");
return OK;
}
@@ -627,7 +627,7 @@ static inline void mac802154_rxenable(FAR struct ieee802154_privmac_s *priv)
if (priv->nrxusers == 1)
{
wlinfo("receiver enabled\n");
wlinfo("Receiver enabled\n");
priv->radio->rxenable(priv->radio, true);
}
}
@@ -640,7 +640,7 @@ static inline void mac802154_rxdisable(FAR struct ieee802154_privmac_s *priv)
if (priv->nrxusers == 0)
{
wlinfo("receiver disabled\n");
wlinfo("Receiver disabled\n");
priv->radio->rxenable(priv->radio, true);
priv->radio->rxenable(priv->radio, false);
}