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
Gregory Nutt
05590a2228
6LoWPAN: Correct a few addressing issues. The apps/examples/udp test now appears to be fully functional. Also reserve two bytes at the end of the frame for the FCS.
2017-06-21 13:43:53 -06:00
Gregory Nutt
2397bc728b
Add some comments to a Kconfig file; Fix a typo introduced in previous commit.
2017-06-21 10:40:36 -06:00
Gregory Nutt
8db9461e0e
mrf24j40: Fix a warning (which is actually an error)
2017-06-21 10:28:52 -06: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
afa0ab0819
Remove dangling whitespace form the end of lines
2017-06-17 14:13:25 -06:00
Gregory Nutt
77757410c8
Remove dangling white space at the end of lines.
2017-06-15 10:46:48 -06:00
Gregory Nutt
4a88d6a50a
Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154
2017-06-15 10:32:55 -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
Gregory Nutt
679a08e371
Merge remote-tracking branch 'spiriou/wapi_scan'
2017-05-21 09:25:02 -06:00
Simon Piriou
a332c4b9ce
bcmf: fix issue in AP scan event processing
2017-05-21 16:04:24 +02:00
Simon Piriou
6b15c26e56
bcmf: add SIOCGIWSCAN ioctl support
2017-05-20 22:13:15 +02:00
Anthony Merlino
06634afbe0
wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces
2017-05-15 21:44:57 -04:00
Gregory Nutt
fa649df52e
Photon: Small update from Simon Piriou.
2017-05-14 08:39:53 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Anthony Merlino
806dcd9a47
wireless/ieee802154: Brings closer to Nuttx coding style
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
3fa8e32e36
wireless/ieee802154: MRF24J40: Finishes receive functionality, supports promicuous mode, and rxonidle attributes
2017-05-08 16:23:13 -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
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
2c57c3f83b
wireless/ieee802154: Changes rxenable at radio layer
2017-05-05 11:15:38 -04:00
Gregory Nutt
6a45afdd75
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-04 07:11:19 -06:00
Gregory Nutt
88be413a05
Remove dangling whitespace at the end of lines.
2017-05-03 18:30:40 -06:00
Gregory Nutt
97f149a40b
Photon: Cosmetic changes to style detected by tools/nxstyle
2017-05-03 18:20:57 -06:00
Simon Piriou
b5e1ea4bef
bcmf: fix frame not freed when dropped + cleanup
2017-05-03 23:19:28 +02:00
Gregory Nutt
2ece0c57dd
Remove dangling whitespace at the end of lines
2017-05-02 14:42:40 -06:00
Simon Piriou
bd5d6ce986
bcmf: implement basic wext interface for authentication
2017-05-02 08:48:13 -06:00
Anthony Merlino
f02d98d15e
wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header
2017-05-02 09:58:54 -04:00
Anthony Merlino
c4007a111c
wireless/ieee802154: Fixes semaphore logic and list logic
2017-05-01 09:27:44 -04:00
Simon Piriou
fe77735960
bcmf: add netdev support for Broadcom FullMAC driver
2017-04-30 20:36:35 +02:00
Gregory Nutt
a7901f5c4c
Merge remote-tracking branch 'origin/master' into photon
2017-04-29 12:35:01 -06:00
Gregory Nutt
c7264eb550
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:28:19 -06:00
Gregory Nutt
f826877c61
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Simon Piriou
0d1a79719a
bcmf: add escan ioctls support + cleanup
2017-04-28 19:44:48 +02:00
Gregory Nutt
f1aa43512a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-27 17:00:11 -06:00
Gregory Nutt
2e6908b384
IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h.
2017-04-27 16:58:30 -06:00
Gregory Nutt
a134178034
Enabled wireless IOCTL commands in photon/wlan configuration
2017-04-26 12:30:18 -06:00
Anthony Merlino
9e760dcf6a
wireless/ieee802154: Lots of little fixes and changes to get everything to build
2017-04-26 11:36:06 -04:00
Simon Piriou
6bb2db8c15
bcmf: enable DMA for SDIO transfers
2017-04-26 17:23:53 +02:00
Gregory Nutt
ace460ad0e
configs/photon/src/stm32_wlan.c: Remove unused, inappropriate network driver registration.
2017-04-25 13:02:50 -06:00
Gregory Nutt
62fc578661
wireless/ieee80211: Add BSD license information to all files (except the Broadcom files -- need to revisit those).
2017-04-24 15:11:22 -06:00
Simon Piriou
a23ac02959
bcmf: register network driver + update defconfig file
2017-04-24 20:04:47 +02:00
Simon Piriou
d72f36948e
bcmf: fix Kconfig file
2017-04-24 20:02:20 +02:00
Gregory Nutt
a57c79e8b3
wireless/ieee80211: Add broadcom network device registration logic.
2017-04-24 10:43:57 -06:00
Gregory Nutt
e507a3f295
wiress/ieee80211: Broadcom network driver needs to register as an ieee802.11 driver, not an Ethernet driver.
2017-04-24 10:28:06 -06:00
Gregory Nutt
50fb7b0ba0
wireless/ieee80211: Add skeleton for a broadcom network driver.
2017-04-24 10:23:31 -06:00
Gregory Nutt
0ac6fbb3c7
drivers/ieee80211/: Change all occurrences of _info, _warn, and _err to wlinfo, wlwarn, and wlerr.
2017-04-23 16:24:47 -06:00
Simon Piriou
c0862c862f
photon: cleanup and refactor bcmf driver
2017-04-23 23:39:17 +02:00
Simon Piriou
a76266106a
photon: fix compilation errors and update wlan defconfig
2017-04-23 10:00:19 -06:00
Gregory Nutt
d8e4cbcfd5
Merge remote-tracking branch 'spiriou/wlan_dev' into photon
2017-04-22 08:26:40 -06:00
Simon Piriou
22e5cec376
photon: add basic wlan scan function
2017-04-22 15:57:51 +02:00
Gregory Nutt
309f0abc14
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Anthony Merlino
b1c8f008d6
wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions
2017-04-21 14:57:27 -04:00
Anthony Merlino
795e70a952
wireless/ieee802154: Work on packet reception at radio layer (MRF24J40)
2017-04-21 13:06:26 -04:00
Anthony Merlino
a5d73e42cd
wireless/ieee802154: Fixes radio callback arguments
2017-04-19 18:15:09 -04:00
Gregory Nutt
9a1fe0b971
ieee802154: Cosmetic changes from review of last PR.
2017-04-19 14:52:45 -06:00
Anthony Merlino
1abe4ae4da
wireless/ieee802154: Starts structuring transmission completion handling
2017-04-19 16:35:02 -04:00
Anthony Merlino
37e7c67373
wireless/ieee802154: Changes radio interface to match MAC callback design
2017-04-19 13:26:44 -04:00
Gregory Nutt
35756d6295
ieee802.15.4: Cosmetic changes from review of last PR.
2017-04-18 14:25:23 -06:00
Anthony Merlino
9ad3b375e5
wireless/ieee802154: Lots of small fixes to eliminate build issues.
...
Generally cleans things up and fixes lots of small issues preventing a successful build. Does not completely build, but there are significantly less errors
2017-04-18 15:34:28 -04:00
Gregory Nutt
6d3ec6e4a4
ieee802.15.4: Changes from review of last PR
2017-04-17 09:53:58 -06:00
Anthony Merlino
46d7a4bb03
wireless/ieee802154: Continues development on transmit structure
2017-04-17 11:34:41 -04:00
Simon Piriou
0434528732
photon: request firmware version and MAC address
2017-04-16 13:13:11 +02:00
Simon Piriou
d646bde1f8
photon: add sdpcm tx basic support
2017-04-16 11:28:08 +02:00
Anthony Merlino
d9e2139e46
wireless/ieee802154/mrf24j40: Renaming, added bind method
2017-04-15 13:20:33 -04:00
Simon Piriou
11d3db5c35
photon: add sdpcm + thread support for wlan
2017-04-15 11:39:13 +02:00
Gregory Nutt
6b8a8bda35
ieee802.15.4 radio: Remove interface methods that duplicate IOCTL commands.
2017-04-13 11:14:02 -06:00
Gregory Nutt
8288f53d4e
ieee802154 radio: Implement IOCTL decode and dispatch in all radio drivers.
2017-04-13 09:13:16 -06:00
Simon Piriou
e5c4a28c3a
photon: wlan support
2017-04-05 21:55:21 +02:00
Anthony Merlino
8f67ec30a7
wireless/ieee802154: Removes ieee802154.h and makes other minor changes
2017-03-29 12:39:52 -04:00
Gregory Nutt
3fbf59e2bc
MRF24J40: Take advantage of new OS features for interrupt parameter passing.
2017-03-27 10:48:58 -06:00
Gregory Nutt
b315f0d851
AT86RF23x: Clean-up, standardize lower half interface. Take advantage of new OS features for interrupt parameter passing.
2017-03-27 10:28:03 -06:00
Gregory Nutt
e97a13ea90
MRF24J40/Clicker2: Add an MRF24J40 device configuration to the Clicker2 STM32 board. Fix a few errors discovered during build.
2017-03-24 13:49:40 -06:00
Anthony Merlino
7388816629
drivers/ieee802154: Moves defines to MAC layer and adjusts some addressing functionality
2017-03-24 11:10:35 -04:00
Simon Piriou
1f71c8ced8
bcm: update driver
2017-03-20 22:40:25 +01:00
Gregory Nutt
25e4e3c314
Bring closer to NuttX coding standard.
2017-03-15 14:57:13 -06:00
Gregory Nutt
f985b52587
Integrate use of new wireless debug macros. Replace ad hoc debug macros. Convert obsolete dbg() macros to current info(), warn(), err() macros.
2017-03-15 14:37:17 -06:00
Gregory Nutt
15b2046748
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-15 14:32:05 -06:00
Gregory Nutt
57a1360c84
Add option to enable wireless debug output.
2017-03-15 14:31:01 -06:00
Gregory Nutt
fc6405d519
Bring closer to NuttX coding standard.
2017-03-15 14:16:19 -06:00
Simon Piriou
bf9391a1fe
photon: porting wlan device
2017-03-14 21:13:36 +01:00
Sebastien Lorquet
b5824d0993
Merge branch 'master' into ieee
2017-03-13 16:51:05 +01:00
Simon Piriou
e10ce5ce51
Photon: add basic support for wlan chip
2017-03-12 16:57:59 +01:00
Gregory Nutt
399f306744
A few cosmetic changes
2017-03-11 08:58:42 -06:00
Gregory Nutt
04b2964eac
drivers/wireless/nrf24l01.c: Review last PR. Also got enthused and did major re-work to file to bring it closer to the NuttX coding style. Fixed a few compile time warnings.
2017-03-10 17:29:58 -06:00
Leif Jakob
5534e0c493
multiple fixes in nrf24l01 driver
...
- signal POLLIN if there is already data in the FIFO
- send ETIMEDOUT to userspace after 2 seconds if TX IRQ was not received
- handle FIFO overflow
- handle invalid pipes/empty FIFO
- multiple cosmetics (missing static, duplicate define, missing \n)
2017-03-10 23:21:49 +01:00
Sebastien Lorquet
7e19f4014e
Merge branch 'master' into ieee
...
Conflicts (fixed):
drivers/wireless/ieee802154/mrf24j40.c
include/nuttx/fs/ioctl.h
2017-03-09 14:28:52 +01:00
Gregory Nutt
f4bad1a280
stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t oldhandler. This value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 16:34:37 -06:00
Gregory Nutt
ac6e552ff7
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:37:44 -06:00
Gregory Nutt
ded155c638
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:58 -06:00
Gregory Nutt
69c26cca50
Correct mimatched function prototype.
2017-02-27 12:24:34 -06:00
Gregory Nutt
7bd8da19b9
Missed some changes in the last commit.
2017-02-27 12:11:35 -06:00
Gregory Nutt
840c5935a3
Correct a typo from one of the preceding commits.
2017-02-27 11:58:20 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -06:00
Gregory Nutt
4cd31be19d
Convert some serial drivers to use use irq_attach.
2017-02-27 08:55:21 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
08c001196b
drivers/: Remove all explicit use of 'hidden' macro _info. Code must never use this directly. Code must always use a debug macro such as info which is basic on _info but can be appropriately filtered.
2017-01-15 13:00:50 -06:00
Gregory Nutt
4fcbe8e410
drivers: Disable priority inheritance on all semaphores used for signaling
2016-11-03 11:00:47 -06:00
Sebastien Lorquet
3654b841bc
Move contactless drivers to their own directory
2016-08-31 13:08:58 +02:00
Gregory Nutt
caea59b340
SPI bit order: Add configuration setting to indicate if an architecture-specif SPI implementation does or does not support LSB bit order.
2016-08-08 12:21:20 -06:00
Gregory Nutt
6df28bc74e
Make bit-order SPI H/W feature configurable for better error detection
2016-08-08 11:54:13 -06:00
Gregory Nutt
21859af6d9
Add check of return value in drivers affected by last change: Report the error on a failure to set the bit order.
2016-08-08 08:40:37 -06:00
Gregory Nutt
7d4cb73bd6
STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers.
...
This change three things: (1) It adds HWFEAT_LSBFIRST as a new H/W feature. (2) It changes the implementations of SPI_SETBITS in the STM32 and EFM32 derivers so that negated bit numbers are simply errors and it adds the SPI_HWFEATURES method that can set the LSB bit order, and (3) It changes all calls with negative number of bits from all drivers: The number of bits is now always positive and SPI_HWFEATUREs is called with HWFEAT_LSBFIRST to set the bit order.
2016-08-08 08:28:13 -06:00
Gregory Nutt
9965cbe428
drivers/: Review and correct some stylistic inconsistencies
2016-08-07 09:43:48 -06:00
Alan Carvalho de Assis
10a7698112
drivers/wireless/mfrc522.c: Fix memory free command
2016-08-07 07:34:01 -06:00
Alan Carvalho de Assis
bfac90f720
Add MFRC522 RFID ISO14443 and Mifare transceiver driver
2016-08-06 08:45:52 -06:00
Gregory Nutt
1660329d06
Rename up_rnginitialize to devrandom_register
2016-07-18 10:55:37 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
7d0950bb22
net/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network events are not errors.
2016-06-12 07:09:37 -06:00
Gregory Nutt
e18e2b351b
Need a info() macro mapping
2016-06-11 19:05:32 -06:00
Gregory Nutt
f12da847d8
drivers/wireless: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-11 19:03:57 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Sebastien Lorquet
0ef10e6d0e
fix atmel driver for new 802154 radio api
2016-06-01 13:11:49 +02:00
Sebastien Lorquet
b0afc4807d
synthetic commit to import ieee branch from old repo
2016-06-01 12:12:21 +02:00
Gregory Nutt
1f8212679c
NRF24L01: Fix backward calculation of relative frequency. Noted by Henry Zhang
2016-04-15 07:07:22 -06:00
Paul A. Patience
c62bb9beb1
Fix issues detected by cppcheck
2016-03-22 15:46:47 -04:00
Gregory Nutt
1c31e10397
NRF2410L: Add missing conditional logic in vtable initialization
2016-03-08 16:11:08 -06:00
Gregory Nutt
0970d43ab8
Cosmetic changes to comments
2016-02-28 07:48:16 -06:00
Gregory Nutt
d777110cbe
Eliminate a warning
2016-02-27 07:27:45 -06:00
Sebastien Lorquet
dc7adfa817
drivers/wireless/ieee802154/Kconfig
...
drivers/wireless/ieee802154/Make.defs
Changes to the build infrastructure to include the mrf24j40 driver
include/nuttx/spi/spi.h
Define a IEEE SPI device
include/nuttx/wireless/ieee802154/ieee802154_radio.h
This file defines the API of a IEEE 802.15.4 radio device, to be used by the future common MAC 802.15.4 layer
drivers/wireless/ieee802154/mrf24j40.c
drivers/wireless/ieee802154/mrf24j40.h
The main MRF24J40 IEEE 802.15.4 radio driver
include/nuttx/wireless/ieee802154/mrf24j40.h
This file allows instanciation of the MRF24j40 driver from board configurations
2016-02-26 18:39:27 -06:00
Gregory Nutt
1ecb092e51
Add wireless/ieee802154 to the build
2016-02-26 17:27:58 -06:00
Gregory Nutt
cfe018e991
Rename CONFIG_WIRELESS to CONFIG_DRIVERS_WIRELESS
2016-02-26 16:50:26 -06:00
Gregory Nutt
309beae2cd
Move drivers/ieee802154 to drivers/wireless/ieee802154; rename include/nuttx/net ieee802154 to 6lowpan.h
2016-02-26 15:03:16 -06:00
Gregory Nutt
0fb035f76b
Standardize some naming in code section comments
2016-02-21 18:09:04 -06:00
Gregory Nutt
2244ed46bc
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 07:32:58 -06:00
Gregory Nutt
bf8120d51d
Fix some odd logic in CC3000 semaphore handling. Noted by Vladimir Komendantskiy
2016-02-10 09:50:28 -06:00
Gregory Nutt
564a1ce606
Cosmetic clean-up of comments
2016-01-24 08:21:55 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Gregory Nutt
63301fe213
Cosmetic changes from review of last pull request
2016-01-17 14:52:11 -06:00
Janne Rosberg
fb1bf10a3d
add pn532 support
...
Signed-off-by: Janne Rosberg <janne.rosberg@offcode.fi>
2016-01-17 22:17:49 +02:00
Gregory Nutt
c955cdccd9
Move rivers/wireless/cc3000/security.c to crypto/aes.c; move include/nuttx/wireless/cc3000/security.h to include/nuttx/crypto/aes.h
2015-11-16 13:31:02 -06:00
Gregory Nutt
cdc646ae68
Another typo introduced in previous commit
2015-10-10 12:31:31 -06:00
Gregory Nutt
5f9c47a83f
drivers/wireless: Fixes to spacing and alignement
2015-10-10 11:51:32 -06:00
Gregory Nutt
863ded3584
Standardize the width of all comment boxes in C header files
2015-10-03 07:45:15 -06:00
Gregory Nutt
16b32bbadd
Standardize the width of all comment boxes in C files
2015-10-03 07:25:53 -06:00
Gregory Nutt
0f90500f72
Standardize the width of all comment boxes in header files
2015-10-02 17:48:24 -06:00
Gregory Nutt
5b51a9fcdd
Standardize the width of all comment boxes in C files
2015-10-02 17:43:18 -06:00
Pierre-noel Bouteville
8651e0f2ca
CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype
2015-09-09 16:34:37 -06:00
Gregory Nutt
afdb3c751a
Fix typos from a previous commit
2015-09-08 12:45:30 -06:00