|
| 1 | +# ST Microelectronics s2lp 802.15.4 radio configuration options |
| 2 | + |
| 3 | +# Copyright (c) 2021 Nikos Oikonomou <nikoikonomou92@gmail.com> |
| 4 | +# SPDX-License-Identifier: Apache-2.0 |
| 5 | + |
| 6 | +menuconfig IEEE802154_S2LP |
| 7 | + bool "ST S2LP Driver support" |
| 8 | + depends on NETWORKING && SPI |
| 9 | + select NET_L2_IEEE802154_SUB_GHZ if NET_L2_IEEE802154 |
| 10 | + |
| 11 | +if IEEE802154_S2LP |
| 12 | + |
| 13 | +config IEEE802154_S2LP_DRV_NAME |
| 14 | + string "S2LP Driver's name" |
| 15 | + default "IEEE802154_S2LP" |
| 16 | + help |
| 17 | + This option sets the driver name |
| 18 | + |
| 19 | +config IEEE802154_S2LP_RX_THREAD_PRIO |
| 20 | + int |
| 21 | + default 2 |
| 22 | + help |
| 23 | + Hidden option for Rx thread priority. |
| 24 | + |
| 25 | +config IEEE802154_S2LP_RX_STACK_SIZE |
| 26 | + int "Driver's internal RX thread stack size" |
| 27 | + default 800 |
| 28 | + help |
| 29 | + This option sets the driver's stack size for its internal RX thread. |
| 30 | + The default value should be sufficient, but in case it proves to be |
| 31 | + a too little one, this option makes it easy to play with the size. |
| 32 | + |
| 33 | +config IEEE802154_S2LP_INIT_PRIO |
| 34 | + int "S2LP initialization priority" |
| 35 | + default 80 |
| 36 | + help |
| 37 | + Set the initialization priority number. Do not mess with it unless |
| 38 | + you know what you are doing. |
| 39 | + |
| 40 | +config IEEE802154_S2LP_SNIFF_MODE |
| 41 | + bool "Enables SNIFF Mode feature" |
| 42 | + help |
| 43 | + If enabled the driver will utilize the radio's SNIFF Mode feature. |
| 44 | + |
| 45 | +config IEEE802154_S2LP_FREQUENCY_BASE |
| 46 | + int "S2LP frequency base in Hz" |
| 47 | + default 868000000 |
| 48 | + help |
| 49 | + The frequency base that will be used for the computation of the |
| 50 | + operational frequency. |
| 51 | + |
| 52 | +config IEEE802154_S2LP_MAX_FREQUENCY |
| 53 | + int "S2LP maximum supported frequency in Hz" |
| 54 | + default 930000000 |
| 55 | + |
| 56 | +config IEEE802154_S2LP_CHANNEL_SPACE |
| 57 | + int "S2LP frequency spacing in Hz" |
| 58 | + default 100000 |
| 59 | + help |
| 60 | + The frequency spacing that will be used for the computation of the |
| 61 | + operational frequency. |
| 62 | + |
| 63 | +endif |
0 commit comments