History log of /wlan-dirver/utils/sigma-dut/nan.c (Results 1 – 25 of 59)
Revision Date Author Comments
# 55854697 08-May-2020 Sunil Dutt <usdutt@codeaurora.org>

Also enable the NAN_AWARE_IFACE to send NAN_DEBUG_COMMAND command

NAN_DEBUG_COMMAND is sent on the same interface as that of the
all other NAN commands, but is triggered before the NAN_ENABLE
is tri

Also enable the NAN_AWARE_IFACE to send NAN_DEBUG_COMMAND command

NAN_DEBUG_COMMAND is sent on the same interface as that of the
all other NAN commands, but is triggered before the NAN_ENABLE
is triggered. Hence, also enable the NAN_AWARE_IFACE before this
command is triggered, which otherwise was getting enabled only
during NAN_ENABLE.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# b3912a4d 07-May-2020 Amarnath Hullur Subramanyam <amarnath@codeaurora.org>

NAN: Fix the debug command data for NAN_TEST_MODE_CMD_TRANSPORT_IP_PARAM

The debug command data for NAN_TEST_MODE_CMD_TRANSPORT_IP_PARAM is
being overwritten with the structure data of NdpIpTransPar

NAN: Fix the debug command data for NAN_TEST_MODE_CMD_TRANSPORT_IP_PARAM

The debug command data for NAN_TEST_MODE_CMD_TRANSPORT_IP_PARAM is
being overwritten with the structure data of NdpIpTransParams which
is incorrect, rather it should be passed in TLV format.

