2017-05-03 15:09:29 +08:00
|
|
|
# Kconfig - Atmel WINC1500 WiFi driver options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig WIFI_WINC1500
|
|
|
|
bool "WINC1500 driver support"
|
|
|
|
default n
|
|
|
|
select ATMEL_WINC1500
|
|
|
|
|
|
|
|
if WIFI_WINC1500
|
|
|
|
|
|
|
|
config WIFI_WINC1500_NAME
|
|
|
|
string "Driver name"
|
|
|
|
default "WINC1500"
|
|
|
|
|
|
|
|
config WIFI_WINC1500_SPI_DRV_NAME
|
|
|
|
string "SPI device where WINC1500 is connected"
|
|
|
|
default "SPI_1"
|
|
|
|
help
|
|
|
|
Specify the device name of the SPI device to which WINC1500 is
|
|
|
|
connected.
|
|
|
|
|
|
|
|
config WIFI_WINC1500_SPI_SLAVE
|
|
|
|
int "SPI Slave Select where WINC1500 is connected"
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
Specify the slave select pin of the SPI to which WINC1500 is
|
|
|
|
connected.
|
|
|
|
|
2017-11-02 21:31:38 +08:00
|
|
|
config WIFI_WIFI_WINC1500_SPI_FREQ
|
2017-05-03 15:09:29 +08:00
|
|
|
int "SPI frequency to use with WINC1500"
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
SPI frequency to use with WINC1500
|
|
|
|
|
2017-11-02 21:31:38 +08:00
|
|
|
config WIFI_WINC1500_THREAD_STACK_SIZE
|
|
|
|
int "HAL callback handler thread stack size"
|
|
|
|
default 2048
|
|
|
|
help
|
|
|
|
This option sets the size of the stack used by the thread handling
|
|
|
|
WINC1500 HAL callbacks. Do not touch it unless you know what you are
|
|
|
|
doing.
|
|
|
|
|
|
|
|
config WIFI_WINC1500_THREAD_PRIO
|
|
|
|
int "HAL callback handler thread priority"
|
|
|
|
default 2
|
|
|
|
help
|
|
|
|
This option sets the priority of the thread handling WINC1500 HAL
|
|
|
|
callbacks. Do not touch it unless you know what you are doing.
|
|
|
|
|
|
|
|
config WIFI_WINC1500_BUF_CTR
|
|
|
|
int "Number of buffer per-buffer pool"
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
Set the number of buffer the driver will have access to in each of
|
|
|
|
its buffer pools.
|
|
|
|
|
|
|
|
config WIFI_WINC1500_MAX_PACKET_SIZE
|
|
|
|
int "Maximum size of a packet, in bytes"
|
|
|
|
default 1500
|
|
|
|
help
|
|
|
|
Set the maximum size of a network packet going through the chip.
|
|
|
|
This sets the size of each buffer, in each buffe pools.
|
|
|
|
Do not modify it unless you know what you are doing.
|
|
|
|
|
|
|
|
config WIFI_WINC1500_OFFLOAD_MAX_SOCKETS
|
|
|
|
int "Maximum number of sockets that can be managed"
|
|
|
|
default 2
|
|
|
|
help
|
|
|
|
Set the number of sockets that can be managed through the driver
|
|
|
|
and the chip.
|
|
|
|
|
2017-05-03 15:09:29 +08:00
|
|
|
config WIFI_WINC1500_SSID
|
|
|
|
string "SSID the chip shall try to connect to"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Set the SSID you want the chip to connect to. Note: only WPA PSK
|
|
|
|
based AP is supported. Test purpose only, a full featured interface
|
|
|
|
will be used at some point for more flexible configuration.
|
|
|
|
|
|
|
|
config WIFI_WINC1500_SSID_LENGTH
|
|
|
|
int "Length of the SSID (do not count the \0)"
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
SSID length, without counting the terminal character '\0'
|
|
|
|
|
|
|
|
config WIFI_WINC1500_PSK
|
|
|
|
string "Pre-Shared Key (human readable)"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Set the PSK for the given SSID.
|
|
|
|
|
|
|
|
endif # WIFI_WINC1500
|