Alin Jerpelea
cd2fcf5252
include: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-10-04 08:18:42 +08:00
lipengfei28
ca39dc2e74
math: Optimize the implementation of log2ceil and log2floor
...
and move common math funtions to math32.h:
div_round_up
div_round_closest
is_power_of_2
roundup_pow_of_two
rounddown_pow_of_two
Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com>
2024-09-23 10:03:54 +02:00
Petro Karashchenko
d499ac9d58
nuttx: fix multiple 'FAR', 'CODE' and style issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2024-08-25 19:22:15 +08:00
meijian
099ced4c83
[wireless] add pmksa get IOCTL id
...
Signed-off-by: meijian <meijian@xiaomi.com>
2024-08-24 18:09:07 +08:00
meijian
7cebfd0059
[wireless][header] Normalize IOCTL id
...
Signed-off-by: meijian <meijian@xiaomi.com>
2024-08-24 18:09:07 +08:00
zhanghongyu
430247cc99
include: format alignment
...
Align the comments in the include directory
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2024-03-21 19:53:05 +08:00
raiden00pl
b3b543e093
arch/nrf52: add initial support for IEEE 802.15.4
...
Supported features:
- frame transmition
- frame reception and filtering
- immediate ACK (incoming and outgoing)
- promiscuous mode
- delayed transmision
- radio events trace
- setting pending bit for all incoming Data Request frames
- un-slotted CSMA-CA
Work in progres features (some logic is present, but they require more work):
- beacon transmision (periodic transmition works, but requires verification)
- slotted CSMA-CA
- GTS
Fetures not implemented:
- enhanced ACK (Enh-ACK)
- enhanced beacon
- low power mode
- advanced features from IEEE 802.15.4e (DSME, TSCH)
Added examples for boards:
- nrf52832-dk: mrf24j40_6lowpan
- nrf52832-dk: mrf24j40_mac
- nrf52840-dk: ieee802154_6lowpan
- nrf52840-dk: ieee802154_mac
- nrf52840-dongle: ieee802154_mac
- nrf9160-dk-nrf52: ieee802154_6lowpan
- nrf9160-dk-nrf52: ieee802154_mac
2024-02-18 07:40:41 -08:00
raiden00pl
c1e81c348d
ieee802154_mac: add TRACEDUMP request
...
Used to dump trace log from radio.
Not used in upstream yet, will be supported by nrf52 IEEE 802.15.4 implementation
2024-02-17 05:00:44 -08:00
SPRESENSE
eaba1bef1e
drivers/modem/alt1250: Add LTE_CMDID_RESTARTAPI command
...
ALT1250 driver sends an event named LTE_CMDID_RESTARTAPI
to ALT1250 daemon when state is PM_NOARMAL in the function
of prepare registered by pm_register.
2024-02-07 22:19:03 -08:00
Xiang Xiao
ca5a9c711a
Remove @ and % tag from all comments
...
and format the multiple line comments
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-11 17:00:10 -03:00
raiden00pl
e5b6d1cb29
include/nuttx/wireless/lte/lte.h: add fw_version field to lte_version_t
2023-07-23 19:56:38 +08:00
raiden00pl
4f8b979855
include/nuttx/wireless/lte/lte.h: increase bb_product length
2023-07-23 19:56:38 +08:00
Petro Karashchenko
ef60a2e56a
iinclude/nuttx/wireless/bluetooth: remove FAR from array type
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-06-11 12:55:29 +08:00
SPRESENSE
54112ac070
drivers/modem/alt1250: Update alt1250 driver
...
Updated alt1250 driver with regarding to the following changes.
- Add LTE hibernation feature
- Split source code per module
- Some refactoring
- Some bug fixes
2023-06-08 07:48:17 +02:00
Lwazi Dube
a720984eb7
wireless/bluetooth: Add a generic access service.
...
Make NuttX peripheral visible to BLE apps.
2023-06-05 15:00:23 -03:00
Xiang Xiao
6f6fce95a2
Replace all sprintf with snprintf
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 09:57:01 +02:00
Lwazi Dube
16fc1b47b9
wireless/bluetooth: Support removable bluetooth modules.
...
This bluetooth stack remains in an inconsistent state when
the bluetooth HCI module is removed. This change adds a
bt_netdev_unregister function that can be used to clean up
after a module is removed. Some global variables are also
set to their default values.
2023-05-07 15:03:01 +08:00
simbit18
b1404f486e
include: Fix nxstyle errors
...
error: Long line found
2023-05-04 02:07:01 +08:00
Lwazi Dube
0356d1403d
wireless/bluetooth: Initialize private bt_driver_s member.
2023-04-30 00:41:22 +08:00
Tiago Medicci Serrano
bec4ed482d
wireless: add IW_AUTH_WPA_VERSION_WPA3 to support WPA3
...
Add the `IW_AUTH_WPA_VERSION_WPA3` bit field to support selecting
WPA3-SAE networks using the `IW_AUTH_WPA_VERSION` command.
This commit is necessary to enable `wapi`'s support for WPA3.
2023-04-29 14:35:09 +08:00
Lwazi Dube
79fde96a1d
wireless/bluetooth: Fix build error when BT_GATT_CCC is used.
2023-04-25 11:42:22 +08:00
Lwazi Dube
129a0703c4
bluetooth: Fix the Unexpected ACL flags error
...
This change fixes a bug that was introduced when a 16 bit handle was
changed into a 12 bit bitfield without adapting the rest of the stack.
2023-04-23 17:14:01 +08:00
raiden00pl
a6c1ef3c52
wireless/bluetooth: add RPMSG HCI controller support
2023-03-14 09:51:13 +08:00
Xiang Xiao
2c5f653bfd
Remove the tail spaces from all files except Documentation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-26 13:24:24 -08:00
lilei19
38f64f559d
change strcpy to strlcpy
...
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-02-24 12:15:40 +08:00
chao an
3a0fdb019d
nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems()
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 20:05:44 +08:00
chao an
94db8a9414
wireless/ieee80211: update ieee80211 header
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-29 00:34:26 +08:00
tangyusong1
f454dfccb2
Adjust ioctl function of cellular
...
Add SIOCGCELLNETDEV
Give a uint8_t[136] for cellular to save data
Signed-off-by: tangyusong1 <tangyusong1@xiaomi.com>
2022-12-09 11:19:55 +08:00
chao an
b5507ea9a2
compile/attribute: minor fix for packed struct mismatch
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-06 03:50:20 +08:00
SPRESENSE
306029e6e4
lte: Include nuttx/fs/ioctl.h instead of wireless.h
...
lte command definitions are separated from wireless ioctl.
2022-10-24 13:09:29 +08:00
Alin Jerpelea
06c8e43df9
drivers: modem: update altair modem
...
update Altair modem with the ALT1250 implementation
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-22 09:00:32 +08:00
anjiahao
d1d46335df
Replace nxsem API when used as a lock with nxmutex API
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-17 15:59:46 +09:00
Xiang Xiao
6ec74d8d36
bluetooth: Forward ioctl to btuart lowerhalf driver
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-02 18:14:00 -03:00
chao an
d5a1576361
net/wireless: add support for netdev private ioctl
...
Signed-off-by: chao an <anchao@xiaomi.com>
Signed-off-by: caohongwei <caohongwei@xiaomi.com>
2022-09-20 01:16:22 +08:00
chao an
8b238e0b3d
net/wireless: separate command catagory of bt/pktradio from wireless ioctl
...
1. separate command catagory of bt/pktradio from wireless ioctl
2. Remove commoand count limit to support vendor command
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-20 01:16:22 +08:00
chengkai
7a7b5e5779
wireless/bluetooth:add bt bridge codes
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-27 15:57:30 +08:00
chengkai
d78ffeca71
serial/uart/h4: add ioctl interface
...
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-24 21:42:58 +08:00
chengkai
0334a35288
wireless/bluetooth:add btsnoop open-close ioctl cmd
...
1. SIOCBTSNOOPOPEN: open btsnoop
2. SIOCBTSNOOPCLOSE: close btsnoop
Signed-off-by: chengkai <chengkai@xiaomi.com>
2022-08-24 11:13:40 +08:00
zhanghongyu
b80b4831e0
wireless: Add ioctl cmd to setting PTA prio
...
info:
https://docs.silabs.com/wifi/wf200/content-source/application-note/wifi-coexistence#pta-state-request
Is the PTA priority enumeration type sufficient?
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-08-15 23:15:45 +08:00
curuvar
e247eaf3e8
Add gSPI mode support for Infineon CYW43539
2022-08-15 10:31:36 +08:00
Takayoshi Koizumi
883c6fc2ef
drivers/wireless/gs2200m: Notify disssociation event
...
After recover disassociation, usrsock daemon must destroy all sockets.
Add notification to prompt the daemon to do so.
2022-08-02 15:13:00 +09:00
chao.an
b476c68ac3
wireless: add SIOCGIWCOUNTRY (Get country code)
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-23 21:48:08 +08:00
chao.an
fbddae8813
wireless/bcm43xxx: add customized MAC address support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-19 10:13:23 +08:00
chao.an
61ee155752
wireless: add Wireless statistics
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-06-03 13:04:09 +08:00
Alin Jerpelea
764376e946
include: wireless: bluetooth: migrate the license to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-20 21:05:45 +08:00
Alin Jerpelea
e00652c13f
LICENSE: document missing bluetooth files
...
add missing files to the LICENSE file.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-20 21:05:45 +08:00
chao.an
73aa337408
wireless/80211: update the 80211 header
...
Upstream from:
https://github.com/freebsd/freebsd-src/blob/main/sys/net80211/ieee80211.h
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-18 13:57:38 +08:00
zhanghongyu
f60480a5db
rpmsg_usrsock: Support the wireless ioctl which contain pointer 1/2
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-04-14 02:47:31 +08:00
Petro Karashchenko
8d3bf05fd2
include: fix double include pre-processor guards
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-16 11:11:14 -03:00
Xiang Xiao
828f04f0e5
sdio: Move sdio utils functions to drivers/mmcsd
...
so all sdio client driver can reuse them
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-01-04 17:44:24 +01:00