As part of commit 47d709ba866a ("NAN: Send IPv6 address, port and
protocol in TLV format"), the debug command data was constructed in TLV
format. However, there is an issue that before calling the
nan_debug_command_config(), the data is overwritten with the structure
data of NdpIPTansParam. This commit addresses that issue to update with
the correct TLV data.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# c2ae961e 27-Feb-2020 Ajit Vaishya <ajitv@codeaurora.org>

Use a separate interface for NAN operations

This commit enhances the NAN behavior to use a separate interface
for the NAN discovery operations if such an interface is found.

This separate interface

Use a separate interface for NAN operations

This commit enhances the NAN behavior to use a separate interface
for the NAN discovery operations if such an interface is found.

This separate interface is expected to get created by the host driver
and the NAN operations use this interface if it exists. Otherwise, there
is a fallback to the "wlan0" interface to be backward compatible to the
implementations using it.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 47d709ba 05-Jun-2019 Peng Xu <pxu@codeaurora.org>

NAN: Send IPv6 address, port and protocol in TLV format

For TCP/IP over NAN feature, when passing IPv6 address, port number
and protocol in NAN messages, store them in TLV format instead of
explicit

NAN: Send IPv6 address, port and protocol in TLV format

For TCP/IP over NAN feature, when passing IPv6 address, port number
and protocol in NAN messages, store them in TLV format instead of
explicitly pass the values. This is due to the interface change
between Android framework and wifi-hal.

Sending test mode command to disable IPv6 address is removed
as IPv6 address is stored in app_info, where zero length of app_info
indicates that IPv6 is disabled in testbed mode.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 2dfb1dae 14-Jun-2019 Vinay Gannevaram <vganneva@codeaurora.org>

Add more general function to initialize wifi hal

wifi hal is required as presetting for programs like NAN, FTM, etc. Move
the relevant initialization functionality from nan.c to a more generic
locat

Add more general function to initialize wifi hal

wifi hal is required as presetting for programs like NAN, FTM, etc. Move
the relevant initialization functionality from nan.c to a more generic
location to facilitate the programs that communicate with wifi driver
through wifi hal. In addition, move global variables of wifi hal utility
to sigma_dut context.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 093569ff 13-Nov-2018 Alexei Avshalom Lazar <ailizaro@codeaurora.org>

Update channel_to_freq() for detecting 60G mode

struct sigma_dut argument is needed here so that the function can detect
if 60G mode is used since channels 1-4 exist in Wi-Fi with different
frequenc

Update channel_to_freq() for detecting 60G mode

struct sigma_dut argument is needed here so that the function can detect
if 60G mode is used since channels 1-4 exist in Wi-Fi with different
frequencies.

Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>

show more ...


# 7be50b16 11-Oct-2018 Peng Xu <pxu@codeaurora.org>

NAN: Add compilation flag for NAN R3 changes

NAN R3 changes also depend on changes in wifihal library. Check
compilation flag NAN_CERT_VERSION to ensure there is no compilation
error if wifihal chan

NAN: Add compilation flag for NAN R3 changes

NAN R3 changes also depend on changes in wifihal library. Check
compilation flag NAN_CERT_VERSION to ensure there is no compilation
error if wifihal changes are not present.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 78a3cbd1 27-Jul-2018 Peng Xu <pxu@codeaurora.org>

NAN: Use proper IPv6 address for setting up routing table

When setting up IP routing table during processing NAN data
path confirm indication message, when IPv6 address presents
in the event message

NAN: Use proper IPv6 address for setting up routing table

When setting up IP routing table during processing NAN data
path confirm indication message, when IPv6 address presents
in the event message, use it instead of using the peer MAC
address to generate IPv6 link local address in the IP
neighbor replace command.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 7b1b9e14 19-Jul-2018 Peng Xu <pxu@codeaurora.org>

NAN: Handle implicit IPv6 in test bed mode

In test bed mode, IPv6 link local TLV may not present in data
request message, inform FW to not to include IPv6 link local in
NDPE attribute in such case.

NAN: Handle implicit IPv6 in test bed mode

In test bed mode, IPv6 link local TLV may not present in data
request message, inform FW to not to include IPv6 link local in
NDPE attribute in such case.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 2486bbee 19-Jul-2018 Peng Xu <pxu@codeaurora.org>

NAN: Enable/Disable NDP attribute

Add support for handling disable or enable NDP attribute
in data request and response messages.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>


# b0c682ce 27-Jun-2018 Peng Xu <pxu@codeaurora.org>

NAN: Support TCP/IP over NAN in data request and response message

Add handling NDPE attribute, IPV6 address, transport protocol, and
transport port number in NAN data request and response messages t

NAN: Support TCP/IP over NAN in data request and response message

Add handling NDPE attribute, IPV6 address, transport protocol, and
transport port number in NAN data request and response messages to
support the TCP/IP over NAN functionality.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 57d7ead9 06-Aug-2018 Peng Xu <pxu@codeaurora.org>

sta_preset_testparameters: Add preset parameter for TCP/IP over NAN

Add preset parameters NDPE and transport protocol type for TCP/IP
over NAN functionality.

Signed-off-by: Jouni Malinen <jouni@cod

sta_preset_testparameters: Add preset parameter for TCP/IP over NAN

Add preset parameters NDPE and transport protocol type for TCP/IP
over NAN functionality.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 8863ec7c 06-Aug-2018 Peng Xu <pxu@codeaurora.org>

NAN: Support TCP/IP over NAN in enable and publish commands

This allows NAN to enable TCP/IP functionality by setting NDPE attribute
and configuring IPv6 address, transport protocol, and transport p

NAN: Support TCP/IP over NAN in enable and publish commands

This allows NAN to enable TCP/IP functionality by setting NDPE attribute
and configuring IPv6 address, transport protocol, and transport port
number in NAN enable and publish message.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 2052daa2 31-Aug-2018 Anurag Das <anurdas@codeaurora.org>

Implement dev_ble_action

dev_ble_action aims to interface sigma_dut with the BLE stack. This
commit implements this interface by having sigma_dut interact with a BLE
application. Also, this commit a

Implement dev_ble_action

dev_ble_action aims to interface sigma_dut with the BLE stack. This
commit implements this interface by having sigma_dut interact with a BLE
application. Also, this commit aims to enable NAN service discovery on
top of a successful BLE scan. Currently, this is implemented only for
Android platforms by having the NAN + BLE activity registered with
org.codeaurora.nanservicediscovery.MainActivity. sigma_dut invokes this
activity with the respective parameters.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>

show more ...


# 3ccdf482 16-May-2018 vamsi krishna <vamsi_krishna@codeaurora.org>

NAN: Remove unused parameter fetch

This gets rid of unused-variable and unused-const-variable warnings.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>


# 6734e239 04-Oct-2017 Peng Xu <pxu@qti.qualcomm.com>

NAN: Replace banned function sprintf() with snprintf()

While this location did actually do bounds checking, avoid warnings from
static analyzers that are unhappy about use of sprintf().

Signed-off-

NAN: Replace banned function sprintf() with snprintf()

While this location did actually do bounds checking, avoid warnings from
static analyzers that are unhappy about use of sprintf().

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# bcf9ef3e 16-Aug-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Cleanup NAN data interface on nanop off

Failure to delete NDI on nanop off was leading to many stale parameters
being used for the next NDI session.

Fix by deleting NDI on nanop off, helps cle

NAN: Cleanup NAN data interface on nanop off

Failure to delete NDI on nanop off was leading to many stale parameters
being used for the next NDI session.

Fix by deleting NDI on nanop off, helps clear all the parameters from
the preceding NDI session.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# fa417337 16-Aug-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Fix incorrect requestor instance/publish subscribe id

Requestor instance id and publish subscribe id are being incorrectly
copied as part of NAN discovery event follow up, update the local
inst

NAN: Fix incorrect requestor instance/publish subscribe id

Requestor instance id and publish subscribe id are being incorrectly
copied as part of NAN discovery event follow up, update the local
instance id as part of NAN publish replied indication. Also, use already
existing requestor instance id and publish subscribe id in transmit
follow up.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# 3834be5b 16-Aug-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Fix to make NAN ranging subscribe request passive

Sending active req does not give chance for other NAN frames
to go out over the air in time.

Fix by changing the NAN ranging request subscribe

NAN: Fix to make NAN ranging subscribe request passive

Sending active req does not give chance for other NAN frames
to go out over the air in time.

Fix by changing the NAN ranging request subscribe update to a
passive request as it is not required to send active subscribe
req frames as part of NAN ranging request.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# 74f4f992 16-Aug-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Fix to update subscribe id in subscribe followup

Subscribe id is not updated as part of subscribe follow up request,
which makes the follow up request to be sent out as new subscribe
request.

NAN: Fix to update subscribe id in subscribe followup

Subscribe id is not updated as part of subscribe follow up request,
which makes the follow up request to be sent out as new subscribe
request.

Fix the issue by updating the subscribe id from the earlier subscribe
request if the service name of subscribe request matches with the
current one.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# ff76d8cb 06-Jun-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Fix compilation issue for dw awake interval

Compilation fails for NAN_MAX_ALLOWED_DW_AWAKE_INTERVAL as
it is only defined in the latest NAN cert version.

Add a check to compile the dw awake in

NAN: Fix compilation issue for dw awake interval

Compilation fails for NAN_MAX_ALLOWED_DW_AWAKE_INTERVAL as
it is only defined in the latest NAN cert version.

Add a check to compile the dw awake interval only with the correct NAN
cert version.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# a3b5966c 16-May-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Add support to fetch NAN schedule update channel

Fetch the schedule update channel using the NAN sync stats command.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>


# b5604ff8 16-May-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Add support to configure the device type

Indicate the device type by sending a debug command.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>


# 8f8e74b5 16-May-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Add support to configure NAN link local address

In NAN data confirm, add functionality to convert peer MAC address to
IPv6 link local address and configure the IPv6 address using the system
com

NAN: Add support to configure NAN link local address

In NAN data confirm, add functionality to convert peer MAC address to
IPv6 link local address and configure the IPv6 address using the system
command.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

show more ...


# 395b0157 16-May-2017 Rakesh Sunki <rsunki@qti.qualcomm.com>

NAN: Fix issue in configuring a PMK

Add security key type before sending the publish and data request to
indicate that the key type is PMK.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>


123