Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twt callbacks #1

Closed
wants to merge 14 commits into from
Closed

Twt callbacks #1

wants to merge 14 commits into from

Conversation

chiranjeevi2776
Copy link
Owner

updated with twt call back events.

chiranjeevi2776 and others added 13 commits September 5, 2023 18:57
Cherry pick commit 622d6fb ("samples:
wifi: sta: Remove unused macro") from STA sample to TWT sample as they
have the same base code.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Cherry pick commit 845c6fd ("samples:
wifi: sta: Rejig connection timeout handling").

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
The return values for failures should be negative as per conventions.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
For now we just return failure, in the future we can add retries.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
As we only return 1/0 use boolean as a the return type.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
When using nRF70 Wi-Fi driver, the stack depth is higher, so, without
the separate TC thread the net TCP layer workqueue stack overflows.

Fix this by always using the TC thread, this was the default but missed
synchornizing with newly added samples.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This module can be used to send traffic by establishing a control
connection based on TCP and then sending data traffic either TCP or UDP
and printing results at the end (both client and server).

This gives us explicit control over sending traffic rather than using
tools like Zperf, the primary user for this will be TWT sample, so, its
under the sample, but if we find more users then this can be moved to a
library.

For now only TCP data traffic support is added as its the primary
usecase.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Use tab expansion of 4 spaces.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Using the newly added traffic gen module, trigger TCP traffic after
establishing the TWT flow.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
With traffic gen enabled, need optimized network buffers to get decent
performance.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
This is a python script that implements traffic generator server to test
nRF70 series Wi-Fi chipsets.

Formatted usign black with max-line-length=100 and ran flake8 linter.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
These modes have interopeability issues with most AP's, so, disable them
to get traffic with TWT with most of the APs.

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
Pull fix to handle quotes in extra arguments, this is needed to pass IP
address to TWT sample.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Registered TWT call backs with SLEEP and AWAKE events

Traffic will send only in awake window

Signed-off-by: Chiranjeevi Srikakulapu <chiranjeevi.srikakulapu@nordicsemi.no>
@krish2718
Copy link
Collaborator

old and stale.

@krish2718 krish2718 closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants