Commit Graph

81 Commits

Author SHA1 Message Date
Anthony Merlino
93cdae50fc ieee802154: Improves internal timer logic to handle work serially
Before, the MAC timer used a watchdog to schedule work with the high priority worker queue.  However, since everything in the MAC is supposed to be serialized through the use of the high priority work queue, but the timer uses a watchdog, there are some unintended consequences. To simplify, we now use the delayed work feature of the work queue.
2017-07-10 13:06:12 -04:00
Anthony Merlino
c8c31810dc ieee802154: Minor renaming. purge_time -> purgetime 2017-07-09 18:38:56 -04:00
Anthony Merlino
c72eb1b39b ieee802154: mac802154_purge_timeout was not unlocking MAC before returning 2017-07-09 17:59:22 -04:00
Anthony Merlino
4cf2d0a6a8 ieee802154: Changes mac locking/unlocking to aid in debugging 2017-07-07 23:31:23 -04:00
Gregory Nutt
053b6e3d9f Fix dangling white space at the end of lines. 2017-07-03 10:08:49 -06:00
Anthony Merlino
032deb5f49 ieee802154: Supports multiple incoming superframe events 2017-07-01 17:05:42 -04:00
Anthony Merlino
7d9c4ace34 ieee802154: Cleans up some wireless logging 2017-07-01 17:05:42 -04:00
Anthony Merlino
5ca18999a5 ieee802154: Random fixes to get beacon-enabled networking more stable 2017-07-01 17:05:42 -04:00
Anthony Merlino
b981ced4d4 ieee802154: Finishes beacon association functionality 2017-07-01 17:05:42 -04:00
Anthony Merlino
6b17d5ccc9 ieee802154: Minor changes to align closer with coding standard 2017-07-01 17:05:42 -04:00
Anthony Merlino
ce8f2735ea ieee802154: Improves notification freeing functionality
Each notification now has a number of clients.  When the last client calls free, the notification is freed back to the pool
2017-07-01 17:05:42 -04:00
Gregory Nutt
1f81b14610 Beacon logic: Damage control. Looks like something went wrong with the PR merge. 2017-06-26 11:03:44 -06:00
Anthony Merlino
da8afe9d9e ieee802154: Finishes transmission of beacon frames, and performing a passive scan 2017-06-25 18:08:00 -04:00
Anthony Merlino
683bd6e10e ieee802154: Adds some missing elements to start support for beacon-enabled networks 2017-06-25 18:08:00 -04:00
Anthony Merlino
8831d6e1d4 ieee802154: Minor renaming to align better with coding style standard 2017-06-23 14:51:29 -04:00
Anthony Merlino
45a32a116b wireless/ieee802154: Minor naming change to align better with coding guidelines 2017-06-20 19:14:05 -04:00
Gregory Nutt
cd8ac3f070 ieee802154 MAC: Free allocated TX descriptor if an error occurs after the descriptor has been allocated. 2017-06-20 15:00:23 -06:00
Gregory Nutt
d3b9ea9d66 Trivial.. missing newlines in debug output 2017-06-20 11:50:04 -06:00
Gregory Nutt
a82ab4b729 mac802154_req_data() can return without releasing the exclsem 2017-06-20 11:23:31 -06:00
Anthony Merlino
fc4f1de766 wireless/ieee802154: Cleans up some endianness issues 2017-06-19 15:55:14 -04:00
Anthony Merlino
b1ce07deb1 Swithches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID 2017-06-19 05:55:28 -04:00
Gregory Nutt
6162a84f80 ieee 802.15.4: Need counting protection on the logic that releases the notification resources. Otherwise, notification handlers may be operating with a stale pointer. 2017-06-18 13:33:07 -06:00
Gregory Nutt
2d4ba3ee3f IEEE 802.15.4 MAC: Add list management and prioritization logic that will permit the MAC layer to support bound multiple clients. 2017-06-18 11:00:47 -06:00
Gregory Nutt
afa0ab0819 Remove dangling whitespace form the end of lines 2017-06-17 14:13:25 -06:00
Anthony Merlino
30568ee04f wireless/ieee802154: Merges shard logic for sending data request commands 2017-06-17 14:56:42 -04:00
Anthony Merlino
74bc930551 wireless/ieee802154: Renames mac802154_poll to mac802154_radiopoll to be more obvious 2017-06-17 14:50:25 -04:00
Gregory Nutt
19b0aa3145 ieee802154 MAC: Fix a warning when compiled for a target with 64-bit addressing 2017-06-17 09:04:09 -06:00
Gregory Nutt
77757410c8 Remove dangling white space at the end of lines. 2017-06-15 10:46:48 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Anthony Merlino
908d438047 WIP: wireless/ieee802154: More work on association/beacon-enabled networks 2017-06-14 02:49:32 -04:00
Anthony Merlino
06634afbe0 wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces 2017-05-15 21:44:57 -04:00
Anthony Merlino
2b5e415fab wireless/ieee802154: Starts implementing START.request primitive 2017-05-14 17:55:15 -04:00
Anthony Merlino
07c47b0dde wireless/ieee802154: Starts implementing START.request primitive 2017-05-09 17:22:30 -04:00
Anthony Merlino
806dcd9a47 wireless/ieee802154: Brings closer to Nuttx coding style 2017-05-09 17:20:57 -04:00
Anthony Merlino
1186cd4e56 wireless/ieee802154: Fixes missing handle of read/write being able to be interrupted 2017-05-09 17:20:57 -04:00
Gregory Nutt
2043e1a114 IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
Anthony Merlino
2da6f71e84 wireless/ieee802154: Finishes MAC processing of received data frame 2017-05-08 16:23:13 -04:00
Anthony Merlino
a19a44ad3d wireless/ieee802154: Completes Rx data flow through MAC layer to callback 2017-05-06 10:20:19 -04:00
Anthony Merlino
1490599b69 wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data. 2017-05-06 10:20:19 -04:00
Anthony Merlino
88fb514b42 Merged in merlin17/nuttx/ieee802154 (pull request #351)
wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-06 11:53:15 +00:00
Gregory Nutt
3fcdc28a59 ieee 802.15.4: Add a pool-based memory allocator for RX frame meta-data. 2017-05-05 12:50:34 -06:00
Anthony Merlino
b87fac776f wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB 2017-05-05 12:44:34 -04:00
Anthony Merlino
dd40014279 wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface. 2017-05-05 11:15:38 -04:00
Anthony Merlino
abc15c8429 wireless/ieee802154: Finishes promiscuous mode IOCTL 2017-05-05 11:15:38 -04:00
Anthony Merlino
ba32b65813 wireless/ieee802154: Simplifies some primitive prototypes 2017-05-03 13:26:15 -04:00
Anthony Merlino
2c2cddd44b wireless/ieee802154: Starts work on setting PIB attributes 2017-05-03 11:42:52 -04:00
Anthony Merlino
653a0217f2 wireless/ieee802154: Finishes some IOCTL logic for MAC layer 2017-05-03 10:52:25 -04:00
Anthony Merlino
893c42561f wireless/ieee802154: Sets up default PIB attributes 2017-05-03 10:45:37 -04:00
Gregory Nutt
1ac1b6e68f MAC: meta data must be const to assure that it is not modified. 2017-05-03 08:04:20 -06:00
Gregory Nutt
2ece0c57dd Remove dangling whitespace at the end of lines 2017-05-02 14:42:40 -06:00